net.sf.doolin.gui.display
Class AlwaysEnabledDisplayStateHandler

java.lang.Object
  extended by net.sf.doolin.gui.display.AbstractDisplayStateHandler
      extended by net.sf.doolin.gui.display.AbstractFixedDisplayStateHandler
          extended by net.sf.doolin.gui.display.AlwaysEnabledDisplayStateHandler
All Implemented Interfaces:
DisplayStateHandler

public class AlwaysEnabledDisplayStateHandler
extends AbstractFixedDisplayStateHandler

Returns a state that is always DisplayState.ENABLED.

Author:
Damien Coraboeuf

Field Summary
static AlwaysEnabledDisplayStateHandler INSTANCE
          Instance
 
Constructor Summary
AlwaysEnabledDisplayStateHandler()
           
 
Method Summary
protected  DisplayState getState()
          Returns the fixed value
 
Methods inherited from class net.sf.doolin.gui.display.AbstractFixedDisplayStateHandler
getDisplayState, 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
 

Field Detail

INSTANCE

public static final AlwaysEnabledDisplayStateHandler INSTANCE
Instance

Constructor Detail

AlwaysEnabledDisplayStateHandler

public AlwaysEnabledDisplayStateHandler()
Method Detail

getState

protected DisplayState getState()
Description copied from class: AbstractFixedDisplayStateHandler
Returns the fixed value

Specified by:
getState in class AbstractFixedDisplayStateHandler
Returns:
Fixed state


Copyright © 2011. All Rights Reserved.