public class NodeRootModel extends AbstractListModel implements ComboBoxModel
listenerList| Constructor and Description |
|---|
NodeRootModel(DataNodeFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChain(uk.ac.starlink.datanode.tree.select.NodeChain chain)
Adds a new node chain to this model.
|
ConnectorAction |
getConnectorAction() |
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
DataNode |
getSelectedNode() |
int |
getSize() |
void |
removeAllElements() |
void |
setSelectedItem(Object item) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerpublic NodeRootModel(DataNodeFactory factory)
public Object getElementAt(int index)
getElementAt in interface ListModelpublic Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic void setSelectedItem(Object item)
setSelectedItem in interface ComboBoxModelpublic DataNode getSelectedNode()
public void addChain(uk.ac.starlink.datanode.tree.select.NodeChain chain)
chain - new chain to addpublic void removeAllElements()
public ConnectorAction getConnectorAction()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.