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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddClientBehavior(String eventName, ClientBehavior behavior)Map<String,List<ClientBehavior>>getClientBehaviors()Retruns an immutableMapof the attachedClientBehaviors for the component.StringgetDefaultEventName()Collection<String>getEventNames()
-
-
-
Method Detail
-
addClientBehavior
void addClientBehavior(String eventName, ClientBehavior behavior)
-
getClientBehaviors
Map<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:
-
getDefaultEventName
String getDefaultEventName()
-
getEventNames
Collection<String> getEventNames()
-
-