NASA World Wind

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

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.AbstractElevationsFeature
All Implemented Interfaces:
Initializable, Feature, NetworkActivitySignal.NetworkUser, ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action

public abstract class AbstractElevationsFeature
extends AbstractFeature
implements NetworkActivitySignal.NetworkUser

See Also:
Serialized Form

Field Summary
protected  Thread createModelsThread
           
protected  List<ElevationModel> elevationModels
           
protected  boolean 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
protected AbstractElevationsFeature(String name, String featureID, String largeIconPath, Registry registry)
           
 
Method Summary
protected  void addModel(ElevationModel em)
           
protected  void addModels(List<ElevationModel> models)
           
protected  void createModels()
           
protected  void destroyElevationModel(ElevationModel em)
           
protected  void destroyElevationModels()
           
protected  void doAddModel(ElevationModel em)
           
protected abstract  void doCreateModels()
           
 List<ElevationModel> getElevationModels()
           
protected  void handleInterrupt()
           
 boolean hasNetworkActivity()
           
 void initialize(Controller controller)
           
 boolean isOn()
           
protected  void killPopulateLayerThread()
           
protected  void removeModel(ElevationModel em)
           
protected  void removeModels()
           
protected  WMSCapabilities retrieveCapsDoc(String urlString)
           
protected  void setOn(boolean tf)
           
 void turnOn(boolean tf)
           
 
Methods inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
actionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, isTwoState, 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
 

Field Detail

createModelsThread

protected Thread createModelsThread

elevationModels

protected List<ElevationModel> elevationModels

on

protected boolean on
Constructor Detail

AbstractElevationsFeature

protected AbstractElevationsFeature(String name,
                                    String featureID,
                                    String largeIconPath,
                                    Registry registry)
Method Detail

addModel

protected void addModel(ElevationModel em)

addModels

protected void addModels(List<ElevationModel> models)

createModels

protected void createModels()

destroyElevationModel

protected void destroyElevationModel(ElevationModel em)

destroyElevationModels

protected void destroyElevationModels()

doAddModel

protected void doAddModel(ElevationModel em)

doCreateModels

protected abstract void doCreateModels()

getElevationModels

public List<ElevationModel> getElevationModels()

handleInterrupt

protected void handleInterrupt()

hasNetworkActivity

public boolean hasNetworkActivity()
Specified by:
hasNetworkActivity in interface NetworkActivitySignal.NetworkUser

initialize

public void initialize(Controller controller)
Specified by:
initialize in interface Initializable
Overrides:
initialize in class AbstractFeature

isOn

public boolean isOn()
Specified by:
isOn in interface Feature
Overrides:
isOn in class AbstractFeature

killPopulateLayerThread

protected void killPopulateLayerThread()

removeModel

protected void removeModel(ElevationModel em)

removeModels

protected void removeModels()

retrieveCapsDoc

protected WMSCapabilities retrieveCapsDoc(String urlString)

setOn

protected void setOn(boolean tf)

turnOn

public void turnOn(boolean tf)
Specified by:
turnOn in interface Feature
Overrides:
turnOn in class AbstractFeature

NASA World Wind