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
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.boolean
Get the gradient type.int
hashCode()
matches
(CSSValueSyntax syntax) Verify if this value matches the given grammar.Methods inherited from class io.sf.carte.doc.style.css.property.FunctionValue
getArguments, getComponent, getComponentCount, 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, 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, isPrimitiveValue, 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, getMinifiedCssText, getPrimitiveType, setCssText, writeCssText
-
Method Details
-
getGradientType
Description copied from interface:CSSGradientValue
Get the gradient type.- Specified by:
getGradientType
in interfaceCSSGradientValue
- Returns:
- the gradient type.
-
matches
Description copied from class:StyleValue
Verify if this value matches the given grammar.- Specified by:
matches
in interfaceCSSValue
- Overrides:
matches
in classStyleValue
- Parameters:
syntax
- the syntax.- Returns:
- the matching for the syntax.
-
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 interfaceCSSTypedValue
- Specified by:
clone
in interfaceCSSValue
- Overrides:
clone
in classFunctionValue
- Returns:
- a copy of this object.
-