|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.display.AbstractDisplayStateHandler
net.sf.doolin.gui.display.NotDisplayStateHandler
public class NotDisplayStateHandler
Inverts the display state given by another display state handler.
| Constructor Summary | |
|---|---|
NotDisplayStateHandler(DisplayStateHandler handler)
Constructor. |
|
NotDisplayStateHandler(DisplayStateHandler handler,
DisplayState notEnabledState)
Constructor. |
|
| Method Summary | |
|---|---|
DisplayState |
getDisplayState(ActionContext actionContext)
Gets the current DisplayState for the given action context |
void |
subscribe(ActionContext actionContext,
Runnable task)
Subscribes a task that is executed each time this display state handler changes its state. |
| Methods inherited from class net.sf.doolin.gui.display.AbstractDisplayStateHandler |
|---|
connect, connect |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotDisplayStateHandler(DisplayStateHandler handler)
handler - Handler to negate
public NotDisplayStateHandler(DisplayStateHandler handler,
DisplayState notEnabledState)
handler - Handler to negatenotEnabledState - State when not enabled| Method Detail |
|---|
public DisplayState getDisplayState(ActionContext actionContext)
DisplayStateHandlerDisplayState for the given action context
actionContext - Action context.
public void subscribe(ActionContext actionContext,
Runnable task)
DisplayStateHandler
actionContext - Action context for this display state handlertask - Task to run each time the state change
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||