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.GradientType
Nested 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, writeCssText
Methods inherited from class io.sf.carte.doc.style.css.property.TypedValue
getCssValueType, getFloatValue, isCalculatedNumber, isNumberZero, setFloatValue, setStringValue, toRGBColor
Methods inherited from class io.sf.carte.doc.style.css.property.PrimitiveValue
getPrimitiveType, isPrimitiveValue, isSubproperty, setExpectInteger, setSubproperty
Methods inherited from class io.sf.carte.doc.style.css.property.StyleValue
isSystemDefault, matches, setCssText, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.sf.carte.doc.style.css.CSSFunctionValue
getArguments, getFunctionName
Methods inherited from interface io.sf.carte.doc.style.css.CSSPrimitiveValue
getUnitType, isNegativeNumber, setExpectInteger
Methods inherited from interface io.sf.carte.doc.style.css.CSSTypedValue
getFloatValue, getStringValue, isCalculatedNumber, isNumberZero, setFloatValue, setStringValue, toRGBColor, toRGBColorValue
Methods inherited from interface io.sf.carte.doc.style.css.CSSValue
getCssText, getCssValueType, getMinifiedCssText, getPrimitiveType, matches, setCssText, writeCssText
-
Method Details
-
getGradientType
Description copied from interface:CSSGradientValue
Get the gradient type.- Specified by:
getGradientType
in interfaceCSSGradientValue
- Returns:
- the gradient type.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classFunctionValue
-
equals
- Overrides:
equals
in classFunctionValue
-
clone
Description copied from class:TypedValue
Creates and returns a copy of this object.The object will be the same except for the
subproperty
flag, that will be disabled in the clone object.- Specified by:
clone
in interfaceCSSFunctionValue
- Specified by:
clone
in interfaceCSSGradientValue
- Specified by:
clone
in interfaceCSSValue
- Overrides:
clone
in classFunctionValue
- Returns:
- a copy of this object.
-