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

Models.ActionPerformer (NetBeans View Model) - NetBeans API Javadoc 5.5.0

org.netbeans.spi.viewmodel/2 1.9.22

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)

org.netbeans.spi.viewmodel/2 1.9.22

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