public interface IVizUpdateable
The IVizUpdateable interface provides a single update operation that may be used by implementers to receive an update based on a key-value pair. This is used by any class for receiving or posting updates.
Modifier and Type | Field and Description |
---|---|
static java.util.ArrayList<IVizUpdateableListener> |
iComponentListener |
Modifier and Type | Method and Description |
---|---|
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(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.
|
static final java.util.ArrayList<IVizUpdateableListener> iComponentListener
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.
updatedKey
- A unique key that describes the value that to be updated.
newValue
- The updated value of the key.
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.
listener
- The new listener that should be notified when the the Component's state changes.
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.
listener
- The listener that should no longer receive updates.