ilog.cpl.model.container
Interface IlpMutableRepresentationNode

All Superinterfaces:
IlpAttributeValueHolder, IlpRepresentationNode, IlpRepresentationObject
All Known Subinterfaces:
IlpMutableEquipmentLink, IlpMutableEquipmentNode, IlpMutableNetworkLink, IlpMutableNetworkNode, IlpMutableRepresentationLink
All Known Implementing Classes:
IlpAbstractRepresentationLink, IlpAbstractRepresentationNode, IlpDefaultEquipmentLink, IlpDefaultEquipmentNode, IlpDefaultNetworkLink, IlpDefaultNetworkNode

public interface IlpMutableRepresentationNode
extends IlpRepresentationNode

Mutable interface of objects that build up a container hierarchy. This class is used by the network model and the equipment model.

Since:
JTGO 3.0
See Also:
IlpGraphModel

Field Summary
 
Fields inherited from interface ilog.cpl.model.IlpAttributeValueHolder
VALUE_NOT_SET
 
Method Summary
 void addChild(IlpRepresentationNode child)
          Inserts a child
 void addChildren(IlpRepresentationNode[] children)
          Inserts a set of children.
 void addChildren(int[] indices, IlpRepresentationNode[] children)
          Inserts a set of children.
 void removeChild(IlpRepresentationNode child)
          Removes a child.
 void removeChildren(IlpRepresentationNode[] children)
          Removes a set of children.
 void removeChildren(int[] indices)
          Removes a set of children.
 void removeChildren(int[] indices, IlpRepresentationNode[] children)
          Removes a set of children.
 
Methods inherited from interface ilog.cpl.model.container.IlpRepresentationNode
addRepresentationNodeListener, getAllowsChildren, getChildren, getExpansionStrategy, getParent, isLeaf, removeRepresentationNodeListener
 
Methods inherited from interface ilog.cpl.model.IlpRepresentationObject
getEditor, getIlpObject
 
Methods inherited from interface ilog.cpl.model.IlpAttributeValueHolder
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValue
 

Method Detail

addChild

void addChild(IlpRepresentationNode child)
Inserts a child

Parameters:
child - The child to insert.

addChildren

void addChildren(int[] indices,
                 IlpRepresentationNode[] children)
Inserts a set of children.

Parameters:
indices - The indices of the children added, after insertion, in ascending order.
children - The children inserted, in the same order as listed in indices.

addChildren

void addChildren(IlpRepresentationNode[] children)
Inserts a set of children.


removeChildren

void removeChildren(int[] indices,
                    IlpRepresentationNode[] children)
Removes a set of children.

Parameters:
indices - The indices of the children removed, before removal, in ascending order.
children - The children removed, in the same order as listed in indices.

removeChildren

void removeChildren(int[] indices)
Removes a set of children.

Parameters:
indices - The indices of the children removed, before removal, in ascending order.

removeChildren

void removeChildren(IlpRepresentationNode[] children)
Removes a set of children.


removeChild

void removeChild(IlpRepresentationNode child)
Removes a child.

Parameters:
child - The child to be removed.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.