public class Pedestal extends UserFacingIcon
backgroundTexture, dragEnabled, draggableSupport, imageTexture
Constructor and Description |
---|
Pedestal(java.lang.String iconPath,
Position iconPosition) |
Modifier and Type | Method and 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) |
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
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
public Pedestal(java.lang.String iconPath, Position iconPosition)
public java.lang.String getRestorableState()
getRestorableState
in interface Restorable
getRestorableState
in class UserFacingIcon
public double getScale()
public double getSpacingPixels()
public void restoreState(java.lang.String stateInXml)
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.restoreState
in interface Restorable
restoreState
in class UserFacingIcon
stateInXml
- an XML document String describing a Pedestal.java.lang.IllegalArgumentException
- If stateInXml
is null, or if stateInXml
is not
a well formed XML document String.public void setScale(double scale)
public void setSpacingPixels(double spacingPixels)