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

ActionsProvider (NetBeans Debugger Core API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.spi.debugger
Class ActionsProvider

java.lang.Object
  extended byorg.netbeans.spi.debugger.ActionsProvider
Direct Known Subclasses:
ActionsProviderSupport

public abstract class ActionsProvider
extends Object

Represents implementation of one or more actions.


Constructor Summary
ActionsProvider()
           
 
Method Summary
abstract  void addActionsProviderListener(ActionsProviderListener l)
          Adds property change listener.
abstract  void doAction(Object action)
          Called when the action is called (action button is pressed).
abstract  Set getActions()
          Returns set of actions supported by this ActionsProvider.
abstract  boolean isEnabled(Object action)
          Should return a state of given action.
abstract  void removeActionsProviderListener(ActionsProviderListener l)
          Removes property change listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionsProvider

public ActionsProvider()
Method Detail

getActions

public abstract Set getActions()
Returns set of actions supported by this ActionsProvider.

Returns:
set of actions supported by this ActionsProvider

doAction

public abstract void doAction(Object action)
Called when the action is called (action button is pressed).

Parameters:
action - an action which has been called

isEnabled

public abstract boolean isEnabled(Object action)
Should return a state of given action.

Parameters:
action - action

addActionsProviderListener

public abstract void addActionsProviderListener(ActionsProviderListener l)
Adds property change listener.

Parameters:
l - new listener.

removeActionsProviderListener

public abstract void removeActionsProviderListener(ActionsProviderListener l)
Removes property change listener.

Parameters:
l - removed listener.

 

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