public class FilterTreeEvent
extends com.sun.jsftemplating.layout.event.EventObjectBase
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_TYPE
The "filterTree" event type.
|
source| Constructor and Description |
|---|
FilterTreeEvent(jakarta.faces.component.UIComponent component,
List childObjects)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List |
getChildObjects()
This method provides access to an array of Objects that are to
become child
TreeNodes. |
protected void |
setChildObjects(List objects)
This method is protected because it is only meaningful to set this
array during the creation of this event.
|
getSource, toStringpublic static final String EVENT_TYPE
The "filterTree" event type. ("filterTree")
public FilterTreeEvent(jakarta.faces.component.UIComponent component,
List childObjects)
Constructor.
component - The UIComponent associated with this
EventObject.public List getChildObjects()
This method provides access to an array of Objects that are to
become child TreeNodes. This allows you to manipluate
them (filter them) before they are processed. You may return a new
List from your handler that processes this event. Note that
you NOT set the child object array using this event.
protected void setChildObjects(List objects)
This method is protected because it is only meaningful to set this
array during the creation of this event. Setting it any other
time would not effect the original data structure and would serve
no purpose. To provide a different object array, return a new
Object[] from your handler that processes this
event.
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.