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

MainMenuAction.ShowToolBarAction (Editor Module) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor/3 1.32.0

org.netbeans.modules.editor
Class MainMenuAction.ShowToolBarAction

java.lang.Object
  extended by org.netbeans.modules.editor.MainMenuAction
      extended by org.netbeans.modules.editor.MainMenuAction.ShowToolBarAction
All Implemented Interfaces:
EventListener, ChangeListener, Presenter, Presenter.Menu, LookupListener
Enclosing class:
MainMenuAction

public static class MainMenuAction.ShowToolBarAction
extends MainMenuAction


Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.modules.editor.MainMenuAction
MainMenuAction.CommentAction, MainMenuAction.FindNextAction, MainMenuAction.FindPreviousAction, MainMenuAction.FindSelectionAction, MainMenuAction.FormatAction, MainMenuAction.GoToDeclarationAction, MainMenuAction.GoToSourceAction, MainMenuAction.GoToSuperAction, MainMenuAction.JumpBackAction, MainMenuAction.JumpForwardAction, MainMenuAction.PasteFormattedAction, MainMenuAction.RemoveTrailingSpacesAction, MainMenuAction.ShiftLineLeftAction, MainMenuAction.ShiftLineRightAction, MainMenuAction.ShowLineNumbersAction, MainMenuAction.ShowToolBarAction, MainMenuAction.StartMacroRecordingAction, MainMenuAction.StopMacroRecordingAction, MainMenuAction.UncommentAction, MainMenuAction.WordMatchNextAction, MainMenuAction.WordMatchPrevAction
 
Nested classes/interfaces inherited from interface org.openide.util.actions.Presenter
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
 
Field Summary
 
Fields inherited from class org.netbeans.modules.editor.MainMenuAction
BLANK_ICON, menuInitialized
 
Constructor Summary
MainMenuAction.ShowToolBarAction()
           
 
Method Summary
protected  String getActionName()
          Get the action name
protected  ActionMap getContextActionMap()
           
protected  Action getGlobalKitAction()
          If there is no kit sensitive action, some global kit action can be returned by subclasses.
protected  String getMenuItemText()
          Get the text of the menu item
 JMenuItem getMenuPresenter()
           
protected  void setMenu()
          Sets the state of JMenuItem
 
Methods inherited from class org.netbeans.modules.editor.MainMenuAction
addAccelerators, getDefaultAccelerator, getHelpCtx, getName, isEnabled, resultChanged, stateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainMenuAction.ShowToolBarAction

public MainMenuAction.ShowToolBarAction()
Method Detail

setMenu

protected void setMenu()
Description copied from class: MainMenuAction
Sets the state of JMenuItem

Overrides:
setMenu in class MainMenuAction

getMenuPresenter

public JMenuItem getMenuPresenter()

getMenuItemText

protected String getMenuItemText()
Description copied from class: MainMenuAction
Get the text of the menu item

Specified by:
getMenuItemText in class MainMenuAction

getActionName

protected String getActionName()
Description copied from class: MainMenuAction
Get the action name

Specified by:
getActionName in class MainMenuAction

getGlobalKitAction

protected Action getGlobalKitAction()
Description copied from class: MainMenuAction
If there is no kit sensitive action, some global kit action can be returned by subclasses. Returning null by default

Overrides:
getGlobalKitAction in class MainMenuAction

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.