@NotThreadSafe public class CSSPropertyEnumOrNumbers extends CSSPropertyEnum
| Constructor and Description |
|---|
CSSPropertyEnumOrNumbers(ECSSProperty eProp,
boolean bWithPercentage,
int nMinNumbers,
int nMaxNumbers,
Iterable<String> aEnumValues) |
CSSPropertyEnumOrNumbers(ECSSProperty eProp,
boolean bWithPercentage,
int nMinNumbers,
int nMaxNumbers,
String... aEnumValues) |
CSSPropertyEnumOrNumbers(ECSSProperty eProp,
ECSSVendorPrefix eVendorPrefix,
ICSSPropertyCustomizer aCustomizer,
boolean bWithPercentage,
int nMinNumbers,
int nMaxNumbers,
Iterable<String> aEnumValues) |
CSSPropertyEnumOrNumbers(ECSSProperty eProp,
ECSSVendorPrefix eVendorPrefix,
ICSSPropertyCustomizer aCustomizer,
boolean bWithPercentage,
int nMinNumbers,
int nMaxNumbers,
String... aEnumValues) |
CSSPropertyEnumOrNumbers(ECSSProperty eProp,
ICSSPropertyCustomizer aCustomizer,
boolean bWithPercentage,
int nMinNumbers,
int nMaxNumbers,
Iterable<String> aEnumValues) |
CSSPropertyEnumOrNumbers(ECSSProperty eProp,
ICSSPropertyCustomizer aCustomizer,
boolean bWithPercentage,
int nMinNumbers,
int nMaxNumbers,
String... aEnumValues) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
CSSPropertyEnumOrNumbers |
getClone(ECSSProperty eProp)
Get a clone of this property with another (or the same) base property.
|
CSSPropertyEnumOrNumbers |
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() |
directGetEnumValuesgetCustomizer, getMinimumCSSVersion, getProp, getPropertyName, getVendorPrefix, isValidPropertyValue, newValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitnewImportantValue, newImportantValue, newValue, newValue, newValuepublic CSSPropertyEnumOrNumbers(@Nonnull ECSSProperty eProp, boolean bWithPercentage, @Nonnegative int nMinNumbers, @Nonnegative int nMaxNumbers, @Nonnull @Nonempty String... aEnumValues)
public CSSPropertyEnumOrNumbers(@Nonnull ECSSProperty eProp, @Nullable ICSSPropertyCustomizer aCustomizer, boolean bWithPercentage, @Nonnegative int nMinNumbers, @Nonnegative int nMaxNumbers, @Nonnull @Nonempty String... aEnumValues)
public CSSPropertyEnumOrNumbers(@Nonnull ECSSProperty eProp, @Nullable ECSSVendorPrefix eVendorPrefix, @Nullable ICSSPropertyCustomizer aCustomizer, boolean bWithPercentage, @Nonnegative int nMinNumbers, @Nonnegative int nMaxNumbers, @Nonnull @Nonempty String... aEnumValues)
public CSSPropertyEnumOrNumbers(@Nonnull ECSSProperty eProp, boolean bWithPercentage, @Nonnegative int nMinNumbers, @Nonnegative int nMaxNumbers, @Nonnull @Nonempty Iterable<String> aEnumValues)
public CSSPropertyEnumOrNumbers(@Nonnull ECSSProperty eProp, @Nullable ICSSPropertyCustomizer aCustomizer, boolean bWithPercentage, @Nonnegative int nMinNumbers, @Nonnegative int nMaxNumbers, @Nonnull @Nonempty Iterable<String> aEnumValues)
public CSSPropertyEnumOrNumbers(@Nonnull ECSSProperty eProp, @Nullable ECSSVendorPrefix eVendorPrefix, @Nullable ICSSPropertyCustomizer aCustomizer, boolean bWithPercentage, @Nonnegative int nMinNumbers, @Nonnegative int nMaxNumbers, @Nonnull @Nonempty Iterable<String> aEnumValues)
public int getMinimumArgumentCount()
getMinimumArgumentCount in interface ICSSPropertygetMinimumArgumentCount in class AbstractCSSPropertypublic int getMaximumArgumentCount()
getMaximumArgumentCount in interface ICSSPropertygetMaximumArgumentCount in class AbstractCSSProperty@OverridingMethodsMustInvokeSuper public boolean isValidValue(@Nullable String sValue)
ICSSPropertyisValidValue in interface ICSSPropertyisValidValue in class CSSPropertyEnumsValue - The value to check. May be null.true if the value is valid, false
otherwise@Nonnull public CSSPropertyEnumOrNumbers getClone(@Nonnull ECSSProperty eProp)
ICSSPropertygetClone in interface ICSSPropertygetClone in class CSSPropertyEnumeProp - The base property to use. May not be null.null@Nonnull public CSSPropertyEnumOrNumbers getClone(@Nullable ECSSVendorPrefix eVendorPrefix)
ICSSPropertygetClone in interface ICSSPropertygetClone in class CSSPropertyEnumeVendorPrefix - The new vendor prefix to use. May be null.nullpublic boolean equals(Object o)
equals in class CSSPropertyEnumpublic int hashCode()
hashCode in class CSSPropertyEnumpublic String toString()
toString in class CSSPropertyEnumCopyright © 2014–2022 Philip Helger. All rights reserved.