|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprojectviewer.vpt.VPTSelectionListener
public final class VPTSelectionListener
Listens to the project JTree and responds to file selections.
| Constructor Summary | |
|---|---|
VPTSelectionListener(ProjectViewer aViewer)
Create a new ProjectTreeSelectionListener |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VPTSelectionListener(ProjectViewer aViewer)
ProjectTreeSelectionListener
| Method Detail |
|---|
public 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||