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 Models.ActionPerformer

Enclosing class:
  Models

    public static interface Models.ActionPerformer

Support interface for `Models.createAction(String,Models.ActionPerformer,int)` method.

Method Summary
`boolean` | `isEnabled(Object node)` Returns enabled property state for given node.
`void` | `perform(Object[] nodes)` Called when action `action` is performed for nodes.

Method Detail

### isEnabled

    boolean isEnabled(Object node)

  Returns enabled property state for given node.

  Parameters:
    `node` - the node the action shouuld be applied to
  Returns:
    enabled property state for given node
  See Also:
    `Models.createAction(String,Models.ActionPerformer,int)`

### perform

    void perform(Object[] nodes)

  Called when action `action` is performed for nodes.

  Parameters:
    `nodes` - nodes the action shouuld be applied to
  See Also:
    `Models.createAction(String,Models.ActionPerformer,int)`

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.