de.matthiasmann.twl
Class TreeTable.NodeState

java.lang.Object
  extended by de.matthiasmann.twl.utils.HashEntry<TreeTableNode,TreeTable.NodeState>
      extended by de.matthiasmann.twl.TreeTable.NodeState
All Implemented Interfaces:
BooleanModel, WithRunnableCallback
Enclosing class:
TreeTable

protected class TreeTable.NodeState
extends HashEntry<TreeTableNode,TreeTable.NodeState>
implements BooleanModel


Field Summary
 
Fields inherited from class de.matthiasmann.twl.utils.HashEntry
key
 
Constructor Summary
TreeTable.NodeState(TreeTableNode key, TreeTable.NodeState parent)
           
 
Method Summary
 void addCallback(java.lang.Runnable callback)
           
 boolean getValue()
           
 void removeCallback(java.lang.Runnable callback)
           
 void setValue(boolean value)
           
 
Methods inherited from class de.matthiasmann.twl.utils.HashEntry
get, insertEntry, maybeResizeTable, next, remove, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeTable.NodeState

public TreeTable.NodeState(TreeTableNode key,
                           TreeTable.NodeState parent)
Method Detail

addCallback

public void addCallback(java.lang.Runnable callback)
Specified by:
addCallback in interface WithRunnableCallback

removeCallback

public void removeCallback(java.lang.Runnable callback)
Specified by:
removeCallback in interface WithRunnableCallback

getValue

public boolean getValue()
Specified by:
getValue in interface BooleanModel

setValue

public void setValue(boolean value)
Specified by:
setValue in interface BooleanModel