public class ScriptNode extends DefaultMutableTreeNode
MutableTreeNode
for model of scripts tree.ScriptTreeModel
,
Serialized FormallowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
ScriptNode() |
ScriptNode(boolean template) |
ScriptNode(ScriptType type,
boolean template) |
ScriptNode(ScriptWrapper script) |
ScriptNode(ScriptWrapper script,
boolean template) |
ScriptNode(String name) |
Modifier and Type | Method and Description |
---|---|
String |
getNodeName() |
ScriptNode |
getParent() |
ScriptType |
getType() |
boolean |
isTemplate() |
void |
setNodeName(String name) |
String |
toString() |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
public ScriptNode()
public ScriptNode(boolean template)
public ScriptNode(ScriptType type, boolean template)
public ScriptNode(String name)
public ScriptNode(ScriptWrapper script)
public ScriptNode(ScriptWrapper script, boolean template)
public String toString()
toString
in class DefaultMutableTreeNode
public String getNodeName()
public void setNodeName(String name)
public ScriptNode getParent()
getParent
in interface TreeNode
getParent
in class DefaultMutableTreeNode
public ScriptType getType()
public boolean isTemplate()