public class QuitAction extends GISAction
description, icon, namechangeSupportACCELERATOR_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 |
|---|
QuitAction(JeographyGIS
Default constructor for this action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent
|
Object |
getValue(String
|
boolean |
isEnabled()
|
void |
putValue(String
|
void |
setEnabled(boolean b)
|
getGIS, getMainFramesetIconFromResourcesetDescription, setIcon, setIcon, setNameaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, removePropertyChangeListenerpublic QuitAction(JeographyGISgis, JFrame frame)
gis - the JeographyGIS instance this action is about
frame - the frame to close on exit.
public void actionPerformed(ActionEvente)
public void setEnabled(boolean b)
public boolean isEnabled()