| java.lang.Object javax.swing.AbstractListModel org.openide.explorer.view.NodeListModel
serialVersionUID | final static long serialVersionUID(Code) | | |
NodeListModel | public NodeListModel()(Code) | | Creates new model.
|
NodeListModel | public NodeListModel(Node root)(Code) | | Creates new model.
Parameters: root - the root of the model |
addAll | final void addAll()(Code) | | |
changeAll | final void changeAll()(Code) | | |
findVisualizerDepth | static int findVisualizerDepth(ListModel m, VisualizerNode o)(Code) | | Finds a depth for given model & object. Used from renderer.
Parameters: m - model Parameters: o - the visualizer node depth or 0 if not found |
getDepth | public int getDepth()(Code) | | Getter for depth.
number of levels to display |
getElementAt | public Object getElementAt(int i)(Code) | | Child at given index.
|
getIndex | public int getIndex(Object o)(Code) | | Finds index of given object.
Parameters: o - object produced by this model index, or -1 if the object is not in the list |
getSize | public int getSize()(Code) | | Number of elements in the model.
|
removeAll | final void removeAll()(Code) | | |
setDepth | public void setDepth(int depth)(Code) | | Depth of nodes to display.
Parameters: depth - the depth |
setNode | public void setNode(Node root)(Code) | | Changes the root of the model. This is thread safe method.
Parameters: root - the root of the model |
setSelectedItem | public void setSelectedItem(Object anObject)(Code) | | Currently selected item.
|
|
|