Class AbstractElevationsFeature
- java.lang.Object
-
- javax.swing.AbstractAction
-
- gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
-
- gov.nasa.worldwindx.applications.worldwindow.features.AbstractElevationsFeature
-
- All Implemented Interfaces:
Initializable
,Feature
,NetworkActivitySignal.NetworkUser
,java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public abstract class AbstractElevationsFeature extends AbstractFeature implements NetworkActivitySignal.NetworkUser
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Thread
createModelsThread
protected java.util.List<ElevationModel>
elevationModels
protected boolean
on
-
Fields inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
controller, featureID
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractElevationsFeature(java.lang.String name, java.lang.String featureID, java.lang.String largeIconPath, Registry registry)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addModel(ElevationModel em)
protected void
addModels(java.util.List<ElevationModel> models)
protected void
createModels()
protected void
destroyElevationModel(ElevationModel em)
protected void
destroyElevationModels()
protected void
doAddModel(ElevationModel em)
protected abstract void
doCreateModels()
java.util.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(java.lang.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
-
-
-
-
Field Detail
-
on
protected boolean on
-
elevationModels
protected java.util.List<ElevationModel> elevationModels
-
createModelsThread
protected java.lang.Thread createModelsThread
-
-
Constructor Detail
-
AbstractElevationsFeature
protected AbstractElevationsFeature(java.lang.String name, java.lang.String featureID, java.lang.String largeIconPath, Registry registry)
-
-
Method Detail
-
doCreateModels
protected abstract void doCreateModels()
-
initialize
public void initialize(Controller controller)
- Specified by:
initialize
in interfaceInitializable
- Overrides:
initialize
in classAbstractFeature
-
hasNetworkActivity
public boolean hasNetworkActivity()
- Specified by:
hasNetworkActivity
in interfaceNetworkActivitySignal.NetworkUser
-
isOn
public boolean isOn()
- Specified by:
isOn
in interfaceFeature
- Overrides:
isOn
in classAbstractFeature
-
setOn
protected void setOn(boolean tf)
-
turnOn
public void turnOn(boolean tf)
- Specified by:
turnOn
in interfaceFeature
- Overrides:
turnOn
in classAbstractFeature
-
getElevationModels
public java.util.List<ElevationModel> getElevationModels()
-
handleInterrupt
protected void handleInterrupt()
-
destroyElevationModels
protected void destroyElevationModels()
-
destroyElevationModel
protected void destroyElevationModel(ElevationModel em)
-
removeModels
protected void removeModels()
-
addModels
protected void addModels(java.util.List<ElevationModel> models)
-
removeModel
protected void removeModel(ElevationModel em)
-
killPopulateLayerThread
protected void killPopulateLayerThread()
-
createModels
protected void createModels()
-
addModel
protected void addModel(ElevationModel em)
-
doAddModel
protected void doAddModel(ElevationModel em)
-
retrieveCapsDoc
protected WMSCapabilities retrieveCapsDoc(java.lang.String urlString)
-
-