public interface IProjectionTree
ProjectionTreeNode
entities to manipulate and
notify their projection tree.
Created: August 27, 2008Modifier and Type | Method and Description |
---|---|
void |
cleanTree()
Cleans the tree from unnecessary leaves.
|
SetNode |
createNewSetStructure(SetTypeNode stNode,
Set set)
Creates all substructures for displaying a set.
|
JTree |
getTree()
Get the actual tree component.
|
DefaultTreeModel |
getTreeModel()
Get the model of the tree.
|
void |
nodeAdded(ParameterInstanceNode node,
int childIndex)
Notifies tree that the given node as a new child at the given index.
|
void |
recursiveRefresh(ProjectionTreeNode<?> node)
Recursively refreshes the node names of node in the sub-tree below the
given node.
|
void |
refreshNode(ProjectionTreeNode<?> node)
Refresh a single node in the tree.
|
void |
refreshNodeSubStructure(ProjectionTreeNode<?> node)
Refreshed the sub-structures of the node in the tree.
|
void |
removeNode(ProjectionTreeNode<?> node)
Removes given node.
|
void |
removeNodes(ProjectionTreeNode<?> node,
Collection<? extends Object> repRemovObjects)
Removes all nodes that represent the objects given in the collection.
|
void |
selectNode(ProjectionTreeNode<?> node)
Selects a given node.
|
void |
totalRefresh()
Totally refreshes the projection tree.
|
DefaultTreeModel getTreeModel()
JTree getTree()
void refreshNode(ProjectionTreeNode<?> node)
node
- the node to be refreshedvoid refreshNodeSubStructure(ProjectionTreeNode<?> node)
node
- the node of which the sub-structures shall be refreshedvoid nodeAdded(ParameterInstanceNode node, int childIndex)
node
- node with new childchildIndex
- index of the new childvoid selectNode(ProjectionTreeNode<?> node)
node
- the node to be selectedvoid recursiveRefresh(ProjectionTreeNode<?> node)
node
- the node of which the subtree shall be refreshedvoid removeNode(ProjectionTreeNode<?> node)
node
- the node to be removedvoid removeNodes(ProjectionTreeNode<?> node, Collection<? extends Object> repRemovObjects)
node
- the node from which to start lookingrepRemovObjects
- collection of the represented object of the nodes to be removedvoid cleanTree()
SetNode createNewSetStructure(SetTypeNode stNode, Set set)
stNode
- the Settype node the set belongs toset
- the set for which the structure shall be createdvoid totalRefresh()
ProjectionNode
are re-created and re-initialized.Copyright © 2013. All Rights Reserved.