com.alee.extended.tree
Class CheckStateChange<E extends javax.swing.tree.DefaultMutableTreeNode>

java.lang.Object
  extended by com.alee.extended.tree.CheckStateChange<E>

public final class CheckStateChange<E extends javax.swing.tree.DefaultMutableTreeNode>
extends java.lang.Object

WebCheckBoxTree node state change information object.

Author:
Mikle Garin

Constructor Summary
CheckStateChange(E node, CheckState oldState, CheckState newState)
          Constructs new check state change information object.
 
Method Summary
 CheckState getNewState()
          Returns new node check state.
 E getNode()
          Returns node which state was changed.
 CheckState getOldState()
          Returns old node check state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckStateChange

public CheckStateChange(E node,
                        CheckState oldState,
                        CheckState newState)
Constructs new check state change information object.

Parameters:
node - node which state was changed
oldState - old node check state
newState - new node check state
Method Detail

getNode

public E getNode()
Returns node which state was changed.

Returns:
node which state was changed

getOldState

public CheckState getOldState()
Returns old node check state.

Returns:
old node check state

getNewState

public CheckState getNewState()
Returns new node check state.

Returns:
new node check state