Skip navigation links
org.apache.myfaces.trinidad.event
Class AttributeChangeEvent
java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
org.apache.myfaces.trinidad.event.AttributeChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
-
public class AttributeChangeEvent
- extends javax.faces.event.FacesEvent
Event delivered when a renderer-specific attribute has been changed as a result of user interaction. This event gives advanced 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.
- Version:
- $Name: $ ($Revision: adfrt/faces/adf-faces-api/src/main/java/oracle/adf/view/faces/event/AttributeChangeEvent.java#0 $) $Date: 10-nov-2005.19:08:59 $
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary |
AttributeChangeEvent(javax.faces.component.UIComponent source, java.lang.String attribute, java.lang.Object oldValue, java.lang.Object newValue)
|
| Methods inherited from class javax.faces.event.FacesEvent |
getComponent, getPhaseId, queue, setPhaseId |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AttributeChangeEvent
public AttributeChangeEvent(javax.faces.component.UIComponent source,
java.lang.String attribute,
java.lang.Object oldValue,
java.lang.Object newValue)
getAttribute
public java.lang.String getAttribute()
getOldValue
public java.lang.Object getOldValue()
getNewValue
public java.lang.Object getNewValue()
processListener
public void processListener(javax.faces.event.FacesListener listener)
-
- Specified by:
processListener in class javax.faces.event.FacesEvent
isAppropriateListener
public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
-
- Specified by:
isAppropriateListener in class javax.faces.event.FacesEvent
toString
public java.lang.String toString()
-
- Overrides:
toString in class java.util.EventObject
Skip navigation links
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.