Oracle Data-aware Controls Reference

oracle.dacf.dataset
Class AttributeChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byoracle.dacf.dataset.AttributeChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class AttributeChangeEvent
extends java.util.EventObject

An AttributeChangeEvent is created when a change listener that implements the ChangeListener interface detects that the attribute's value is about to be changed.

Version:
SDK: since JDeveloper 2.0
See Also:
ChangeListener interface whenever an AttributeInfo's value is changed.

This event will be generated whenever a new value is successfully stored to an AttributeInfo via the ImmediateAccess.setValue() method., Serialized Form


Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AttributeChangeEvent(java.lang.Object source, java.lang.Object oldVal, java.lang.Object newVal)
          Public constructor.
 
Method Summary
 java.lang.Object getNewValue()
          Returns the value of this attribute after the change.
 java.lang.Object getOldValue()
          Returns the value of this attribute before the change.
 void setNewValue(java.lang.Object nuNewValue)
          Specifies the new value of this attribute.
 void setOldValue(java.lang.Object nuOldValue)
          Specifies the value for this attribute before the change.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeChangeEvent

public AttributeChangeEvent(java.lang.Object source,
                            java.lang.Object oldVal,
                            java.lang.Object newVal)
Public constructor.

Parameters:
source - the AttributeInfo generating the event.
oldVal - the old value of the attribute.
newVal - the new value of the attribute.
Method Detail

setOldValue

public void setOldValue(java.lang.Object nuOldValue)
Specifies the value for this attribute before the change.


getOldValue

public java.lang.Object getOldValue()
Returns the value of this attribute before the change.

Returns:
the value of this attribute before the change.

setNewValue

public void setNewValue(java.lang.Object nuNewValue)
Specifies the new value of this attribute.


getNewValue

public java.lang.Object getNewValue()
Returns the value of this attribute after the change.

Returns:
the value of this attribute after the change.

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.