The ClientBehaviorHolder interface may be implemented by any concrete
jakarta.faces.component.UIComponent that wishes to support client behaviors as defined by
ClientBehavior.
| Modifier and Type | Method and Description |
|---|---|
| public void | addClientBehavior(String
the logical name of the client-side event to attach the behavior to. eventName, ClientBehavior the behavior)ClientBehavior instance to attach for the specified event name.
Attaches a |
| public Map | Returns: an unmodifiable map of client behaviors.
Returns a non-null, unmodifiable |
| public String | Returns: the default event name.
Returns the default event name for this |
| public Collection | Returns: an unmodifiable collection of event names.
Returns a non-null, unmodifiable |
| addClientBehavior | back to summary |
|---|---|
| public void addClientBehavior(String eventName, ClientBehavior behavior)
Attaches a
| |
| getClientBehaviors | back to summary |
|---|---|
| public Map
Returns a non-null, unmodifiable
| |
| getDefaultEventName | back to summary |
|---|---|
| public String getDefaultEventName()
Returns the default event name for this
| |
| getEventNames | back to summary |
|---|---|
| public Collection
Returns a non-null, unmodifiable
| |