public class WrappedGlazedEventListenerTester extends java.lang.Object implements IVizUpdateable, IVizUpdateableListener
iComponentListener
component
Constructor and Description |
---|
WrappedGlazedEventListenerTester() |
Modifier and Type | Method and Description |
---|---|
void |
checkUpdates()
This operation performs the update test.
|
java.lang.Object |
clone() |
void |
register(IVizUpdateableListener listener)
This operation registers a listener that realizes the IUpdateableListener
interface with the IUpdateable so that it can receive notifications of
changes to the IUpdateable if they are published.
|
void |
unregister(IVizUpdateableListener listener)
This operation unregisters a listener that realizes the
IUpdateableListener interface with the IUpdateable so that it will no
longer receive notifications of changes to the IUpdateable if they are
published.
|
void |
update(IVizUpdateable component)
This operation sets some flags for the test when it receives the update
notification.
|
void |
update(java.lang.String updatedKey,
java.lang.String newValue)
This operation notifies a class that has implemented IUpdateable that the
value associated with the particular key has been updated.
|
public void checkUpdates()
public java.lang.Object clone()
clone
in class java.lang.Object
public void update(java.lang.String updatedKey, java.lang.String newValue)
IVizUpdateable
This operation notifies a class that has implemented IUpdateable that the value associated with the particular key has been updated.
update
in interface IVizUpdateable
updatedKey
- A unique key that describes the value that to be updated.
newValue
- The updated value of the key.
public void register(IVizUpdateableListener listener)
IVizUpdateable
This operation registers a listener that realizes the IUpdateableListener interface with the IUpdateable so that it can receive notifications of changes to the IUpdateable if they are published.
register
in interface IVizUpdateable
listener
- The new listener that should be notified when the the Component's state changes.
public void unregister(IVizUpdateableListener listener)
IVizUpdateable
This operation unregisters a listener that realizes the IUpdateableListener interface with the IUpdateable so that it will no longer receive notifications of changes to the IUpdateable if they are published.
unregister
in interface IVizUpdateable
listener
- The listener that should no longer receive updates.
public void update(IVizUpdateable component)
update
in interface IVizUpdateableListener
component
- The component that was updated in some way.