NASA World Wind

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

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

public class Crosshair
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
Crosshair(Registry registry)
           
 
Method Summary
protected  Layer createLayer()
           
protected  Layer doCreateLayer()
           
 void turnOn(boolean tf)
           
 
Methods inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractOnDemandLayerFeature
addLayer, isOn, isTwoState, removeLayer
 
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

Crosshair

public Crosshair(Registry registry)
Method Detail

createLayer

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

doCreateLayer

protected Layer doCreateLayer()

turnOn

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

NASA World Wind