org.apache.myfaces.custom.tree.event
Class TreeSelectionEvent
java.lang.Object
   java.util.EventObject
java.util.EventObject
       javax.faces.event.FacesEvent
javax.faces.event.FacesEvent
           org.apache.myfaces.custom.tree.event.TreeSelectionEvent
org.apache.myfaces.custom.tree.event.TreeSelectionEvent
- All Implemented Interfaces: 
- Serializable
- public class TreeSelectionEvent 
- extends javax.faces.event.FacesEvent
Event fired by HtmlTree on selection changes.
- Version:
- $Revision: 472638 $ $Date: 2006-11-08 15:54:13 -0500 (Wed, 08 Nov 2006) $
- Author:
- Oliver Rossmueller
- See Also:
- Serialized Form
 
 
 
 
| Methods inherited from class javax.faces.event.FacesEvent | 
| getComponent, getPhaseId, queue, setPhaseId | 
 
 
 
TreeSelectionEvent
public TreeSelectionEvent(javax.faces.component.UIComponent uiComponent,
                          TreePath oldSelectionPath,
                          TreePath newSelectionPath)
- Construct an event.
 
- Parameters:
- uiComponent- event source
- oldSelectionPath- path of the old selection, null if no node was selected before
- newSelectionPath- path of the current selection
 
getOldSelectionPath
public TreePath getOldSelectionPath()
- Answer the path of the old selection.
 
- 
- Returns:
- path of previous (old) selection, null if no node was selected before
 
getNewSelectionPath
public TreePath getNewSelectionPath()
- Answer the path of the current (new) selection.
 
- 
- Returns:
- path of the new selected node
 
isAppropriateListener
public boolean isAppropriateListener(javax.faces.event.FacesListener faceslistener)
- 
- Specified by:
- isAppropriateListenerin class- javax.faces.event.FacesEvent
 
- 
 
processListener
public void processListener(javax.faces.event.FacesListener faceslistener)
- 
- Specified by:
- processListenerin class- javax.faces.event.FacesEvent
 
- 
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.