Class AbstractViewModeAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Externalizable, java.io.Serializable, java.util.EventListener, javax.swing.Action, org.openide.util.actions.Presenter, org.openide.util.actions.Presenter.Menu, org.openide.util.actions.Presenter.Popup, org.openide.util.actions.Presenter.Toolbar, org.openide.util.HelpCtx.Provider
    Direct Known Subclasses:
    BrowseModeAction, CodeModeAction, DesignModeAction, QueryModeAction

    public class AbstractViewModeAction
    extends org.openide.util.actions.CallableSystemAction
    Action for switching view modes of opened views.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.openide.util.actions.Presenter

        org.openide.util.actions.Presenter.Menu, org.openide.util.actions.Presenter.Popup, org.openide.util.actions.Presenter.Toolbar
    • Field Summary

      • Fields inherited from class org.openide.util.actions.SystemAction

        PROP_ENABLED, PROP_ICON
      • Fields inherited from interface javax.swing.Action

        ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.openide.util.HelpCtx getHelpCtx()  
      java.lang.String getName()  
      protected void initialize()  
      boolean isEnabled()  
      void performAction()  
      • Methods inherited from class org.openide.util.actions.CallableSystemAction

        actionPerformed, asynchronous, getMenuPresenter, getPopupPresenter, getToolbarPresenter
      • Methods inherited from class org.openide.util.actions.SystemAction

        clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, iconResource, linkActions, putValue, setEnabled, setIcon
      • Methods inherited from class org.openide.util.SharedClassObject

        addNotify, addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removeNotify, removePropertyChangeListener, reset, writeExternal, writeReplace
      • Methods inherited from class java.lang.Object

        clone, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.Action

        accept, addPropertyChangeListener, removePropertyChangeListener
    • Method Detail

      • performAction

        public void performAction()
        Specified by:
        performAction in class org.openide.util.actions.CallableSystemAction
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class org.openide.util.actions.SystemAction
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface javax.swing.Action
        Overrides:
        isEnabled in class org.openide.util.actions.SystemAction
      • getHelpCtx

        public org.openide.util.HelpCtx getHelpCtx()
        Specified by:
        getHelpCtx in interface org.openide.util.HelpCtx.Provider
        Specified by:
        getHelpCtx in class org.openide.util.actions.SystemAction
      • initialize

        protected void initialize()
        Overrides:
        initialize in class org.openide.util.actions.SystemAction