NASA World Wind

gov.nasa.worldwind.render
Class Pedestal

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.render.UserFacingIcon
          extended by gov.nasa.worldwind.render.Pedestal
All Implemented Interfaces:
AVList, Movable, WWIcon, Restorable

public class Pedestal
extends UserFacingIcon


Field Summary
 
Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl
changeSupport
 
Constructor Summary
Pedestal(String iconPath, Position iconPosition)
           
 
Method Summary
 String getRestorableState()
          Returns an XML state document String describing the public attributes of this Pedestal.
 double getScale()
           
 double getSpacingPixels()
           
 void restoreState(String stateInXml)
          Restores publicly settable attribute values found in the specified XML state document String.
 void setScale(double scale)
           
 void setSpacingPixels(double spacingPixels)
           
 
Methods inherited from class gov.nasa.worldwind.render.UserFacingIcon
getBackgroundImage, getBackgroundScale, getHighlightScale, getImageSource, getPath, getPosition, getReferencePosition, getSize, getToolTipFont, getToolTipText, getToolTipTextColor, isAlwaysOnTop, isHighlighted, isShowToolTip, isVisible, move, moveTo, setAlwaysOnTop, setBackgroundImage, setBackgroundScale, setHighlighted, setHighlightScale, setImageSource, setPosition, setShowToolTip, setSize, setToolTipFont, setToolTipText, setToolTipTextColor, setVisible, toString
 
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pedestal

public Pedestal(String iconPath,
                Position iconPosition)
Method Detail

getRestorableState

public String getRestorableState()
Returns an XML state document String describing the public attributes of this Pedestal.

Specified by:
getRestorableState in interface Restorable
Overrides:
getRestorableState in class UserFacingIcon
Returns:
XML state document string describing this Pedestal.

getScale

public double getScale()

getSpacingPixels

public double getSpacingPixels()

restoreState

public void restoreState(String stateInXml)
Restores publicly settable attribute values found in the specified XML state document String. The document specified by stateInXml must be a well formed XML document String, or this will throw an IllegalArgumentException. Unknown structures in stateInXml are benign, because they will simply be ignored.

Specified by:
restoreState in interface Restorable
Overrides:
restoreState in class UserFacingIcon
Parameters:
stateInXml - an XML document String describing a Pedestal.
Throws:
IllegalArgumentException - If stateInXml is null, or if stateInXml is not a well formed XML document String.

setScale

public void setScale(double scale)

setSpacingPixels

public void setSpacingPixels(double spacingPixels)

NASA World Wind