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, setPhaseId
getSource
public String getAttribute()
public Object getOldValue()
public Object getNewValue()
public void processListener(javax.faces.event.FacesListener listener)
processListener
in class javax.faces.event.FacesEvent
public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
isAppropriateListener
in class javax.faces.event.FacesEvent
public String toString()
toString
in class EventObject
Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.