net.sf.doolin.gui.display
Class AbstractSimpleDisplayStateHandler
java.lang.Object
net.sf.doolin.gui.display.AbstractDisplayStateHandler
net.sf.doolin.gui.display.AbstractSimpleDisplayStateHandler
- All Implemented Interfaces:
- DisplayStateHandler
- Direct Known Subclasses:
- SystemPropertyDisplayStateHandler
public abstract class AbstractSimpleDisplayStateHandler
- extends AbstractDisplayStateHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSimpleDisplayStateHandler
public AbstractSimpleDisplayStateHandler()
getDisplayState
public DisplayState getDisplayState(ActionContext actionContext)
- Description copied from interface:
DisplayStateHandler
- Gets the current
DisplayState for the given action context
- Parameters:
actionContext - Action context.
- Returns:
- Display state
getIfFalseState
public DisplayState getIfFalseState()
getIfTrueState
public DisplayState getIfTrueState()
isActive
protected abstract boolean isActive(ActionContext actionContext)
setIfFalseState
public void setIfFalseState(DisplayState ifFalseState)
setIfTrueState
public void setIfTrueState(DisplayState ifTrueState)
Copyright © 2011. All Rights Reserved.