public abstract class GISAction extends SimpleAction
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 |
|---|
GISAction(JeographyGIS
Create a new GISAction.
|
GISAction(JeographyGIS
Create a new GISAction
|
| Modifier and Type | Method and Description |
|---|---|
JeographyGIS |
getGIS()
|
JFrame |
getMainFrame()
|
boolean |
isEnabled()
|
void |
putValue(String
|
void |
setEnabled(boolean b)
|
setIconFromResourcegetValue, setDescription, setIcon, setIcon, setNameaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, removePropertyChangeListenerequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactionPerformedpublic GISAction(JeographyGISgis, String filename)
gis - the JeographyGIS instance for this action.
filename - the filename of an image or null
public GISAction(JeographyGISgis, String filename, String title)
gis - the JeographyGIS instance for this action.
filename - the filename of an image or null.
title - the title for this action.
public JeographyGISgetGIS()
public JFramegetMainFrame()
public boolean isEnabled()
public void setEnabled(boolean b)