public abstract class SwingDBObjectPropertyListener extends DBObjectPropertyListener
To listen to all changes on an object use SwingDBObjectListener
| Constructor and Description |
|---|
SwingDBObjectPropertyListener(java.lang.String... properties)
Constructs a new listener that will be notified of changes to the given properties.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
propertyChanged(DBObject obj, java.lang.String propertyName, java.beans.PropertyChangeEvent pce)
Called whenever a DBObjectChange event is intercepted that includes a change for one of the properties we are listening for.
|
protected abstract void |
updateUI(DBObject obj, java.lang.String propertyName, java.beans.PropertyChangeEvent pce)
This method is called with any information passed to
propertyChanged, but this method will be called on the event thread. |
objectUpdatedpublic SwingDBObjectPropertyListener(java.lang.String... properties)
properties - the properties to listen to, must not be nullprotected final void propertyChanged(DBObject obj, java.lang.String propertyName, java.beans.PropertyChangeEvent pce)
DBObjectPropertyListenerpropertyChanged in class DBObjectPropertyListenerobj - the object the property has changed onpropertyName - the name of the property that has changedpce - the details of the property changeprotected abstract void updateUI(DBObject obj, java.lang.String propertyName, java.beans.PropertyChangeEvent pce)
propertyChanged, but this method will be called on the event thread.obj - the object the change is onpropertyName - the property that has changedpce - the details of the property change