ch.tatool.core.display.swing.status
Interface StatusPanel

All Known Implementing Classes:
CorrectWrongStatusPanel, TextStatusPanel, TimerStatusPanel

public interface StatusPanel


Field Summary
static String PROPERTY_TITLE
           
static String PROPERTY_VALUE
           
static String STATUS_PANEL_LEVEL
           
static String STATUS_PANEL_OUTCOME
           
static String STATUS_PANEL_TIMER
           
static String STATUS_PANEL_TRIAL
           
 
Method Summary
 Object getProperty(String key)
          Get a property set on this info panel.
 JPanel getView()
          Get the view for this info panel.
 void reset()
          Reset the panel to its default state.
 void setEnabled(boolean enabled)
          Enable/disable this info panel.
 void setProperty(String key, Object value)
          Set a property of this info panel.
 

Field Detail

STATUS_PANEL_LEVEL

static final String STATUS_PANEL_LEVEL
See Also:
Constant Field Values

STATUS_PANEL_OUTCOME

static final String STATUS_PANEL_OUTCOME
See Also:
Constant Field Values

STATUS_PANEL_TIMER

static final String STATUS_PANEL_TIMER
See Also:
Constant Field Values

STATUS_PANEL_TRIAL

static final String STATUS_PANEL_TRIAL
See Also:
Constant Field Values

PROPERTY_TITLE

static final String PROPERTY_TITLE
See Also:
Constant Field Values

PROPERTY_VALUE

static final String PROPERTY_VALUE
See Also:
Constant Field Values
Method Detail

setEnabled

void setEnabled(boolean enabled)
Enable/disable this info panel. In case of disabled, the panel should go to a grayed out default state.


reset

void reset()
Reset the panel to its default state.


setProperty

void setProperty(String key,
                 Object value)
Set a property of this info panel.


getProperty

Object getProperty(String key)
Get a property set on this info panel.


getView

JPanel getView()
Get the view for this info panel.



Copyright © 2012. All Rights Reserved.