javax.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

public interface ClientBehaviorHolder

Since:
2.0

Method Summary
 void addClientBehavior(String eventName, ClientBehavior behavior)
           
 Map<String,List<ClientBehavior>> getClientBehaviors()
          Retruns an immutable Map of the attached ClientBehaviors for the component.
 String getDefaultEventName()
           
 Collection<String> getEventNames()
           
 

Method Detail

addClientBehavior

void addClientBehavior(String eventName,
                       ClientBehavior behavior)

getClientBehaviors

Map<String,List<ClientBehavior>> getClientBehaviors()
Retruns an immutable Map of the attached ClientBehaviors for the component. If no behavior is present this method return an empty Map (Collections.emptyMap()).

Returns:

getDefaultEventName

String getDefaultEventName()

getEventNames

Collection<String> getEventNames()


Copyright © 2014 The Apache Software Foundation. All rights reserved.