Package com.im.ijc.core.api.actions
Class PageSetupAction
- java.lang.Object
-
- org.openide.util.SharedClassObject
-
- org.openide.util.actions.SystemAction
-
- org.openide.util.actions.CallableSystemAction
-
- com.im.ijc.core.api.actions.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
-
-
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
-
-
-
-
Method Detail
-
performAction
public void performAction()
Displays the page setup - default dialog- Specified by:
performAction
in classorg.openide.util.actions.CallableSystemAction
-
asynchronous
protected boolean asynchronous()
- Overrides:
asynchronous
in classorg.openide.util.actions.CallableSystemAction
-
getName
public java.lang.String getName()
- Specified by:
getName
in classorg.openide.util.actions.SystemAction
- Returns:
- The name of the action
-
getHelpCtx
public org.openide.util.HelpCtx getHelpCtx()
- Specified by:
getHelpCtx
in interfaceorg.openide.util.HelpCtx.Provider
- Specified by:
getHelpCtx
in classorg.openide.util.actions.SystemAction
- Returns:
- The help context of the acion
-
-