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.String
getRestorableState()
Returns an XML state document String describing the public attributes of this Pedestal.double
getScale()
double
getSpacingPixels()
void
restoreState(java.lang.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
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:
getRestorableState
in interfaceRestorable
- Overrides:
getRestorableState
in 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 bystateInXml
must be a well formed XML document String, or this will throw an IllegalArgumentException. Unknown structures instateInXml
are benign, because they will simply be ignored.- Specified by:
restoreState
in interfaceRestorable
- Overrides:
restoreState
in classUserFacingIcon
- Parameters:
stateInXml
- an XML document String describing a Pedestal.- Throws:
java.lang.IllegalArgumentException
- IfstateInXml
is null, or ifstateInXml
is not a well formed XML document String.
-
-