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 SummaryModifier and TypeMethodDescriptionvoidaddClientBehavior(String eventName, ClientBehavior behavior) Retruns an immutableMapof the attachedClientBehaviors for the component.
- 
Method Details- 
addClientBehavior
- 
getClientBehaviorsMap<String,List<ClientBehavior>> getClientBehaviors()Retruns an immutableMapof the attachedClientBehaviors for the component. If no behavior is present this method return an empty Map (Collections.emptyMap()).- Returns:
 
- 
getDefaultEventNameString getDefaultEventName()
- 
getEventNamesCollection<String> getEventNames()
 
-