org.openorb.board.shared

Class TreeTableListener

public class TreeTableListener extends MouseInputAdapter implements TreeSelectionListener, TreeExpansionListener, TreeWillExpandListener, ListSelectionListener

OpenORB GUI Components / Tree Table Component Listener

Author: Olivier Modica

Field Summary
static intTABLE_EVENT_ALL
static intTABLE_EVENT_LCLICK_1
static intTABLE_EVENT_LCLICK_2
static intTABLE_EVENT_RCLICK_1
static intTABLE_EVENT_RCLICK_2
static intTABLE_EVENT_SELECTION
static intTREE_EVENT_ALL
static intTREE_EVENT_EXPANSION
static intTREE_EVENT_EXPANSION_COLLAPSE
static intTREE_EVENT_EXPANSION_EXPAND
static intTREE_EVENT_SELECTION
static intTREE_EVENT_WILLEXPAND
static intTREE_EVENT_WILLEXPAND_COLLAPSE
static intTREE_EVENT_WILLEXPAND_EXPAND
Constructor Summary
TreeTableListener(TreeTable treeTable)
Constructor
TreeTableListener(TreeTableComponent treeTable)
Constructor
Method Summary
voidaddCase(int nodeType, int eventType, TreeTableEventHandler listener)
voidmouseClicked(MouseEvent evt)
MouseListener implementation
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
voidvalueChanged(ListSelectionEvent evt)
ListSelectionListener implementation

Field Detail

TABLE_EVENT_ALL

public static final int TABLE_EVENT_ALL

TABLE_EVENT_LCLICK_1

public static final int TABLE_EVENT_LCLICK_1

TABLE_EVENT_LCLICK_2

public static final int TABLE_EVENT_LCLICK_2

TABLE_EVENT_RCLICK_1

public static final int TABLE_EVENT_RCLICK_1

TABLE_EVENT_RCLICK_2

public static final int TABLE_EVENT_RCLICK_2

TABLE_EVENT_SELECTION

public static final int TABLE_EVENT_SELECTION

TREE_EVENT_ALL

public static final int TREE_EVENT_ALL

TREE_EVENT_EXPANSION

public static final int TREE_EVENT_EXPANSION

TREE_EVENT_EXPANSION_COLLAPSE

public static final int TREE_EVENT_EXPANSION_COLLAPSE

TREE_EVENT_EXPANSION_EXPAND

public static final int TREE_EVENT_EXPANSION_EXPAND

TREE_EVENT_SELECTION

public static final int TREE_EVENT_SELECTION

TREE_EVENT_WILLEXPAND

public static final int TREE_EVENT_WILLEXPAND

TREE_EVENT_WILLEXPAND_COLLAPSE

public static final int TREE_EVENT_WILLEXPAND_COLLAPSE

TREE_EVENT_WILLEXPAND_EXPAND

public static final int TREE_EVENT_WILLEXPAND_EXPAND

Constructor Detail

TreeTableListener

public TreeTableListener(TreeTable treeTable)
Constructor

TreeTableListener

public TreeTableListener(TreeTableComponent treeTable)
Constructor

Method Detail

addCase

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

mouseClicked

public void mouseClicked(MouseEvent evt)
MouseListener implementation

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

valueChanged

public void valueChanged(ListSelectionEvent evt)
ListSelectionListener implementation