public class TileNumberAction extends BooleanAction
description, icon, namechangeSupport, enabledACCELERATOR_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 |
|---|
TileNumberAction(Viewer
Create a new action for toggling the visibility of tile numbers.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getState()
|
void |
toggleState()
implement what happens when the state is toggled.
|
actionPerformed, getValuesetIconFromResourcesetDescription, setIcon, setNameaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic TileNumberAction(Viewerviewer)
viewer - the viewer connected.
public boolean getState()
getState in class
BooleanAction
public void toggleState()
BooleanAction