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
Modifier and TypeMethodDescriptionclone()Creates and returns a copy of this object.booleanGet the gradient type.inthashCode()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, writeCssTextMethods inherited from class io.sf.carte.doc.style.css.property.TypedValue
getCssValueType, getFloatValue, isNumberZeroMethods inherited from class io.sf.carte.doc.style.css.property.PrimitiveValue
getPrecedingComments, getPrimitiveType, getTrailingComments, isPrimitiveValue, isSubproperty, setExpectInteger, setSubpropertyMethods inherited from class io.sf.carte.doc.style.css.property.StyleValue
isSystemDefault, 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, isPrimitiveValue, setExpectIntegerMethods inherited from interface io.sf.carte.doc.style.css.CSSTypedValue
getFloatValue, getFloatValue, getStringValue, isCalculatedNumber, isNumberZero, setFloatValue, setStringValue, toRGBColor, toRGBColorValueMethods inherited from interface io.sf.carte.doc.style.css.CSSValue
getCssText, getCssValueType, getMinifiedCssText, getMinifiedCssText, getPrecedingComments, getPrimitiveType, getTrailingComments, setCssText, writeCssText
-
Method Details
-
getGradientType
Description copied from interface:CSSGradientValueGet the gradient type.- Specified by:
getGradientTypein interfaceCSSGradientValue- Returns:
- the gradient type.
-
matches
Description copied from class:StyleValueVerify if this value matches the given grammar.- Specified by:
matchesin interfaceCSSValue- Overrides:
matchesin classStyleValue- Parameters:
syntax- the syntax.- Returns:
- the matching for the syntax.
-
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 interfaceCSSTypedValue- Specified by:
clonein interfaceCSSValue- Overrides:
clonein classFunctionValue- Returns:
- a copy of this object.
-