@NotThreadSafe public class CSSPropertyColors extends AbstractCSSProperty
| Constructor and Description |
|---|
CSSPropertyColors(ECSSProperty eProp,
ECSSVendorPrefix eVendorPrefix,
ICSSPropertyCustomizer aCustomizer,
int nMinArgCount,
int nMaxArgCount) |
CSSPropertyColors(ECSSProperty eProp,
ICSSPropertyCustomizer aCustomizer,
int nMinArgCount,
int nMaxArgCount) |
CSSPropertyColors(ECSSProperty eProp,
int nMinArgCount,
int nMaxArgCount) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
CSSPropertyColors |
getClone(ECSSProperty eProp)
Get a clone of this property with another (or the same) base property.
|
CSSPropertyColors |
getClone(ECSSVendorPrefix eVendorPrefix)
Get a clone of this property with the same base property but a different
vendor prefix.
|
int |
getMaximumArgumentCount() |
int |
getMinimumArgumentCount() |
int |
hashCode() |
boolean |
isValidValue(String sValue)
Check if the passed value is valid for this property according to the
defined rule.
|
String |
toString() |
getCustomizer, getMinimumCSSVersion, getProp, getPropertyName, getVendorPrefix, isValidPropertyValue, newValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitnewImportantValue, newImportantValue, newValue, newValue, newValuepublic CSSPropertyColors(@Nonnull ECSSProperty eProp, @Nonnegative int nMinArgCount, @Nonnegative int nMaxArgCount)
public CSSPropertyColors(@Nonnull ECSSProperty eProp, @Nullable ICSSPropertyCustomizer aCustomizer, @Nonnegative int nMinArgCount, @Nonnegative int nMaxArgCount)
public CSSPropertyColors(@Nonnull ECSSProperty eProp, @Nullable ECSSVendorPrefix eVendorPrefix, @Nullable ICSSPropertyCustomizer aCustomizer, @Nonnegative int nMinArgCount, @Nonnegative int nMaxArgCount)
@Nonnegative public final int getMinimumArgumentCount()
getMinimumArgumentCount in interface ICSSPropertygetMinimumArgumentCount in class AbstractCSSProperty@Nonnegative public final int getMaximumArgumentCount()
getMaximumArgumentCount in interface ICSSPropertygetMaximumArgumentCount in class AbstractCSSProperty@OverridingMethodsMustInvokeSuper public boolean isValidValue(@Nullable String sValue)
ICSSPropertyisValidValue in interface ICSSPropertyisValidValue in class AbstractCSSPropertysValue - The value to check. May be null.true if the value is valid, false
otherwise@Nonnull public CSSPropertyColors getClone(@Nonnull ECSSProperty eProp)
ICSSPropertyeProp - The base property to use. May not be null.null@Nonnull public CSSPropertyColors getClone(@Nullable ECSSVendorPrefix eVendorPrefix)
ICSSPropertyeVendorPrefix - The new vendor prefix to use. May be null.nullpublic boolean equals(Object o)
equals in class AbstractCSSPropertypublic int hashCode()
hashCode in class AbstractCSSPropertypublic String toString()
toString in class AbstractCSSPropertyCopyright © 2014–2022 Philip Helger. All rights reserved.