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

Models.TreeFeatures (NetBeans View Model) - NetBeans API Javadoc 5.5.0

org.netbeans.spi.viewmodel/2 1.9.22

org.netbeans.spi.viewmodel
Class Models.TreeFeatures

java.lang.Object
  extended by org.netbeans.spi.viewmodel.Models.TreeFeatures
Enclosing class:
Models

public static final class Models.TreeFeatures
extends Object

Implements set of tree view features.


Method Summary
 void collapseNode(Object node)
          Collapses given node.
 void expandNode(Object node)
          Expands given list of nodes.
 boolean isExpanded(Object node)
          Returns true if given node is expanded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isExpanded

public boolean isExpanded(Object node)
Returns true if given node is expanded.

Parameters:
node - a node to be checked
Returns:
true if given node is expanded

expandNode

public void expandNode(Object node)
Expands given list of nodes.

Parameters:
node - a list of nodes to be expanded

collapseNode

public void collapseNode(Object node)
Collapses given node.

Parameters:
node - a node to be expanded

org.netbeans.spi.viewmodel/2 1.9.22

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