Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.spi.viewmodel/2 1.9.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.spi.viewmodel/2 1.9.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.