|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 CheckBoxTreeMethod 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 MouseListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
public void keyTyped(KeyEvent e)
keyTyped
in interface KeyListener
public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
public void valueChanged(TreeSelectionEvent e)
valueChanged
in interface TreeSelectionListener
protected void toggleSelections()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |