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:
- ActionListener, Externalizable, Serializable, EventListener, Action, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, HelpCtx.Provider
public final class PageSetupAction
- extends CallableSystemAction
PageSetupAction is available from the main menu and enables settings of the
print preferences in IJC
- See Also:
- Serialized Form
| 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 |
PageSetupAction()
Create the action with no icon in the menu |
| 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 |
PageSetupAction
public PageSetupAction()
- Create the action with no icon in the menu
performAction
public void performAction()
- Displays the page setup - default dialog
- Specified by:
performAction in class CallableSystemAction
asynchronous
protected boolean asynchronous()
- Overrides:
asynchronous in class CallableSystemAction
getName
public String getName()
- Specified by:
getName in class SystemAction
- Returns:
- The name of the action
getHelpCtx
public HelpCtx getHelpCtx()
- Specified by:
getHelpCtx in interface HelpCtx.Provider- Specified by:
getHelpCtx in class SystemAction
- Returns:
- The help context of the acion