public class AttributeChangeEvent
extends javax.faces.event.FacesEvent
Renderers a chance to inform a generic
UIXComponent that some portion of it's appearance
has been manipulated. For example, a "splitter" panel renderer
could indicate that the proportions of the splitter have changed.
AttributeChangeEvents are not delivered in response
to programmatic manipulation of a renderer-specific attribute.
They must be explicitly queued by a Renderer when
it detects that the user had manipulated the component. Developers
should not abuse this event as a one-size-fits-all generic
component event. When a generic component event changes - like
"value" or "disclosed", deliver a strongly-typed component event
such as ValueChangeEvent or DisclosureEvent.
source| Constructor and Description |
|---|
AttributeChangeEvent(javax.faces.component.UIComponent source,
String attribute,
Object oldValue,
Object newValue) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute() |
Object |
getNewValue() |
Object |
getOldValue() |
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener) |
void |
processListener(javax.faces.event.FacesListener listener) |
String |
toString() |
getComponent, getPhaseId, queue, setPhaseIdgetSourcepublic String getAttribute()
public Object getOldValue()
public Object getNewValue()
public void processListener(javax.faces.event.FacesListener listener)
processListener in class javax.faces.event.FacesEventpublic boolean isAppropriateListener(javax.faces.event.FacesListener listener)
isAppropriateListener in class javax.faces.event.FacesEventpublic String toString()
toString in class EventObjectCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.