public class FullscreenToggleAction extends ToggleAction
Modifier and Type | Field and Description |
---|---|
private GraphicsDevice |
gd |
private Rectangle |
prevBounds |
sc
changeSupport, enabled
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 and Description |
---|
FullscreenToggleAction()
Constructs a new
FullscreenToggleAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
void |
initial()
To call if this action must be initially run at JOSM startup.
|
protected void |
setMode() |
addButtonModel, isSelected, notifySelectedState, removeButtonModel, setSelected, toggleSelectedState
destroy, getCurrentDataSet, getEditLayer, getShortcut, initEnabledState, installAdapters, setTooltip, updateEnabledState, updateEnabledState
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
private GraphicsDevice gd
private Rectangle prevBounds
public FullscreenToggleAction()
FullscreenToggleAction
.public void actionPerformed(ActionEvent e)
public void initial()
protected void setMode()