This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.cocoon.forms.formmodel.tree
Class TreeSelectionEvent
java.lang.Object
   java.util.EventObject
java.util.EventObject
       org.apache.cocoon.forms.event.WidgetEvent
org.apache.cocoon.forms.event.WidgetEvent
           org.apache.cocoon.forms.formmodel.tree.TreeSelectionEvent
org.apache.cocoon.forms.formmodel.tree.TreeSelectionEvent
- All Implemented Interfaces: 
- Serializable
- public class TreeSelectionEvent 
- extends WidgetEvent
An event fired when the selection of a Tree changes.
- Version:
- $Id: TreeSelectionEvent.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- See Also:
- Serialized Form
 
 
 
 
 
 
 
TreeSelectionEvent
public TreeSelectionEvent(Tree source,
                          TreePath path,
                          boolean isNew)
TreeSelectionEvent
public TreeSelectionEvent(Tree source,
                          TreePath[] paths,
                          boolean[] areNew)
TreeSelectionEvent
public TreeSelectionEvent(Tree source,
                          TreePath[] paths,
                          boolean allNew)
getTree
public Tree getTree()
- 
 
getPath
public TreePath getPath()
- Get the first path element.
 
- 
 
isAddedPath
public boolean isAddedPath()
- Is the first path a new addition to the selection?
 
- 
 
getPaths
public TreePath[] getPaths()
- Get paths that have been added or removed from the selection.
 
- 
 
isAddedPath
public boolean isAddedPath(int index)
- Was the indexth path added to the selection?
 
- 
 
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.