org.openorb.board.shared.board

Class BoardTreeListener

public class BoardTreeListener extends Object implements TreeSelectionListener, TreeExpansionListener, TreeWillExpandListener

Field Summary
static intEVENT_ALL
Define the event type constants
static intEVENT_EXPANSION
static intEVENT_EXPANSION_COLLAPSE
static intEVENT_EXPANSION_EXPAND
static intEVENT_SELECTION
static intEVENT_WILLEXPAND
static intEVENT_WILLEXPAND_COLLAPSE
static intEVENT_WILLEXPAND_EXPAND
Constructor Summary
BoardTreeListener()
Constructor
Method Summary
voidaddCase(int nodeType, int eventType, BoardEventHandler listener)
voidremoveCase(int nodeType)
voidremoveCase(int nodeType, int eventType)
voidtreeCollapsed(TreeExpansionEvent evt)
TreeExpansionListener implementation
voidtreeExpanded(TreeExpansionEvent evt)
TreeExpansionListener implementation
voidtreeWillCollapse(TreeExpansionEvent evt)
TreeWillExpandListener implementation
voidtreeWillExpand(TreeExpansionEvent evt)
TreeWillExpandListener implementation
voidvalueChanged(TreeSelectionEvent evt)
TreeSelectionListener implementation

Field Detail

EVENT_ALL

public static final int EVENT_ALL
Define the event type constants

EVENT_EXPANSION

public static final int EVENT_EXPANSION

EVENT_EXPANSION_COLLAPSE

public static final int EVENT_EXPANSION_COLLAPSE

EVENT_EXPANSION_EXPAND

public static final int EVENT_EXPANSION_EXPAND

EVENT_SELECTION

public static final int EVENT_SELECTION

EVENT_WILLEXPAND

public static final int EVENT_WILLEXPAND

EVENT_WILLEXPAND_COLLAPSE

public static final int EVENT_WILLEXPAND_COLLAPSE

EVENT_WILLEXPAND_EXPAND

public static final int EVENT_WILLEXPAND_EXPAND

Constructor Detail

BoardTreeListener

public BoardTreeListener()
Constructor

Method Detail

addCase

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

removeCase

public void removeCase(int nodeType)

removeCase

public void removeCase(int nodeType, int eventType)

treeCollapsed

public void treeCollapsed(TreeExpansionEvent evt)
TreeExpansionListener implementation

treeExpanded

public void treeExpanded(TreeExpansionEvent evt)
TreeExpansionListener implementation

treeWillCollapse

public void treeWillCollapse(TreeExpansionEvent evt)
TreeWillExpandListener implementation

treeWillExpand

public void treeWillExpand(TreeExpansionEvent evt)
TreeWillExpandListener implementation

valueChanged

public void valueChanged(TreeSelectionEvent evt)
TreeSelectionListener implementation