public interface IlpMutableGraphModel extends IlpGraphModel
IlpMutableGraphModel
is an extension of the
IlpGraphModel
interface. It has an API to modify the
set of objects it contains.
The model can be modified by:
IlpRepresentationNode
) and sending
RepresentationNodeEvent
s.
Modifier and Type | Method and Description |
---|---|
void |
addRootObject(IlpRepresentationObject object)
Adds a top-level object to the model.
|
void |
addRootObjects(Collection objects)
Adds several top-level objects to the model.
|
void |
clear()
Removes all objects from the model.
|
void |
removeRootObject(IlpRepresentationObject object)
Removes a top-level object from the model.
|
void |
removeRootObjects(Collection objects)
Removes several top-level objects from the model.
|
getChildren, getFrom, getParent, getRootObjects, getTo, isLeaf, isLink, isNode
void addRootObject(IlpRepresentationObject object)
void addRootObjects(Collection objects)
objects
- A collection of IlpRepresentationNode
.void removeRootObject(IlpRepresentationObject object)
void removeRootObjects(Collection objects)
objects
- A collection of IlpRepresentationNode
.void clear()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.