dsto.dfc.swing
Class UIPropertyListener
java.lang.Object
dsto.dfc.swing.UIPropertyListener
- All Implemented Interfaces:
- PropertyListener, EventListener
public class UIPropertyListener
- extends Object
- implements PropertyListener
A DataObject property listener adapter that re-routes property
change events that occur outside the UI thread into the UI thread
by using SwingUtilities.invokeLater ().
- Author:
- Matthew Phillips
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listener
protected PropertyListener listener
UIPropertyListener
public UIPropertyListener(Component control)
- Shortcut to create a listener for a component that is also the
property listener.
- Parameters:
control
- The control: must implement
PropertyListener
.
UIPropertyListener
public UIPropertyListener(PropertyListener listener)
- Create a new instance.
- Parameters:
listener
- The listener that will be called by this one,
guaranteed from the UI thread.
propertyValueChanged
public void propertyValueChanged(PropertyEvent e)
- Specified by:
propertyValueChanged
in interface PropertyListener
Copyright © 2008 Commonwealth of Australia