@NotThreadSafe public class CSSPropertyNumber extends AbstractCSSProperty
| Constructor and Description |
|---|
CSSPropertyNumber(ECSSProperty eProp,
boolean bWithPercentage) |
CSSPropertyNumber(ECSSProperty eProp,
ECSSVendorPrefix eVendorPrefix,
ICSSPropertyCustomizer aCustomizer,
boolean bWithPercentage) |
CSSPropertyNumber(ECSSProperty eProp,
ICSSPropertyCustomizer aCustomizer,
boolean bWithPercentage) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
CSSPropertyNumber |
getClone(ECSSProperty eProp)
Get a clone of this property with another (or the same) base property.
|
CSSPropertyNumber |
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() |
getCustomizer, getMaximumArgumentCount, getMinimumArgumentCount, getMinimumCSSVersion, getProp, getPropertyName, getVendorPrefix, isValidPropertyValue, newValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitnewImportantValue, newImportantValue, newValue, newValue, newValuepublic CSSPropertyNumber(@Nonnull ECSSProperty eProp, boolean bWithPercentage)
public CSSPropertyNumber(@Nonnull ECSSProperty eProp, @Nullable ICSSPropertyCustomizer aCustomizer, boolean bWithPercentage)
public CSSPropertyNumber(@Nonnull ECSSProperty eProp, @Nullable ECSSVendorPrefix eVendorPrefix, @Nullable ICSSPropertyCustomizer aCustomizer, boolean bWithPercentage)
@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 CSSPropertyNumber getClone(@Nonnull ECSSProperty eProp)
ICSSPropertyeProp - The base property to use. May not be null.null@Nonnull public CSSPropertyNumber 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.