swingwtx.swing.event
Class TreeSelectionEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byswingwtx.swing.event.TreeSelectionEvent
All Implemented Interfaces:
java.io.Serializable

public class TreeSelectionEvent
extends java.util.EventObject

See Also:
Serialized Form

Field Summary
protected  boolean[] areNew
           
protected  TreePath newLeadSelectionPath
           
protected  TreePath oldLeadSelectionPath
           
protected  TreePath[] paths
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TreeSelectionEvent(java.lang.Object source, TreePath[] paths, boolean[] areNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath)
           
TreeSelectionEvent(java.lang.Object source, TreePath path, boolean isNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath)
           
 
Method Summary
 TreePath getNewLeadSelectionPath()
           
 TreePath getOldLeadSelectionPath()
           
 TreePath getPath()
           
 TreePath[] getPaths()
           
 boolean isAddedPath()
           
 boolean isAddedPath(int index)
           
 boolean isAddedPath(TreePath path)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

paths

protected TreePath[] paths

areNew

protected boolean[] areNew

oldLeadSelectionPath

protected TreePath oldLeadSelectionPath

newLeadSelectionPath

protected TreePath newLeadSelectionPath
Constructor Detail

TreeSelectionEvent

public TreeSelectionEvent(java.lang.Object source,
                          TreePath[] paths,
                          boolean[] areNew,
                          TreePath oldLeadSelectionPath,
                          TreePath newLeadSelectionPath)

TreeSelectionEvent

public TreeSelectionEvent(java.lang.Object source,
                          TreePath path,
                          boolean isNew,
                          TreePath oldLeadSelectionPath,
                          TreePath newLeadSelectionPath)
Method Detail

getPaths

public TreePath[] getPaths()

getPath

public TreePath getPath()

isAddedPath

public boolean isAddedPath()

isAddedPath

public boolean isAddedPath(TreePath path)

isAddedPath

public boolean isAddedPath(int index)

getOldLeadSelectionPath

public TreePath getOldLeadSelectionPath()

getNewLeadSelectionPath

public TreePath getNewLeadSelectionPath()