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, setPhaseId
getSource, toString
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 eventIllegalArgumentException
- 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 eventIllegalArgumentException
- if component
or
behavior
is null
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.