public interface GraphModelListener extends EventListener, AttributeValueListener
IlpGraphModel
.
Since an IlpGraphModel
potentially contains an
infinite number of objects, and to permit load-on-demand, a model listener
maintains a list of objects which it is interested in, called the
"observation scope".GraphModelEvent
Modifier and Type | Method and Description |
---|---|
void |
attributeValueChange(AttributeValueEvent event)
Invoked when the attribute of an object contained in the model changes.
|
void |
eventSeriesBegin()
Invoked before a series of events begins.
|
void |
eventSeriesEnd()
Invoked after a series of events has ended.
|
boolean |
isObserved(IlpRepresentationObject object)
Returns
true if the object is a member of this listener's
observation scope, in other words, if this listener is interested in
being notified about the object. |
boolean isObserved(IlpRepresentationObject object)
true
if the object is a member of this listener's
observation scope, in other words, if this listener is interested in
being notified about the object.
The IlpGraphModel
is not allowed to send an
event to this listener if the event is about an object that is not in
the observation scope.
void eventSeriesBegin()
void eventSeriesEnd()
void attributeValueChange(AttributeValueEvent event)
attributeValueChange
in interface AttributeValueListener
event
- An event of type AttributeValueEvent
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.