de.jreality.ui.viewerapp
Class Navigator.SelectionEvent
java.lang.Object
java.util.EventObject
javax.swing.event.TreeSelectionEvent
de.jreality.ui.viewerapp.Navigator.SelectionEvent
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Navigator
public static class Navigator.SelectionEvent
- extends javax.swing.event.TreeSelectionEvent
- See Also:
- Serialized Form
Constructor Summary |
Navigator.SelectionEvent(java.lang.Object source,
javax.swing.tree.TreePath[] paths,
boolean[] areNew,
javax.swing.tree.TreePath oldLeadSelectionPath,
javax.swing.tree.TreePath newLeadSelectionPath)
calls TreeSelectionEvent(...) |
Method Summary |
Selection |
getSelection()
Converts the TreePath of the current selection into a Selection object. |
Methods inherited from class javax.swing.event.TreeSelectionEvent |
cloneWithSource, getNewLeadSelectionPath, getOldLeadSelectionPath, getPath, getPaths, isAddedPath, isAddedPath, isAddedPath |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Navigator.SelectionEvent
public Navigator.SelectionEvent(java.lang.Object source,
javax.swing.tree.TreePath[] paths,
boolean[] areNew,
javax.swing.tree.TreePath oldLeadSelectionPath,
javax.swing.tree.TreePath newLeadSelectionPath)
- calls TreeSelectionEvent(...)
getSelection
public Selection getSelection()
- Converts the TreePath of the current selection into a Selection object.
- Returns:
- the current selection