public interface IlpRepresentationNode extends IlpRepresentationObject
This class is used by the network model and the equipment model.
IlpGraphModel
VALUE_NOT_SET
Modifier and Type | Method and Description |
---|---|
void |
addRepresentationNodeListener(RepresentationNodeListener listener)
Adds a listener that is notified each time a change to this container occurs.
|
boolean |
getAllowsChildren()
Returns
true if this node allows children. |
List<IlpRepresentationNode> |
getChildren()
Returns a list of the child objects of this object.
|
IlpExpansionStrategy |
getExpansionStrategy()
Returns the child object loader that was passed to this object at
construction time.
|
IlpRepresentationNode |
getParent()
Returns the parent object of this object.
|
boolean |
isLeaf()
Returns
true if this object, by its nature, has no children. |
void |
removeRepresentationNodeListener(RepresentationNodeListener listener)
Removes a listener previously added with
addRepresentationNodeListener(ilog.cpl.model.container.RepresentationNodeListener) . |
getEditor, getIlpObject
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValue
boolean isLeaf()
true
if this object, by its nature, has no children.
When this method returns false
, there may or may not be some
children attached to the object; children can be added or removed
dynamically.
Note: The result of this method must not change while
this node is (directly or indirectly) accessible in an
IlpGraphModel
.
List<IlpRepresentationNode> getChildren()
Note: The order of this list is important as follows:
RepresentationNodeEvent
events, which indicate the
children added (after addition) or removed (before removal).
IlpRepresentationNode
void addRepresentationNodeListener(RepresentationNodeListener listener)
void removeRepresentationNodeListener(RepresentationNodeListener listener)
addRepresentationNodeListener(ilog.cpl.model.container.RepresentationNodeListener)
.IlpRepresentationNode getParent()
Note: The result of this method must not change while
this node is (directly or indirectly) accessible in an
IlpGraphModel
.
boolean getAllowsChildren()
true
if this node allows children.IlpExpansionStrategy getExpansionStrategy()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.