Package gov.nasa.worldwind.render
Class Pedestal
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.render.UserFacingIcon
-
- gov.nasa.worldwind.render.Pedestal
-
- All Implemented Interfaces:
AVList,Draggable,Movable,WWIcon,Restorable
public class Pedestal extends UserFacingIcon
-
-
Field Summary
-
Fields inherited from class gov.nasa.worldwind.render.UserFacingIcon
backgroundTexture, dragEnabled, draggableSupport, imageTexture
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetRestorableState()Returns an XML state document String describing the public attributes of this Pedestal.doublegetScale()doublegetSpacingPixels()voidrestoreState(java.lang.String stateInXml)Restores publicly settable attribute values found in the specified XML state document String.voidsetScale(double scale)voidsetSpacingPixels(double spacingPixels)-
Methods inherited from class gov.nasa.worldwind.render.UserFacingIcon
doDrag, drag, getBackgroundImage, getBackgroundScale, getBackgroundTexture, getHighlightScale, getImageSource, getImageTexture, getPath, getPosition, getReferencePosition, getSize, getToolTipFont, getToolTipOffset, getToolTipText, getToolTipTextColor, isAlwaysOnTop, isDragEnabled, isHighlighted, isShowToolTip, isVisible, move, moveTo, setAlwaysOnTop, setBackgroundImage, setBackgroundScale, setDragEnabled, setHighlighted, setHighlightScale, setImageSource, setPosition, setShowToolTip, setSize, setToolTipFont, setToolTipOffset, setToolTipText, setToolTipTextColor, setVisible, toString
-
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gov.nasa.worldwind.avlist.AVList
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
-
-
-
-
Constructor Detail
-
Pedestal
public Pedestal(java.lang.String iconPath, Position iconPosition)
-
-
Method Detail
-
getSpacingPixels
public double getSpacingPixels()
-
setSpacingPixels
public void setSpacingPixels(double spacingPixels)
-
getScale
public double getScale()
-
setScale
public void setScale(double scale)
-
getRestorableState
public java.lang.String getRestorableState()
Returns an XML state document String describing the public attributes of this Pedestal.- Specified by:
getRestorableStatein interfaceRestorable- Overrides:
getRestorableStatein classUserFacingIcon- Returns:
- XML state document string describing this Pedestal.
-
restoreState
public void restoreState(java.lang.String stateInXml)
Restores publicly settable attribute values found in the specified XML state document String. The document specified bystateInXmlmust be a well formed XML document String, or this will throw an IllegalArgumentException. Unknown structures instateInXmlare benign, because they will simply be ignored.- Specified by:
restoreStatein interfaceRestorable- Overrides:
restoreStatein classUserFacingIcon- Parameters:
stateInXml- an XML document String describing a Pedestal.- Throws:
java.lang.IllegalArgumentException- IfstateInXmlis null, or ifstateInXmlis not a well formed XML document String.
-
-