Class Pedestal

    • 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 interface Restorable
        Overrides:
        getRestorableState in class UserFacingIcon
        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 by 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.
        Specified by:
        restoreState in interface Restorable
        Overrides:
        restoreState in class UserFacingIcon
        Parameters:
        stateInXml - an XML document String describing a Pedestal.
        Throws:
        java.lang.IllegalArgumentException - If stateInXml is null, or if stateInXml is not a well formed XML document String.