public class SpectralDataBrowser.SpectralDataBrowserNode
extends javax.swing.tree.DefaultMutableTreeNode
Constructor and Description |
---|
SpectralDataBrowserNode(SpectralDataBrowser browser,
spectral_node_object sn)
Constructor.
|
SpectralDataBrowserNode(SpectralDataBrowser browser,
javax.swing.tree.TreeModel model,
spectral_node_object sn) |
Modifier and Type | Method and Description |
---|---|
protected void |
defineChildNodes()
Download the children of this node from the server.
|
spectral_node_object |
getNode()
Get the spectral node object associated with this tree node
|
int |
getNodeId()
Get the identifier of the spectral node object associated with this tree node
|
boolean |
isLeaf() |
void |
setTree(javax.swing.tree.TreeModel model) |
add, 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, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
public SpectralDataBrowserNode(SpectralDataBrowser browser, spectral_node_object sn)
sn
- the spectral node object for this tree nodepublic SpectralDataBrowserNode(SpectralDataBrowser browser, javax.swing.tree.TreeModel model, spectral_node_object sn)
public void setTree(javax.swing.tree.TreeModel model)
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
isLeaf
in class javax.swing.tree.DefaultMutableTreeNode
protected void defineChildNodes()
public spectral_node_object getNode()
public int getNodeId()