|
MDACC Biostatistics |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mdanderson.biostat.util.AbstractStateMonitor
AbstractStateMonitor - Responsible for enabling or disabling GUI components whenever application state changes.
Field Summary | |
protected Map |
active
Maps states to components |
protected Map |
components
Maps components to activity count |
protected List |
states
Currently active states |
Constructor Summary | |
AbstractStateMonitor()
Class constructor |
Method Summary | |
void |
activate(Component component,
Object state)
Returns the data that was checked |
void |
addState(Object state)
Adds a state to the list of monitored states and updates :TODO: , if it doesn't already exist |
void |
removeState(Object state)
Removes a state from the list of monitored states, :TODO: if it doesn't already exist |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected List states
protected Map active
protected Map components
Constructor Detail |
public AbstractStateMonitor()
Method Detail |
public void activate(Component component, Object state)
public void addState(Object state)
state
- object representing state informationpublic void removeState(Object state)
state
- object representing state information
|
MDACC Biostatistics |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |