Package jadex.commons.gui.jtreetable
Class SetTreeTableNode
- java.lang.Object
- 
- javax.swing.tree.DefaultMutableTreeNode
- 
- jadex.commons.gui.jtreetable.DefaultTreeTableNode
- 
- jadex.commons.gui.jtreetable.SetTreeTableNode
 
 
 
- 
- All Implemented Interfaces:
- TreeTableNode,- java.io.Serializable,- java.lang.Cloneable,- javax.swing.tree.MutableTreeNode,- javax.swing.tree.TreeNode
 
 public class SetTreeTableNode extends DefaultTreeTableNode A tree table node, that has as name its number.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class jadex.commons.gui.jtreetable.DefaultTreeTableNodemodel, type, values
 
- 
 - 
Constructor SummaryConstructors Constructor Description SetTreeTableNode(TreeTableNodeType type, java.util.Map values)Create a tree table node with initial values.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetUserObject()Get the user value.java.lang.ObjectgetValue(int column)Get the value at a specific column.java.lang.StringtoString()Get the node name.- 
Methods inherited from class jadex.commons.gui.jtreetable.DefaultTreeTableNodegetChild, getChildren, getModel, getType, getValues, insert, instanceOf, remove, setModel, setValue, setValues
 - 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNodeadd, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObjectPath, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
- 
 
- 
- 
- 
Constructor Detail- 
SetTreeTableNodepublic SetTreeTableNode(TreeTableNodeType type, java.util.Map values) Create a tree table node with initial values.- Parameters:
- type- The node type identifier.
- values- The initial values.
 
 
- 
 - 
Method Detail- 
getValuepublic java.lang.Object getValue(int column) Get the value at a specific column.- Specified by:
- getValuein interface- TreeTableNode
- Overrides:
- getValuein class- DefaultTreeTableNode
- Parameters:
- column- The column.
- Returns:
- The value or empty string, when column index is too large.
 
 - 
getUserObjectpublic java.lang.Object getUserObject() Get the user value.- Overrides:
- getUserObjectin class- javax.swing.tree.DefaultMutableTreeNode
- Returns:
- The value.
 
 - 
toStringpublic java.lang.String toString() Get the node name.- Overrides:
- toStringin class- DefaultTreeTableNode
- Returns:
- The name of the node.
 
 
- 
 
-