public abstract class IlpAbstractGraphSelectionModel extends Object implements IlpGraphSelectionModel
IlpGraphSelectionModel
interface that handles notification to listeners of the model.IlpAbstractEquipmentSelectionModel
,
IlpAbstractNetworkSelectionModel
Modifier and Type | Field and Description |
---|---|
protected ilog.cpl.graph.internal.IlpGraphSelectionModelHelper |
helper
Helper that implements IlpGraphSelectionModel methods.
|
Constructor and Description |
---|
IlpAbstractGraphSelectionModel()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addSelectionListener(EventListener listener)
Adds a listener that is notified each time a change to this model occurs.
|
void |
fireGraphSelectionEvent(GraphSelectionEvent event)
Notifies the listeners of a selection model event.
|
IlpRepresentationObjectMapper |
getRepresentationObjectMapper()
Returns the
IlpRepresentationObjectMapper used
to find the IlpRepresentationObject associated
with an IlpObject . |
protected void |
removeSelectionListener(EventListener listener)
Removes a listener previously added with
addSelectionListener . |
void |
setRepresentationObjectMapper(IlpRepresentationObjectMapper repObjMapper)
Sets the
IlpRepresentationObjectMapper which will
be used to find the IlpRepresentationObject
associated with an IlpObject . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSelectionRepresentationObject, clearSelection, getSelectedRepresentationObject, getSelectedRepresentationObjects, isRepresentationObjectSelected, removeSelectionRepresentationObject, removeSelectionRepresentationObjects, setSelectedRepresentationObject, setSelectedRepresentationObjects
addSelectionObject, clearSelection, getSelectedObject, getSelectedObjects, isObjectSelected, removeSelectionObject, setSelectedObject, setSelectedObjects
protected ilog.cpl.graph.internal.IlpGraphSelectionModelHelper helper
public IlpAbstractGraphSelectionModel()
public IlpRepresentationObjectMapper getRepresentationObjectMapper()
IlpRepresentationObjectMapper
used
to find the IlpRepresentationObject
associated
with an IlpObject
.getRepresentationObjectMapper
in interface IlpGraphSelectionModel
null
.public void setRepresentationObjectMapper(IlpRepresentationObjectMapper repObjMapper)
IlpRepresentationObjectMapper
which will
be used to find the IlpRepresentationObject
associated with an IlpObject
.setRepresentationObjectMapper
in interface IlpGraphSelectionModel
repObjMapper
- The representation object mapper to be used. If
this parameter is null
, the
IlpObject
selection API has no effect.public void fireGraphSelectionEvent(GraphSelectionEvent event)
protected void addSelectionListener(EventListener listener)
protected void removeSelectionListener(EventListener listener)
addSelectionListener
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.