org.jdesktop.binding
Class ValueChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jdesktop.binding.ValueChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class ValueChangeEvent
extends java.util.EventObject

Event indicating the value of a named data field within a DataModel has changed.

Version:
1.0
Author:
Amy Fowler
See Also:
ValueChangeListener, DataModel, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ValueChangeEvent(DataModel source, java.lang.String fieldName)
          Instantiates a new value change event for the specified named field in the data model.
 
Method Summary
 java.lang.String getFieldName()
           
 
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

ValueChangeEvent

public ValueChangeEvent(DataModel source,
                        java.lang.String fieldName)
Instantiates a new value change event for the specified named field in the data model.

Parameters:
source - DataModel containing the changed data field
fieldName - String containing the name of the field that has changed
Method Detail

getFieldName

public java.lang.String getFieldName()
Returns:
String containing the name of the field that has changed


Copyright © 2005 Sun Microsystems All Rights Reserved.