net.sf.doolin.gui.display
Class AbstractSimpleDisplayStateHandler

java.lang.Object
  extended by net.sf.doolin.gui.display.AbstractDisplayStateHandler
      extended by net.sf.doolin.gui.display.AbstractSimpleDisplayStateHandler
All Implemented Interfaces:
DisplayStateHandler
Direct Known Subclasses:
SystemPropertyDisplayStateHandler

public abstract class AbstractSimpleDisplayStateHandler
extends AbstractDisplayStateHandler


Constructor Summary
AbstractSimpleDisplayStateHandler()
           
 
Method Summary
 DisplayState getDisplayState(ActionContext actionContext)
          Gets the current DisplayState for the given action context
 DisplayState getIfFalseState()
           
 DisplayState getIfTrueState()
           
protected abstract  boolean isActive(ActionContext actionContext)
           
 void setIfFalseState(DisplayState ifFalseState)
           
 void setIfTrueState(DisplayState ifTrueState)
           
 
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
 
Methods inherited from interface net.sf.doolin.gui.display.DisplayStateHandler
subscribe
 

Constructor Detail

AbstractSimpleDisplayStateHandler

public AbstractSimpleDisplayStateHandler()
Method Detail

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.