org.apache.myfaces.custom.tree.event
public class TreeSelectionEvent extends FacesEvent
Version: $Revision: 225368 $ $Date: 2005-07-26 20:14:51 +0200 (Tue, 26 Jul 2005) $
| Constructor Summary | |
|---|---|
| TreeSelectionEvent(UIComponent uiComponent, TreePath oldSelectionPath, TreePath newSelectionPath)
Construct an event.
| |
| Method Summary | |
|---|---|
| TreePath | getNewSelectionPath()
Answer the path of the current (new) selection.
|
| TreePath | getOldSelectionPath()
Answer the path of the old selection.
|
| boolean | isAppropriateListener(FacesListener faceslistener) |
| void | processListener(FacesListener faceslistener) |
Parameters: uiComponent event source oldSelectionPath path of the old selection, null if no node was selected before newSelectionPath path of the current selection
Returns: path of the new selected node
Returns: path of previous (old) selection, null if no node was selected before