protected static class CheckBoxTree.Handler
extends java.lang.Object
implements java.awt.event.MouseListener, java.awt.event.KeyListener, javax.swing.event.TreeSelectionListener
限定符和类型 | 字段和说明 |
---|---|
protected CheckBoxTree |
_tree |
构造器和说明 |
---|
CheckBoxTree.Handler(CheckBoxTree tree) |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
clicksInCheckBox(java.awt.event.MouseEvent e,
javax.swing.tree.TreePath path) |
protected javax.swing.tree.TreePath |
getTreePathForMouseEvent(java.awt.event.MouseEvent e) |
void |
keyPressed(java.awt.event.KeyEvent e) |
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e) |
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
protected void |
toggleSelections() |
void |
valueChanged(javax.swing.event.TreeSelectionEvent e) |
protected CheckBoxTree _tree
public CheckBoxTree.Handler(CheckBoxTree tree)
protected javax.swing.tree.TreePath getTreePathForMouseEvent(java.awt.event.MouseEvent e)
protected boolean clicksInCheckBox(java.awt.event.MouseEvent e, javax.swing.tree.TreePath path)
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
在接口中 java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
在接口中 java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
在接口中 java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
在接口中 java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
在接口中 java.awt.event.MouseListener
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
在接口中 java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
在接口中 java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
在接口中 java.awt.event.KeyListener
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
valueChanged
在接口中 javax.swing.event.TreeSelectionListener
protected void toggleSelections()