org.openorb.board.shared.treetable
public class Listener extends MouseInputAdapter implements TreeSelectionListener, TreeExpansionListener, TreeWillExpandListener, ListSelectionListener
Field Summary | |
---|---|
static int | TABLE_EVENT_ANY |
static int | TABLE_EVENT_LCLICK_1 |
static int | TABLE_EVENT_LCLICK_2 |
static int | TABLE_EVENT_RCLICK_1 |
static int | TABLE_EVENT_RCLICK_2 |
static int | TREE_EVENT_ANY |
static int | TREE_EVENT_COLLAPSE |
static int | TREE_EVENT_EXPAND |
static int | TREE_EVENT_LCLICK_2 |
static int | TREE_EVENT_RCLICK_1 |
static int | TREE_EVENT_RCLICK_2 |
static int | TREE_EVENT_SELECTION
Define the event type constants |
static int | TREE_EVENT_WILLCOLLAPSE |
static int | TREE_EVENT_WILLEXPAND |
Constructor Summary | |
---|---|
Listener(TreeTable2 treeTable)
Constructor |
Method Summary | |
---|---|
void | addCase(int nodeType, int eventType, DataNodeEventHandler listener) |
void | mouseClicked(MouseEvent evt)
MouseListener implementation |
void | removeCase(int nodeType) |
void | removeCase(int nodeType, int eventType) |
void | treeCollapsed(TreeExpansionEvent evt)
TreeExpansionListener implementation |
void | treeExpanded(TreeExpansionEvent evt)
TreeExpansionListener implementation |
void | treeWillCollapse(TreeExpansionEvent evt)
TreeWillExpandListener implementation |
void | treeWillExpand(TreeExpansionEvent evt)
TreeWillExpandListener implementation |
void | valueChanged(TreeSelectionEvent evt)
TreeSelectionListener implementation |
void | valueChanged(ListSelectionEvent evt)
ListSelectionListener implementation |