Class PropertyValue

  • All Implemented Interfaces:
    org.w3c.dom.css.CSSPrimitiveValue, org.w3c.dom.css.CSSValue

    public class PropertyValue
    extends java.lang.Object
    implements org.w3c.dom.css.CSSPrimitiveValue
    • Constructor Detail

      • PropertyValue

        public PropertyValue​(short type,
                             float floatValue,
                             java.lang.String cssText)
      • PropertyValue

        public PropertyValue​(FSColor color)
      • PropertyValue

        public PropertyValue​(short type,
                             java.lang.String stringValue,
                             java.lang.String cssText)
      • PropertyValue

        public PropertyValue​(IdentValue ident)
      • PropertyValue

        public PropertyValue​(java.util.List values)
      • PropertyValue

        public PropertyValue​(FSFunction function)
    • Method Detail

      • getCounterValue

        public org.w3c.dom.css.Counter getCounterValue()
                                                throws org.w3c.dom.DOMException
        Specified by:
        getCounterValue in interface org.w3c.dom.css.CSSPrimitiveValue
        Throws:
        org.w3c.dom.DOMException
      • getFloatValue

        public float getFloatValue​(short unitType)
                            throws org.w3c.dom.DOMException
        Specified by:
        getFloatValue in interface org.w3c.dom.css.CSSPrimitiveValue
        Throws:
        org.w3c.dom.DOMException
      • getFloatValue

        public float getFloatValue()
      • getPrimitiveType

        public short getPrimitiveType()
        Specified by:
        getPrimitiveType in interface org.w3c.dom.css.CSSPrimitiveValue
      • getRGBColorValue

        public org.w3c.dom.css.RGBColor getRGBColorValue()
                                                  throws org.w3c.dom.DOMException
        Specified by:
        getRGBColorValue in interface org.w3c.dom.css.CSSPrimitiveValue
        Throws:
        org.w3c.dom.DOMException
      • getRectValue

        public org.w3c.dom.css.Rect getRectValue()
                                          throws org.w3c.dom.DOMException
        Specified by:
        getRectValue in interface org.w3c.dom.css.CSSPrimitiveValue
        Throws:
        org.w3c.dom.DOMException
      • getStringValue

        public java.lang.String getStringValue()
                                        throws org.w3c.dom.DOMException
        Specified by:
        getStringValue in interface org.w3c.dom.css.CSSPrimitiveValue
        Throws:
        org.w3c.dom.DOMException
      • setFloatValue

        public void setFloatValue​(short unitType,
                                  float floatValue)
                           throws org.w3c.dom.DOMException
        Specified by:
        setFloatValue in interface org.w3c.dom.css.CSSPrimitiveValue
        Throws:
        org.w3c.dom.DOMException
      • setStringValue

        public void setStringValue​(short stringType,
                                   java.lang.String stringValue)
                            throws org.w3c.dom.DOMException
        Specified by:
        setStringValue in interface org.w3c.dom.css.CSSPrimitiveValue
        Throws:
        org.w3c.dom.DOMException
      • getCssText

        public java.lang.String getCssText()
        Specified by:
        getCssText in interface org.w3c.dom.css.CSSValue
      • getCssValueType

        public short getCssValueType()
        Specified by:
        getCssValueType in interface org.w3c.dom.css.CSSValue
      • setCssText

        public void setCssText​(java.lang.String cssText)
                        throws org.w3c.dom.DOMException
        Specified by:
        setCssText in interface org.w3c.dom.css.CSSValue
        Throws:
        org.w3c.dom.DOMException
      • getFSColor

        public FSColor getFSColor()
      • getIdentValue

        public IdentValue getIdentValue()
      • setIdentValue

        public void setIdentValue​(IdentValue identValue)
      • getPropertyValueType

        public short getPropertyValueType()
      • getOperator

        public Token getOperator()
      • setOperator

        public void setOperator​(Token operator)
      • getStringArrayValue

        public java.lang.String[] getStringArrayValue()
      • setStringArrayValue

        public void setStringArrayValue​(java.lang.String[] stringArrayValue)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getValues

        public java.util.List getValues()
      • getFingerprint

        public java.lang.String getFingerprint()