|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graph.IlpAbstractGraphSelectionModel
public abstract class IlpAbstractGraphSelectionModel
This class is an implementation of the IlpGraphSelectionModel
interface that handles notification to listeners of the model.
IlpAbstractEquipmentSelectionModel,
IlpAbstractNetworkSelectionModel| Field Summary | |
|---|---|
protected ilog.cpl.graph.internal.IlpGraphSelectionModelHelper |
helper
Helper that implements IlpGraphSelectionModel methods. |
| Constructor Summary | |
|---|---|
IlpAbstractGraphSelectionModel()
Default constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ilog.cpl.util.selection.IlpObjectSelectionModel |
|---|
addSelectionObject, clearSelection, getSelectedObject, getSelectedObjects, isObjectSelected, removeSelectionObject, setSelectedObject, setSelectedObjects |
| Field Detail |
|---|
protected ilog.cpl.graph.internal.IlpGraphSelectionModelHelper helper
| Constructor Detail |
|---|
public IlpAbstractGraphSelectionModel()
| Method Detail |
|---|
public IlpRepresentationObjectMapper getRepresentationObjectMapper()
IlpRepresentationObjectMapper used
to find the IlpRepresentationObject associated
with an IlpObject.
getRepresentationObjectMapper in interface IlpGraphSelectionModelnull.public void setRepresentationObjectMapper(IlpRepresentationObjectMapper repObjMapper)
IlpRepresentationObjectMapper which will
be used to find the IlpRepresentationObject
associated with an IlpObject.
setRepresentationObjectMapper in interface IlpGraphSelectionModelrepObjMapper - 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.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||