当前页面:
在线文档首页 >
NetBeans API Javadoc 5.5.0
DataFolder.Index (NetBeans Loaders API) - NetBeans API Javadoc 5.5.0
org.openide.loaders
Class DataFolder.Index
java.lang.Object
org.openide.nodes.Index.Support
org.openide.loaders.DataFolder.Index
- All Implemented Interfaces:
- Index, Node.Cookie
- Enclosing class:
- DataFolder
public static class DataFolder.Index
- extends Index.Support
Support for index cookie for folder nodes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataFolder.Index
public DataFolder.Index(DataFolder df)
- Deprecated. Please explicitly specify a node to be safe.
- Create an index cookie associated with a data folder.
- Parameters:
df
- the data folder
DataFolder.Index
public DataFolder.Index(DataFolder df,
Node node)
- Create an index cookie associated with a data folder.
- Parameters:
df
- the data foldernode
- node to be associated with. subnodes of this node will be returned, etc.
getNodesCount
public int getNodesCount()
- Specified by:
getNodesCount
in interface Index
- Specified by:
getNodesCount
in class Index.Support
getNodes
public Node[] getNodes()
- Specified by:
getNodes
in interface Index
- Specified by:
getNodes
in class Index.Support
reorder
public void reorder(int[] perm)
- Specified by:
reorder
in interface Index
- Specified by:
reorder
in class Index.Support
reorder
public void reorder()
- Specified by:
reorder
in interface Index
- Overrides:
reorder
in class Index.Support