当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
NbCodeFoldingAction (Editor Module) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.editor
Class NbCodeFoldingAction
java.lang.Object
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/
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NbCodeFoldingAction
public NbCodeFoldingAction()
- Creates a new instance of NbCodeFoldingAction
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()