|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.swing.CheckBoxTree.Handler
protected static class CheckBoxTree.Handler
CheckBoxTree's mouse event handler, key event handler and tree selection event handler.
| Field Summary | |
|---|---|
protected CheckBoxTree |
_tree
|
| Constructor Summary | |
|---|---|
CheckBoxTree.Handler(CheckBoxTree tree)
The constructor. |
|
| Method Summary | |
|---|---|
protected boolean |
clicksInCheckBox(MouseEvent e,
TreePath path)
Checks if the mouse event happens for the tree path. |
protected TreePath |
getTreePathForMouseEvent(MouseEvent e)
Gets the tree path according to the mouse event. |
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
|
void |
keyTyped(KeyEvent e)
|
void |
mouseClicked(MouseEvent e)
|
void |
mouseEntered(MouseEvent e)
|
void |
mouseExited(MouseEvent e)
|
void |
mousePressed(MouseEvent e)
|
void |
mouseReleased(MouseEvent e)
|
protected void |
toggleSelections()
Toggles the selected paths' selection state. |
void |
valueChanged(TreeSelectionEvent e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CheckBoxTree _tree
| Constructor Detail |
|---|
public CheckBoxTree.Handler(CheckBoxTree tree)
tree - the CheckBoxTree| Method Detail |
|---|
protected TreePath getTreePathForMouseEvent(MouseEvent e)
e - the mouse event
protected boolean clicksInCheckBox(MouseEvent e,
TreePath path)
e - the mouse eventpath - the tree path
public void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerpublic void valueChanged(TreeSelectionEvent e)
valueChanged in interface TreeSelectionListenerprotected void toggleSelections()
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||