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

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

 

org.netbeans.spi.viewmodel
Class Models.TreeFeatures

java.lang.Object
  extended byorg.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 in given view.
 void expandNode(Object node)
          Expands given list of nodes in given view.
 boolean isExpanded(Object node)
          Returns true if given node is expanded in given view.
 
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 in given view.

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

expandNode

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

Parameters:
node - a list of nodes to be expanded

collapseNode

public void collapseNode(Object node)
Collapses given node in given view.

Parameters:
node - a node to be expanded

 

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