|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponentBaseBehaviorTestCase.TestBehavior
public static class UIComponentBaseBehaviorTestCase.TestBehavior
Constructor Summary | |
---|---|
UIComponentBaseBehaviorTestCase.TestBehavior()
|
Method Summary | |
---|---|
void |
broadcast(BehaviorEvent event)
Broadcast the specified
|
void |
decode(FacesContext context,
UIComponent component)
Decode any new state of this
|
boolean |
equals(java.lang.Object obj)
|
java.util.Set<ClientBehaviorHint> |
getHints()
Returns hints that describe the behavior of the ClientBehavior implementation. |
java.lang.String |
getRendererType()
|
java.lang.String |
getScript(ClientBehaviorContext bContext)
Return the script that implements this ClientBehavior's client-side logic. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UIComponentBaseBehaviorTestCase.TestBehavior()
Method Detail |
---|
public java.lang.String getRendererType()
public java.util.Set<ClientBehaviorHint> getHints()
ClientBehavior
Returns hints that describe the
behavior of the ClientBehavior implementation. The hints may
impact how Renderers behave in the presence of Behaviors. For
example, when a Behavior that specifies
ClientBehaviorHint.SUBMITTING
is present, the
Renderer may choose to alternate the scripts that it generates
itself.
getHints
in interface ClientBehavior
public void broadcast(BehaviorEvent event)
Behavior
Broadcast the specified
BehaviorEvent
to all registered
event listeners who have expressed an interest in events of this
type. Listeners are called in the order in which they were
added.
broadcast
in interface Behavior
event
- The BehaviorEvent
to be broadcastpublic void decode(FacesContext context, UIComponent component)
ClientBehavior
Decode any new state of this
ClientBehavior
from the
request contained in the specified FacesContext
.
During decoding, events may be enqueued for later processing
(by event listeners who have registered an interest), by calling
queueEvent()
. Default implementation delegates decoding
to ClientBehaviorRenderer.decode(FacesContext, UIComponent, ClientBehavior)
decode
in interface ClientBehavior
context
- FacesContext
for the request we are processingcomponent
- UIComponent
the component associated with this Behavior
public java.lang.String getScript(ClientBehaviorContext bContext)
ClientBehavior
Return the script that implements this ClientBehavior's client-side logic.
ClientBehavior.getScript() implementations are allowed to return null to indicate that no script is required for this particular getScript() call. For example, a ClientBehavior implementation may return null if the Behavior is disabled.
getScript
in interface ClientBehavior
bContext
- the ClientBehaviorContext
that provides
properties that might influence this getScript() call. Note that
ClientBehaviorContext instances are short-lived objects that are only
valid for the duration of the call to getScript(). ClientBehavior
implementations must not hold onto references to ClientBehaviorContexts.
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |