ClientBehaviorBase is a
convenience base class that implements the default concrete behavior
of all methods defined by ClientBehavior.
Subclasses should either override getRendererType() to identify
the ClientBehaviorRenderer to delegate to, or they should override
getScript() to locally generate the desired Behavior
script, and decode().
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | decode(FacesContext
FacesContext for the request we are processingUIComponent the component associated with this ClientBehaviorImplements javax. Default implementation of of |
| public Set | Returns: an empty, unmodifiable set ofClientBehaviorHints.Implements javax. Default implementation of
|
| protected ClientBehaviorRenderer | getRenderer(FacesContext
FacesContext for the request we are processingConvenience method to return the
|
| public String | Returns: the default renderer type, which is null.Returns the renderer type of the
|
| public String | Returns: the script provided by the associated ClientBehaviorRenderer, or null if no ClientBehaviorRenderer is available.Implements javax. Default implementation of of |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| ClientBehaviorBase | back to summary |
|---|---|
| public ClientBehaviorBase() | |
| decode | back to summary |
|---|---|
| public void decode(FacesContext context, UIComponent component) Implements javax. Default implementation of of
| |
| getHints | back to summary |
|---|---|
| public Set Implements javax. Default implementation of
| |
| getRenderer | back to summary |
|---|---|
| protected ClientBehaviorRenderer getRenderer(FacesContext context) Convenience method to return the
| |
| getRendererType | back to summary |
|---|---|
| public String getRendererType() Returns the renderer type of the
| |
| getScript | back to summary |
|---|---|
| public String getScript(ClientBehaviorContext behaviorContext) Implements javax. Default implementation of of
| |