public class DoubleClickNavigator extends MouseAdapter
Constructor and Description |
---|
DoubleClickNavigator(JTree tree,
UIController uiController)
Creates a new double click navigator.
|
Modifier and Type | Method and Description |
---|---|
void |
mouseClicked(MouseEvent event)
Sets the cell of a double-clicked node as the application's active cell.
|
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
public DoubleClickNavigator(JTree tree, UIController uiController)
tree
- the tree to use when determining the node at a given locationuiController
- the user interface controllerpublic void mouseClicked(MouseEvent event)
mouseClicked
in interface MouseListener
mouseClicked
in class MouseAdapter
event
- the event that was fired