ilog.cpl.tree
Interface IlpTreeNodeHelper

All Superinterfaces:
MutableTreeNode, TreeNode
All Known Subinterfaces:
IlpTreeNode
All Known Implementing Classes:
IlpDefaultTreeNode

public interface IlpTreeNodeHelper
extends MutableTreeNode

Helper methods for tree nodes.

This interface should be implemented by all the tree nodes used by the IlpContainmentTreeAdapter, including the root node of the model.

Since:
JTGO 3.1

Method Summary
 List getChildren()
          Returns the child objects as an unmodifiable list.
 IlpExpansionStrategy getExpansionStrategy()
          Returns the expansion strategy used by this tree node.
 boolean isExpanded()
          Deprecated. Please use IlpExpansionStrategy.areChildrenLoaded instead.
 void setChildren(List children)
          Sets the child objects.
 
Methods inherited from interface javax.swing.tree.MutableTreeNode
insert, remove, remove, removeFromParent, setParent, setUserObject
 
Methods inherited from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Method Detail

isExpanded

boolean isExpanded()
Deprecated. Please use IlpExpansionStrategy.areChildrenLoaded instead.

Returns true if the node has been expanded.

Deprecated Since:
JTGO 4.0

getChildren

List getChildren()
Returns the child objects as an unmodifiable list.

Since:
JTGO 3.1

setChildren

void setChildren(List children)
Sets the child objects.

Since:
JTGO 3.1

getExpansionStrategy

IlpExpansionStrategy getExpansionStrategy()
Returns the expansion strategy used by this tree node.

Since:
JTGO 4.0


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