|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.AjaxBehaviors
public class AjaxBehaviors
An instance of the class is used to
manage AjaxBehavior
instances.
Field Summary | |
---|---|
static String |
AJAX_BEHAVIORS
|
Constructor Summary | |
---|---|
AjaxBehaviors()
|
Method Summary | |
---|---|
AjaxBehavior |
getBehaviorForEvent(String eventName)
Return the AjaxBehavior instance containing the event
that matches eventName . |
void |
popBehavior()
Pop the last AjaxBehavior instance
from the List . |
void |
pushBehavior(AjaxBehavior ajaxBehavior)
Push the AjaxBehavior into scope making it available
for subsequent calls to getBehaviorForEvent(java.lang.String) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String AJAX_BEHAVIORS
Constructor Detail |
---|
public AjaxBehaviors()
Method Detail |
---|
public AjaxBehavior getBehaviorForEvent(String eventName)
Return the AjaxBehavior
instance containing the event
that matches eventName
. Interrogate the
List
of AjaxBehavior
instances
starting at the end of the List
. Return null
if no matching AjaxBehavior
is available.
eventName
-
AjaxBehavior
that contains the event
matching eventName
.public void pushBehavior(AjaxBehavior ajaxBehavior)
Push the AjaxBehavior
into scope making it available
for subsequent calls to getBehaviorForEvent(java.lang.String)
.
ajaxBehavior
- the AjaxBehavior
instancepublic void popBehavior()
Pop the last AjaxBehavior
instance
from the List
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |