public class TreeSelectionEvent
extends javax.faces.event.FacesEvent
HtmlTree on selection changes.| Constructor and Description |
|---|
TreeSelectionEvent(javax.faces.component.UIComponent uiComponent,
TreePath oldSelectionPath,
TreePath newSelectionPath)
Construct an event.
|
| Modifier and Type | Method and Description |
|---|---|
TreePath |
getNewSelectionPath()
Answer the path of the current (new) selection.
|
TreePath |
getOldSelectionPath()
Answer the path of the old selection.
|
boolean |
isAppropriateListener(javax.faces.event.FacesListener faceslistener) |
void |
processListener(javax.faces.event.FacesListener faceslistener) |
public TreeSelectionEvent(javax.faces.component.UIComponent uiComponent,
TreePath oldSelectionPath,
TreePath newSelectionPath)
uiComponent - event sourceoldSelectionPath - path of the old selection, null if no node was selected beforenewSelectionPath - path of the current selectionpublic TreePath getOldSelectionPath()
public TreePath getNewSelectionPath()
public boolean isAppropriateListener(javax.faces.event.FacesListener faceslistener)
isAppropriateListener in class javax.faces.event.FacesEventpublic void processListener(javax.faces.event.FacesListener faceslistener)
processListener in class javax.faces.event.FacesEvent