public abstract class BehaviorEvent extends FacesEvent
BehaviorEvent
is the event that can be generated from component
Behavior.
source| Constructor and Description |
|---|
BehaviorEvent(FacesContext facesContext,
UIComponent component,
Behavior behavior)
Construct a new event object from the Faces context, specified source component and behavior. |
BehaviorEvent(UIComponent component,
Behavior behavior)
Construct a new event object
from the specified source component and |
| Modifier and Type | Method and Description |
|---|---|
Behavior |
getBehavior()
Return the source |
getComponent, getFacesContext, getPhaseId, isAppropriateListener, processListener, queue, setPhaseIdgetSource, toStringpublic BehaviorEvent(UIComponent component, Behavior behavior)
Construct a new event object
from the specified source component and behavior.
component - Source UIComponent for this eventbehavior - Behavior that sent this eventIllegalArgumentException - if component or
behavior is nullpublic BehaviorEvent(FacesContext facesContext, UIComponent component, Behavior behavior)
Construct a new event object from the Faces context, specified source component and behavior.
facesContext - the Faces context.component - Source UIComponent for this eventbehavior - Behavior that sent this eventIllegalArgumentException - if component or
behavior is nullCopyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.