javax.swing.event
Class TreeSelectionEvent
java.lang.Object
|
+--java.util.EventObject
|
+--javax.swing.event.TreeSelectionEvent
TreeSelectionEvent
Author:areNew
protected boolean[] areNew
areNew
newLeadSelectionPath
protected TreePath newLeadSelectionPath
newLeadSelectionPath
oldLeadSelectionPath
protected TreePath oldLeadSelectionPath
oldLeadSelectionPath
paths
protected TreePath[] paths
paths
TreeSelectionEvent
public TreeSelectionEvent(java.lang.Object source, javax.swing.tree.TreePath paths, boolean[] areNew, javax.swing.tree.TreePath oldLeadSelectionPath, javax.swing.tree.TreePath newLeadSelectionPath)
Constructor TreeSelectionEvent
Parameters:
TreeSelectionEvent
public TreeSelectionEvent(java.lang.Object source, javax.swing.tree.TreePath path, boolean isNew, javax.swing.tree.TreePath oldLeadSelectionPath, javax.swing.tree.TreePath newLeadSelectionPath)
Constructor TreeSelectionEvent
Parameters:
cloneWithSource
public Object cloneWithSource(java.lang.Object source)
cloneWithSource
Parameters:
getNewLeadSelectionPath
public TreePath getNewLeadSelectionPath()
getNewLeadSelectionPath
getOldLeadSelectionPath
public TreePath getOldLeadSelectionPath()
getOldLeadSelectionPath
getPath
public TreePath getPath()
getPath
getPaths
public TreePath[] getPaths()
getPaths
isAddedPath
public boolean isAddedPath()
isAddedPath
isAddedPath
public boolean isAddedPath(int index)
isAddedPath
Parameters:
isAddedPath
public boolean isAddedPath(javax.swing.tree.TreePath path)
isAddedPath
Parameters: