public class Maximize 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 Maximize |
sharedInstance(String name,
Frame frame)
Returns a shared instance of this action depending on the specified frame
(i.e.
|
createMenuItem, createToolboxItem, getIcon, setAcceleratorKey, setIcon, setName, setShortDescription
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public static Maximize sharedInstance(String name, Frame frame)
name
- name of the actionframe
- the frame to toggleUnsupportedOperationException
- if frame equals nullpublic void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
actionPerformed
in class AbstractJrAction