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 July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.