protected static class CheckBoxTree.Handler extends Object implements MouseListener, KeyListener, TreeSelectionListener
Modifier and Type | Field and Description |
---|---|
protected CheckBoxTree |
_tree |
Constructor and Description |
---|
Handler(CheckBoxTree tree) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
clicksInCheckBox(MouseEvent e,
TreePath path) |
protected TreePath |
getTreePathForMouseEvent(MouseEvent e) |
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() |
void |
valueChanged(TreeSelectionEvent e) |
protected CheckBoxTree _tree
public Handler(CheckBoxTree tree)
protected TreePath getTreePathForMouseEvent(MouseEvent e)
protected boolean clicksInCheckBox(MouseEvent e, TreePath 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()