NASA World Wind

gov.nasa.worldwindx.applications.worldwindow.features
Class GraticuleLayer

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
          extended by gov.nasa.worldwindx.applications.worldwindow.features.AbstractOnDemandLayerFeature
              extended by gov.nasa.worldwindx.applications.worldwindow.features.GraticuleLayer
All Implemented Interfaces:
Initializable, Feature, ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
LatLonGraticule, UTMGraticule

public abstract class GraticuleLayer
extends AbstractOnDemandLayerFeature

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractOnDemandLayerFeature
group, layer, on
 
Fields inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
controller, featureID
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
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 Summary
GraticuleLayer(String name, String featureID, String iconPath, String group, Registry registry)
           
 
Method Summary
protected  void addLayer(LayerPath path)
           
protected  Layer createLayer()
           
protected abstract  Layer doCreateLayer()
           
protected  void removeLayer()
           
 
Methods inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractOnDemandLayerFeature
isOn, isTwoState, turnOn
 
Methods inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
actionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, initialize, isInitialized, propertyChange, register, setMenuAccellerator
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 

Constructor Detail

GraticuleLayer

public GraticuleLayer(String name,
                      String featureID,
                      String iconPath,
                      String group,
                      Registry registry)
Method Detail

addLayer

protected void addLayer(LayerPath path)
Overrides:
addLayer in class AbstractOnDemandLayerFeature

createLayer

protected Layer createLayer()
Specified by:
createLayer in class AbstractOnDemandLayerFeature

doCreateLayer

protected abstract Layer doCreateLayer()

removeLayer

protected void removeLayer()
Overrides:
removeLayer in class AbstractOnDemandLayerFeature

NASA World Wind