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

NbCodeFoldingAction (Editor Module) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor/3 1.32.0

org.netbeans.modules.editor
Class NbCodeFoldingAction

java.lang.Object
  extended by org.netbeans.modules.editor.NbCodeFoldingAction
All Implemented Interfaces:
EventListener, Presenter, Presenter.Menu, LookupListener

public class NbCodeFoldingAction
extends Object
implements Presenter.Menu

Code Folding action displayed under Menu/View/


Nested Class Summary
 class NbCodeFoldingAction.CodeFoldsMenu
           
 
Nested classes/interfaces inherited from interface org.openide.util.actions.Presenter
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
 
Constructor Summary
NbCodeFoldingAction()
          Creates a new instance of NbCodeFoldingAction
 
Method Summary
 void actionPerformed(ActionEvent ev)
           
protected  ActionMap getContextActionMap()
           
 HelpCtx getHelpCtx()
           
 JMenuItem getMenuPresenter()
          Get a menu item that can present this action in a JMenu.
 String getName()
           
 boolean isEnabled()
           
 void resultChanged(LookupEvent ev)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NbCodeFoldingAction

public NbCodeFoldingAction()
Creates a new instance of NbCodeFoldingAction

Method Detail

getHelpCtx

public final HelpCtx getHelpCtx()

getName

public String getName()

resultChanged

public void resultChanged(LookupEvent ev)
Specified by:
resultChanged in interface LookupListener

isEnabled

public boolean isEnabled()

getMenuPresenter

public JMenuItem getMenuPresenter()
Get a menu item that can present this action in a JMenu.

Specified by:
getMenuPresenter in interface Presenter.Menu
Returns:
the representation for this action

actionPerformed

public void actionPerformed(ActionEvent ev)

getContextActionMap

protected ActionMap getContextActionMap()

org.netbeans.modules.editor/3 1.32.0

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