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, toStringaddPropertyChangeListener, 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, setValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuespublic String getRestorableState()
getRestorableState in interface RestorablegetRestorableState in class UserFacingIconpublic 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 RestorablerestoreState in class UserFacingIconstateInXml - 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)