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

TreeExpansionModel (NetBeans View Model) - NetBeans API Javadoc 5.5.0

org.netbeans.spi.viewmodel/2 1.9.22

org.netbeans.spi.viewmodel
Interface TreeExpansionModel

All Superinterfaces:
Model
All Known Implementing Classes:
Models.CompoundModel

public interface TreeExpansionModel
extends Model

This model controlls expansion, collapsion of nodes in tree view, and defindes default expand state for all node in it.


Method Summary
 boolean isExpanded(Object node)
          Defines default state (collapsed, expanded) of given node.
 void nodeCollapsed(Object node)
          Called when given node is collapsed.
 void nodeExpanded(Object node)
          Called when given node is expanded.
 

Method Detail

isExpanded

boolean isExpanded(Object node)
                   throws UnknownTypeException
Defines default state (collapsed, expanded) of given node.

Parameters:
node - a node
Returns:
default state (collapsed, expanded) of given node
Throws:
UnknownTypeException

nodeExpanded

void nodeExpanded(Object node)
Called when given node is expanded.

Parameters:
node - a expanded node

nodeCollapsed

void nodeCollapsed(Object node)
Called when given node is collapsed.

Parameters:
node - a collapsed node

org.netbeans.spi.viewmodel/2 1.9.22

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