Class GradientValue
java.lang.Object
io.sf.carte.doc.style.css.property.StyleValue
io.sf.carte.doc.style.css.property.PrimitiveValue
io.sf.carte.doc.style.css.property.TypedValue
io.sf.carte.doc.style.css.property.FunctionValue
io.sf.carte.doc.style.css.property.GradientValue
- All Implemented Interfaces:
CSSFunctionValue,CSSGradientValue,CSSPrimitiveValue,CSSTypedValue,CSSValue,Serializable,Cloneable
Implementation of a gradient value.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.sf.carte.doc.style.css.CSSGradientValue
CSSGradientValue.GradientTypeNested classes/interfaces inherited from interface io.sf.carte.doc.style.css.CSSValue
CSSValue.CssType, CSSValue.Type -
Method Summary
Methods inherited from class io.sf.carte.doc.style.css.property.FunctionValue
getArguments, getComponent, getCssText, getFunctionName, getMinifiedCssText, getStringValue, setComponent, writeCssTextMethods inherited from class io.sf.carte.doc.style.css.property.TypedValue
getCssValueType, getFloatValue, isCalculatedNumber, isNumberZero, setFloatValue, setStringValue, toRGBColorMethods inherited from class io.sf.carte.doc.style.css.property.PrimitiveValue
getPrimitiveType, isPrimitiveValue, isSubproperty, setExpectInteger, setSubpropertyMethods inherited from class io.sf.carte.doc.style.css.property.StyleValue
isSystemDefault, matches, setCssText, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.sf.carte.doc.style.css.CSSFunctionValue
getArguments, getFunctionNameMethods inherited from interface io.sf.carte.doc.style.css.CSSPrimitiveValue
getUnitType, isNegativeNumber, setExpectIntegerMethods inherited from interface io.sf.carte.doc.style.css.CSSTypedValue
getFloatValue, getStringValue, isCalculatedNumber, isNumberZero, setFloatValue, setStringValue, toRGBColor, toRGBColorValueMethods inherited from interface io.sf.carte.doc.style.css.CSSValue
getCssText, getCssValueType, getMinifiedCssText, getPrimitiveType, matches, setCssText, writeCssText
-
Method Details
-
getGradientType
Description copied from interface:CSSGradientValueGet the gradient type.- Specified by:
getGradientTypein interfaceCSSGradientValue- Returns:
- the gradient type.
-
hashCode
public int hashCode()- Overrides:
hashCodein classFunctionValue
-
equals
- Overrides:
equalsin classFunctionValue
-
clone
Description copied from class:TypedValueCreates and returns a copy of this object.The object will be the same except for the
subpropertyflag, that will be disabled in the clone object.- Specified by:
clonein interfaceCSSFunctionValue- Specified by:
clonein interfaceCSSGradientValue- Specified by:
clonein interfaceCSSValue- Overrides:
clonein classFunctionValue- Returns:
- a copy of this object.
-