public abstract class BehaviorEvent extends FacesEvent
BehaviorEvent is the event that can be generated from
component Behavior
.
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, setPhaseId
public 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 eventjava.lang.IllegalArgumentException
- if component
or behavior
is null
public 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 eventjava.lang.IllegalArgumentException
- if component
or behavior
is null