@NotThreadSafe public class CSSPropertyEnumOrNumber extends CSSPropertyEnum
| Constructor and Description |
|---|
CSSPropertyEnumOrNumber(ECSSProperty eProp,
boolean bWithPercentage,
Iterable<String> aEnumValues) |
CSSPropertyEnumOrNumber(ECSSProperty eProp,
boolean bWithPercentage,
String... aEnumValues) |
CSSPropertyEnumOrNumber(ECSSProperty eProp,
ECSSVendorPrefix eVendorPrefix,
ICSSPropertyCustomizer aCustomizer,
boolean bWithPercentage,
Iterable<String> aEnumValues) |
CSSPropertyEnumOrNumber(ECSSProperty eProp,
ECSSVendorPrefix eVendorPrefix,
ICSSPropertyCustomizer aCustomizer,
boolean bWithPercentage,
String... aEnumValues) |
CSSPropertyEnumOrNumber(ECSSProperty eProp,
ICSSPropertyCustomizer aCustomizer,
boolean bWithPercentage,
Iterable<String> aEnumValues) |
CSSPropertyEnumOrNumber(ECSSProperty eProp,
ICSSPropertyCustomizer aCustomizer,
boolean bWithPercentage,
String... aEnumValues) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
CSSPropertyEnumOrNumber |
getClone(ECSSProperty eProp)
Get a clone of this property with another (or the same) base property.
|
CSSPropertyEnumOrNumber |
getClone(ECSSVendorPrefix eVendorPrefix)
Get a clone of this property with the same base property but a different
vendor prefix.
|
int |
hashCode() |
boolean |
isValidValue(String sValue)
Check if the passed value is valid for this property according to the
defined rule.
|
String |
toString() |
directGetEnumValuesgetCustomizer, getMaximumArgumentCount, getMinimumArgumentCount, getMinimumCSSVersion, getProp, getPropertyName, getVendorPrefix, isValidPropertyValue, newValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitnewImportantValue, newImportantValue, newValue, newValue, newValuepublic CSSPropertyEnumOrNumber(@Nonnull ECSSProperty eProp, boolean bWithPercentage, @Nonnull @Nonempty String... aEnumValues)
public CSSPropertyEnumOrNumber(@Nonnull ECSSProperty eProp, @Nullable ICSSPropertyCustomizer aCustomizer, boolean bWithPercentage, @Nonnull @Nonempty String... aEnumValues)
public CSSPropertyEnumOrNumber(@Nonnull ECSSProperty eProp, @Nullable ECSSVendorPrefix eVendorPrefix, @Nullable ICSSPropertyCustomizer aCustomizer, boolean bWithPercentage, @Nonnull @Nonempty String... aEnumValues)
public CSSPropertyEnumOrNumber(@Nonnull ECSSProperty eProp, boolean bWithPercentage, @Nonnull @Nonempty Iterable<String> aEnumValues)
public CSSPropertyEnumOrNumber(@Nonnull ECSSProperty eProp, @Nullable ICSSPropertyCustomizer aCustomizer, boolean bWithPercentage, @Nonnull @Nonempty Iterable<String> aEnumValues)
public CSSPropertyEnumOrNumber(@Nonnull ECSSProperty eProp, @Nullable ECSSVendorPrefix eVendorPrefix, @Nullable ICSSPropertyCustomizer aCustomizer, boolean bWithPercentage, @Nonnull @Nonempty Iterable<String> aEnumValues)
@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 CSSPropertyEnumOrNumber getClone(@Nonnull ECSSProperty eProp)
ICSSPropertygetClone in interface ICSSPropertygetClone in class CSSPropertyEnumeProp - The base property to use. May not be null.null@Nonnull public CSSPropertyEnumOrNumber 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.