public class FeatureTreeModel extends Object implements TreeModel
| Constructor and Description |
|---|
FeatureTreeModel(JScrollPane treeScroller)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTreeModelListener(TreeModelListener l) |
static TreeCellRenderer |
createRenderer()
Returns a renderer that can be used for the JTree displaying
this model.
|
Object |
getChild(Object parent,
int index) |
int |
getChildCount(Object parent) |
int |
getIndexOfChild(Object parent,
Object child) |
Object |
getRoot() |
boolean |
isLeaf(Object node) |
void |
removeTreeModelListener(TreeModelListener l) |
void |
setAdqlVersion(AdqlVersion adqlVersion)
Sets the ADQL version for which this tree should display information.
|
void |
setCapability(TapCapability tcap)
Set the content of this tree according to a supplied TapCapability.
|
void |
valueForPathChanged(TreePath path,
Object newValue) |
public FeatureTreeModel(JScrollPane treeScroller)
treeScroller - scroll pane containing treepublic void setCapability(TapCapability tcap)
tcap - capabilitypublic void setAdqlVersion(AdqlVersion adqlVersion)
adqlVersion - versionpublic int getChildCount(Object parent)
getChildCount in interface TreeModelpublic int getIndexOfChild(Object parent, Object child)
getIndexOfChild in interface TreeModelpublic void addTreeModelListener(TreeModelListener l)
addTreeModelListener in interface TreeModelpublic void removeTreeModelListener(TreeModelListener l)
removeTreeModelListener in interface TreeModelpublic void valueForPathChanged(TreePath path, Object newValue)
valueForPathChanged in interface TreeModelpublic static TreeCellRenderer createRenderer()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.