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 classAjaxBehaviors.BehaviorInfo -
Constructor Summary
Constructors Constructor Description AjaxBehaviors() -
Method Summary
Modifier and Type Method Description voidaddBehaviors(FacesContext context, ClientBehaviorHolder behaviorHolder)static AjaxBehaviorsgetAjaxBehaviors(FacesContext context, boolean createIfNull)voidpopBehavior()Pop the lastAjaxBehaviorinstance from theList.voidpushBehavior(FacesContext context, AjaxBehavior ajaxBehavior, String eventName)Push theAjaxBehaviorinstance onto theList.
-
Constructor Details
-
AjaxBehaviors
public AjaxBehaviors()
-
-
Method Details
-
getAjaxBehaviors
-
addBehaviors
-
pushBehavior
Push the
AjaxBehaviorinstance onto theList.- Parameters:
ajaxBehavior- theAjaxBehaviorinstanceeventName- the name of the event that the behavior is associated with.- Since:
- 2.0
-
popBehavior
public void popBehavior()Pop the last
AjaxBehaviorinstance from theList.- Since:
- 2.0
-