public class Pedestal extends UserFacingIcon
backgroundTexture, dragEnabled, draggableSupport, imageTexture
Constructor and Description |
---|
Pedestal(String iconPath,
Position iconPosition) |
Modifier and Type | Method and Description |
---|---|
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) |
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 String getRestorableState()
getRestorableState
in interface Restorable
getRestorableState
in class UserFacingIcon
public double getScale()
public double getSpacingPixels()
public void restoreState(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.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)