Package editor.run
Class RunConfigTree
- java.lang.Object
-
- editor.run.RunConfigTree
-
- All Implemented Interfaces:
MutableTreeNode
,TreeNode
public class RunConfigTree extends Object implements MutableTreeNode
-
-
Constructor Summary
Constructors Constructor Description RunConfigTree()
RunConfigTree(IRunConfigFactory factory, RunConfigTree parent)
RunConfigTree(IRunConfig runConfig, RunConfigTree parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(RunConfigTree child)
void
addViaModel(JTree tree, MutableTreeNode child)
Enumeration
children()
void
deleteViaModel(JTree tree, MutableTreeNode child)
RunConfigTree
find(IRunConfig runConfig)
boolean
getAllowsChildren()
RunConfigTree
getChildAt(int childIndex)
int
getChildCount()
List<RunConfigTree>
getChildren()
IRunConfigFactory
getFactory()
Icon
getIcon()
int
getIndex(TreeNode node)
RunConfigTree
getParent()
TreePath
getPath()
IRunConfig
getRunConfig()
void
insert(MutableTreeNode child, int index)
void
insertViaModel(JTree tree, MutableTreeNode child, int index)
boolean
isLeaf()
boolean
isTerminal()
void
remove(int index)
void
remove(MutableTreeNode node)
void
removeFromParent()
void
select(JTree tree)
void
setParent(MutableTreeNode newParent)
void
setUserObject(Object object)
String
toString()
-
-
-
Constructor Detail
-
RunConfigTree
public RunConfigTree()
-
RunConfigTree
public RunConfigTree(IRunConfigFactory factory, RunConfigTree parent)
-
RunConfigTree
public RunConfigTree(IRunConfig runConfig, RunConfigTree parent)
-
-
Method Detail
-
getRunConfig
public IRunConfig getRunConfig()
-
getFactory
public IRunConfigFactory getFactory()
-
isTerminal
public boolean isTerminal()
-
getChildren
public List<RunConfigTree> getChildren()
-
insert
public void insert(MutableTreeNode child, int index)
- Specified by:
insert
in interfaceMutableTreeNode
-
addChild
public void addChild(RunConfigTree child)
-
addViaModel
public void addViaModel(JTree tree, MutableTreeNode child)
-
insertViaModel
public void insertViaModel(JTree tree, MutableTreeNode child, int index)
-
deleteViaModel
public void deleteViaModel(JTree tree, MutableTreeNode child)
-
remove
public void remove(int index)
- Specified by:
remove
in interfaceMutableTreeNode
-
remove
public void remove(MutableTreeNode node)
- Specified by:
remove
in interfaceMutableTreeNode
-
setUserObject
public void setUserObject(Object object)
- Specified by:
setUserObject
in interfaceMutableTreeNode
-
removeFromParent
public void removeFromParent()
- Specified by:
removeFromParent
in interfaceMutableTreeNode
-
setParent
public void setParent(MutableTreeNode newParent)
- Specified by:
setParent
in interfaceMutableTreeNode
-
getChildAt
public RunConfigTree getChildAt(int childIndex)
- Specified by:
getChildAt
in interfaceTreeNode
-
getChildCount
public int getChildCount()
- Specified by:
getChildCount
in interfaceTreeNode
-
getParent
public RunConfigTree getParent()
-
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren
in interfaceTreeNode
-
children
public Enumeration children()
-
select
public void select(JTree tree)
-
getPath
public TreePath getPath()
-
find
public RunConfigTree find(IRunConfig runConfig)
-
getIcon
public Icon getIcon()
-
-