NASA World Wind

gov.nasa.worldwindx.applications.worldwindow.core
Class WWPanelImpl

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
          extended by gov.nasa.worldwindx.applications.worldwindow.core.WWPanelImpl
All Implemented Interfaces:
Initializable, WWOPanel, WWPanel, Feature, ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action

public class WWPanelImpl
extends AbstractFeature
implements WWPanel

See Also:
Serialized Form

Field Summary
 
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
WWPanelImpl(Registry registry)
           
 
Method Summary
 void addLayer(Layer layer)
           
 JPanel getJPanel()
           
 Dimension getSize()
           
 WorldWindow getWWd()
           
 void initialize(Controller controller)
           
 void insertAfterNamedLayer(Layer layer, String targetLayerName)
           
 void insertBeforeNamedLayer(Layer layer, String targetLayerName)
           
 void removeLayer(Layer layer)
           
 
Methods inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
actionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, isOn, isTwoState, propertyChange, register, setMenuAccellerator, turnOn
 
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 gov.nasa.worldwindx.applications.worldwindow.core.Initializable
isInitialized
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 

Constructor Detail

WWPanelImpl

public WWPanelImpl(Registry registry)
Method Detail

addLayer

public void addLayer(Layer layer)
Specified by:
addLayer in interface WWPanel

getJPanel

public JPanel getJPanel()
Specified by:
getJPanel in interface WWOPanel
Specified by:
getJPanel in interface WWPanel

getSize

public Dimension getSize()
Specified by:
getSize in interface WWPanel

getWWd

public WorldWindow getWWd()
Specified by:
getWWd in interface WWPanel

initialize

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

insertAfterNamedLayer

public void insertAfterNamedLayer(Layer layer,
                                  String targetLayerName)
Specified by:
insertAfterNamedLayer in interface WWPanel

insertBeforeNamedLayer

public void insertBeforeNamedLayer(Layer layer,
                                   String targetLayerName)
Specified by:
insertBeforeNamedLayer in interface WWPanel

removeLayer

public void removeLayer(Layer layer)
Specified by:
removeLayer in interface WWPanel

NASA World Wind