站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

DataFolder.Index (NetBeans Loaders API) - NetBeans API Javadoc 4.1.0

 

org.openide.loaders
Class DataFolder.Index

java.lang.Object
  extended byorg.openide.nodes.Index.Support
      extended byorg.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.


Nested Class Summary
 
Nested classes inherited from class org.openide.nodes.Index
Index.ArrayChildren, Index.KeysChildren, Index.Support
 
Constructor Summary
DataFolder.Index(DataFolder df)
          Deprecated. Please explicitly specify a node to be safe.
DataFolder.Index(DataFolder df, Node node)
          Create an index cookie associated with a data folder.
 
Method Summary
 Node[] getNodes()
           
 int getNodesCount()
           
 void reorder()
           
 void reorder(int[] perm)
           
 
Methods inherited from class org.openide.nodes.Index.Support
addChangeListener, exchange, fireChangeEvent, indexOf, move, moveDown, moveUp, removeChangeListener, showIndexedCustomizer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 folder
node - node to be associated with. subnodes of this node will be returned, etc.
Method Detail

getNodesCount

public int getNodesCount()

getNodes

public Node[] getNodes()

reorder

public void reorder(int[] perm)

reorder

public void reorder()

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.