|
||||||||||
| 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.MultiDisplayStateHandler
net.sf.doolin.gui.display.OrDisplayStateHandler
public class OrDisplayStateHandler
Display state handler that operates a conjunction between several handlers. Conjuction rules are defined as follow:
HIDDEN, result is
HIDDEN
DISABLED, result is
DISABLED
ENABLED, result is ENABLED
| Constructor Summary | |
|---|---|
OrDisplayStateHandler()
Default constructor |
|
OrDisplayStateHandler(DisplayStateHandler... handlers)
Constructor from an array |
|
OrDisplayStateHandler(List<DisplayStateHandler> handlers)
Constructor from a list. |
|
| Method Summary | |
|---|---|
DisplayState |
getDisplayState(ActionContext actionContext)
Gets the current DisplayState for the given action context |
| Methods inherited from class net.sf.doolin.gui.display.MultiDisplayStateHandler |
|---|
getHandlers, setDisplayStateHandler, setHandlers, subscribe |
| 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 OrDisplayStateHandler()
public OrDisplayStateHandler(List<DisplayStateHandler> handlers)
handlers - List of handlerspublic OrDisplayStateHandler(DisplayStateHandler... handlers)
handlers - Array of handlers| Method Detail |
|---|
public DisplayState getDisplayState(ActionContext actionContext)
DisplayStateHandlerDisplayState for the given action context
actionContext - Action context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||