Class PageSetupAction

  • 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

    public final class PageSetupAction
    extends org.openide.util.actions.CallableSystemAction
    PageSetupAction is available from the main menu and enables settings of the print preferences in IJC
    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
    • Constructor Summary

      Constructors 
      Constructor Description
      PageSetupAction()
      Create the action with no icon in the menu
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean asynchronous()  
      org.openide.util.HelpCtx getHelpCtx()  
      java.lang.String getName()  
      void performAction()
      Displays the page setup - default dialog
      • Methods inherited from class org.openide.util.actions.CallableSystemAction

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

        clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, iconResource, initialize, isEnabled, 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
    • Constructor Detail

      • PageSetupAction

        public PageSetupAction()
        Create the action with no icon in the menu
    • Method Detail

      • performAction

        public void performAction()
        Displays the page setup - default dialog
        Specified by:
        performAction in class org.openide.util.actions.CallableSystemAction
      • asynchronous

        protected boolean asynchronous()
        Overrides:
        asynchronous in class org.openide.util.actions.CallableSystemAction
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class org.openide.util.actions.SystemAction
        Returns:
        The name of the action
      • 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
        Returns:
        The help context of the acion