org.openorb.board.shared.board
Class BoardTreeListener

java.lang.Object
  extended by org.openorb.board.shared.board.BoardTreeListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.TreeExpansionListener, javax.swing.event.TreeSelectionListener, javax.swing.event.TreeWillExpandListener

public class BoardTreeListener
extends java.lang.Object
implements javax.swing.event.TreeSelectionListener, javax.swing.event.TreeExpansionListener, javax.swing.event.TreeWillExpandListener


Field Summary
static int EVENT_ALL
          Define the event type constants
static int EVENT_EXPANSION
           
static int EVENT_EXPANSION_COLLAPSE
           
static int EVENT_EXPANSION_EXPAND
           
static int EVENT_SELECTION
           
static int EVENT_WILLEXPAND
           
static int EVENT_WILLEXPAND_COLLAPSE
           
static int EVENT_WILLEXPAND_EXPAND
           
 
Constructor Summary
BoardTreeListener()
          Constructor
 
Method Summary
 void addCase(int nodeType, int eventType, BoardEventHandler listener)
           
 void removeCase(int nodeType)
           
 void removeCase(int nodeType, int eventType)
           
 void treeCollapsed(javax.swing.event.TreeExpansionEvent evt)
          TreeExpansionListener implementation
 void treeExpanded(javax.swing.event.TreeExpansionEvent evt)
          TreeExpansionListener implementation
 void treeWillCollapse(javax.swing.event.TreeExpansionEvent evt)
          TreeWillExpandListener implementation
 void treeWillExpand(javax.swing.event.TreeExpansionEvent evt)
          TreeWillExpandListener implementation
 void valueChanged(javax.swing.event.TreeSelectionEvent evt)
          TreeSelectionListener implementation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_ALL

public static final int EVENT_ALL
Define the event type constants

See Also:
Constant Field Values

EVENT_SELECTION

public static final int EVENT_SELECTION
See Also:
Constant Field Values

EVENT_EXPANSION

public static final int EVENT_EXPANSION
See Also:
Constant Field Values

EVENT_EXPANSION_EXPAND

public static final int EVENT_EXPANSION_EXPAND
See Also:
Constant Field Values

EVENT_EXPANSION_COLLAPSE

public static final int EVENT_EXPANSION_COLLAPSE
See Also:
Constant Field Values

EVENT_WILLEXPAND

public static final int EVENT_WILLEXPAND
See Also:
Constant Field Values

EVENT_WILLEXPAND_EXPAND

public static final int EVENT_WILLEXPAND_EXPAND
See Also:
Constant Field Values

EVENT_WILLEXPAND_COLLAPSE

public static final int EVENT_WILLEXPAND_COLLAPSE
See Also:
Constant Field Values
Constructor Detail

BoardTreeListener

public BoardTreeListener()
Constructor

Method Detail

valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent evt)
TreeSelectionListener implementation

Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener

treeExpanded

public void treeExpanded(javax.swing.event.TreeExpansionEvent evt)
TreeExpansionListener implementation

Specified by:
treeExpanded in interface javax.swing.event.TreeExpansionListener

treeCollapsed

public void treeCollapsed(javax.swing.event.TreeExpansionEvent evt)
TreeExpansionListener implementation

Specified by:
treeCollapsed in interface javax.swing.event.TreeExpansionListener

treeWillExpand

public void treeWillExpand(javax.swing.event.TreeExpansionEvent evt)
TreeWillExpandListener implementation

Specified by:
treeWillExpand in interface javax.swing.event.TreeWillExpandListener

treeWillCollapse

public void treeWillCollapse(javax.swing.event.TreeExpansionEvent evt)
TreeWillExpandListener implementation

Specified by:
treeWillCollapse in interface javax.swing.event.TreeWillExpandListener

addCase

public void addCase(int nodeType,
                    int eventType,
                    BoardEventHandler listener)

removeCase

public void removeCase(int nodeType)

removeCase

public void removeCase(int nodeType,
                       int eventType)