Package com.sun.faces.component.behavior
Class AjaxBehaviors
- java.lang.Object
-
- com.sun.faces.component.behavior.AjaxBehaviors
-
- All Implemented Interfaces:
Serializable
public class AjaxBehaviors extends Object implements Serializable
An instance of the class is used to manage
AjaxBehavior
instances.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AjaxBehaviors.BehaviorInfo
-
Constructor Summary
Constructors Constructor Description AjaxBehaviors()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBehaviors(FacesContext context, ClientBehaviorHolder behaviorHolder)
static AjaxBehaviors
getAjaxBehaviors(FacesContext context, boolean createIfNull)
void
popBehavior()
Pop the lastAjaxBehavior
instance from theList
.void
pushBehavior(FacesContext context, AjaxBehavior ajaxBehavior, String eventName)
Push theAjaxBehavior
instance onto theList
.
-
-
-
Method Detail
-
getAjaxBehaviors
public static AjaxBehaviors getAjaxBehaviors(FacesContext context, boolean createIfNull)
-
addBehaviors
public void addBehaviors(FacesContext context, ClientBehaviorHolder behaviorHolder)
-
pushBehavior
public void pushBehavior(FacesContext context, AjaxBehavior ajaxBehavior, String eventName)
Push the
AjaxBehavior
instance onto theList
.- Parameters:
context
- the faces contextajaxBehavior
- theAjaxBehavior
instanceeventName
- the name of the event that the behavior is associated with.- Since:
- 2.0
-
popBehavior
public void popBehavior()
Pop the last
AjaxBehavior
instance from theList
.- Since:
- 2.0
-
-