Package jakarta.faces.component.behavior
Interface ClientBehaviorHolder
- All Known Implementing Classes:
HtmlBody
,HtmlCommandButton
,HtmlCommandLink
,HtmlDataTable
,HtmlForm
,HtmlGraphicImage
,HtmlInputFile
,HtmlInputSecret
,HtmlInputText
,HtmlInputTextarea
,HtmlOutcomeTargetButton
,HtmlOutcomeTargetLink
,HtmlOutputLabel
,HtmlOutputLink
,HtmlPanelGrid
,HtmlPanelGroup
,HtmlSelectBooleanCheckbox
,HtmlSelectManyCheckbox
,HtmlSelectManyListbox
,HtmlSelectManyMenu
,HtmlSelectOneListbox
,HtmlSelectOneMenu
,HtmlSelectOneRadio
,UIWebsocket
public interface ClientBehaviorHolder
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addClientBehavior
(String eventName, ClientBehavior behavior) Retruns an immutableMap
of the attachedClientBehavior
s for the component.
-
Method Details
-
addClientBehavior
-
getClientBehaviors
Map<String,List<ClientBehavior>> getClientBehaviors()Retruns an immutableMap
of the attachedClientBehavior
s for the component. If no behavior is present this method return an empty Map (Collections.emptyMap()
).- Returns:
-
getDefaultEventName
String getDefaultEventName() -
getEventNames
Collection<String> getEventNames()
-