public class OpTreeTableNode extends Object implements Comparable<OpTreeTableNode>
TreeTableNode
implementation with tailored for ImageJ Ops usage. In
the tree structure built with these nodes, leaves correspond to concrete
Op
s. Intermediate nodes are Namespace
s.Constructor and Description |
---|
OpTreeTableNode(String... fields)
Varargs constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(OpTreeTableNode child)
Add a child to this node.
|
int |
compareTo(OpTreeTableNode o) |
List<OpTreeTableNode> |
getChildren() |
String |
getCodeCall() |
CommandInfo |
getCommandInfo() |
String |
getName() |
String |
getReferenceClass() |
void |
setCodeCall(String codeCall)
Set the script snippet to invoke the
Op referenced by this node. |
void |
setCommandInfo(CommandInfo info)
Sets the
CommandInfo corresponding to the Op of this
node. |
void |
setName(String simpleName)
Set the name for this node
|
void |
setReferenceClass(String referenceClass)
Sets the
Op class referenced by this node. |
String |
toString() |
public OpTreeTableNode(String... fields)
public String getName()
public void setName(String simpleName)
public void setReferenceClass(String referenceClass)
Op
class referenced by this node.public String getCodeCall()
Op
referenced by this
node.public void setCodeCall(String codeCall)
Op
referenced by this node.public List<OpTreeTableNode> getChildren()
Namespace
node.public void add(OpTreeTableNode child)
public void setCommandInfo(CommandInfo info)
CommandInfo
corresponding to the Op
of this
node.public CommandInfo getCommandInfo()
CommandInfo
for this node.public int compareTo(OpTreeTableNode o)
compareTo
in interface Comparable<OpTreeTableNode>
Copyright © 2015–2021 Fiji. All rights reserved.