org.geotools.swing.control
Class ValueChangedEvent<T>

java.lang.Object
  extended by org.geotools.swing.control.ValueChangedEvent<T>

public class ValueChangedEvent<T>
extends java.lang.Object

An event published when the value of a control derived from JValueField changes.

Since:
2.6.1
Version:
$Id: ValueChangedEvent.java 34290 2009-10-30 12:36:40Z mbedward $
Author:
Michael Bedward
See Also:
JValueField, ValueChangedListener

Constructor Summary
ValueChangedEvent(java.awt.Component source, T newValue)
          Create a value changed event
 
Method Summary
 java.awt.Component getSource()
          Get the control that invoked this event
 T getValue()
          Get the updated value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueChangedEvent

public ValueChangedEvent(java.awt.Component source,
                         T newValue)
Create a value changed event

Parameters:
source - the control holding the value
newValue - the updated value
Method Detail

getSource

public java.awt.Component getSource()
Get the control that invoked this event

Returns:
the invoking control

getValue

public T getValue()
Get the updated value

Returns:
the updated value


Copyright © 1996-2010 Geotools. All Rights Reserved.