public final class VPTSelectionListener
extends java.lang.Object
implements javax.swing.event.TreeSelectionListener, java.awt.event.MouseListener
| Constructor and Description |
|---|
VPTSelectionListener(ProjectViewer aViewer)
Create a new
ProjectTreeSelectionListener |
| Modifier and Type | Method and Description |
|---|---|
void |
mouseClicked(java.awt.event.MouseEvent evt)
Determines when the user clicks on the JTree.
|
void |
mouseEntered(java.awt.event.MouseEvent evt) |
void |
mouseExited(java.awt.event.MouseEvent evt) |
void |
mousePressed(java.awt.event.MouseEvent evt) |
void |
mouseReleased(java.awt.event.MouseEvent evt) |
void |
valueChanged(javax.swing.event.TreeSelectionEvent e)
Receive notification that the tree selection has changed.
|
public VPTSelectionListener(ProjectViewer aViewer)
ProjectTreeSelectionListenerpublic void mouseClicked(java.awt.event.MouseEvent evt)
mouseClicked in interface java.awt.event.MouseListenerevt - Description of Parameterpublic void mousePressed(java.awt.event.MouseEvent evt)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent evt)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent evt)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent evt)
mouseExited in interface java.awt.event.MouseListenerpublic void valueChanged(javax.swing.event.TreeSelectionEvent e)
Also, if added node is a project, and it's not loaded, load it. This allows easier keyboard navigation when using groups as the & tree root.
valueChanged in interface javax.swing.event.TreeSelectionListenere - The selection event.