oracle.adf.view.faces.event
Class AttributeChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.faces.event.FacesEvent
          extended byoracle.adf.view.faces.event.AttributeChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class AttributeChangeEvent
extends 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.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AttributeChangeEvent(UIComponent source, java.lang.String attribute, java.lang.Object oldValue, java.lang.Object newValue)
           
 
Method Summary
 java.lang.String getAttribute()
           
 java.lang.Object getNewValue()
           
 java.lang.Object getOldValue()
           
 boolean isAppropriateListener(FacesListener listener)
           
 void processListener(FacesListener listener)
           
 java.lang.String toString()
           
 
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
 

Constructor Detail

AttributeChangeEvent

public AttributeChangeEvent(UIComponent source,
                            java.lang.String attribute,
                            java.lang.Object oldValue,
                            java.lang.Object newValue)
Method Detail

getAttribute

public java.lang.String getAttribute()

getOldValue

public java.lang.Object getOldValue()

getNewValue

public java.lang.Object getNewValue()

processListener

public void processListener(FacesListener listener)

isAppropriateListener

public boolean isAppropriateListener(FacesListener listener)

toString

public java.lang.String toString()


Copyright © 2003-2007 Oracle Corporation. All Rights Reserved.