public class ToggleViewerFullScreen extends AbstractJrAction
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
static ToggleViewerFullScreen |
sharedInstance(String name,
ViewerApp viewerApp)
Returns a shared instance of this action depending on the specified viewerApp
(i.e.
|
createMenuItem, createToolboxItem, getIcon, setAcceleratorKey, setIcon, setName, setShortDescription
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public static ToggleViewerFullScreen sharedInstance(String name, ViewerApp viewerApp)
name
- name of the actionviewerApp
- the viewerApp displaying the viewerUnsupportedOperationException
- if viewerApp equals nullpublic void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
actionPerformed
in class AbstractJrAction