public abstract class IlpAbstractNetworkSelectionModel extends IlpAbstractGraphSelectionModel implements IlpNetworkSelectionModel
IlpNetworkSelectionModel
interface which handles notification to listeners of the model.
It does not, however, constrain the way the selection model operates.
It is therefore an abstract class. A concrete, fully implemented subclass
is the class IlpDefaultNetworkSelectionModel
.
helper
Constructor and Description |
---|
IlpAbstractNetworkSelectionModel()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addNetworkSelectionListener(NetworkSelectionListener listener)
Adds a listener that is notified each time a change to this model occurs.
|
void |
fireNetworkSelectionEvent(NetworkSelectionEvent event)
Notifies the listeners of a selection model event.
|
void |
removeNetworkSelectionListener(NetworkSelectionListener listener)
Removes a listener previously added with
addNetworkSelectionListener . |
addSelectionListener, fireGraphSelectionEvent, getRepresentationObjectMapper, removeSelectionListener, setRepresentationObjectMapper
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRepresentationObjectMapper, setRepresentationObjectMapper
addSelectionRepresentationObject, clearSelection, getSelectedRepresentationObject, getSelectedRepresentationObjects, isRepresentationObjectSelected, removeSelectionRepresentationObject, removeSelectionRepresentationObjects, setSelectedRepresentationObject, setSelectedRepresentationObjects
addSelectionObject, clearSelection, getSelectedObject, getSelectedObjects, isObjectSelected, removeSelectionObject, setSelectedObject, setSelectedObjects
public IlpAbstractNetworkSelectionModel()
public void fireNetworkSelectionEvent(NetworkSelectionEvent event)
public void addNetworkSelectionListener(NetworkSelectionListener listener)
addNetworkSelectionListener
in interface IlpNetworkSelectionModel
listener
- The listener to be added.public void removeNetworkSelectionListener(NetworkSelectionListener listener)
addNetworkSelectionListener
.removeNetworkSelectionListener
in interface IlpNetworkSelectionModel
listener
- The listener to be removed.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.