@NotThreadSafe public class CSSPropertyEnumOrURL extends CSSPropertyEnum
Constructor and Description |
---|
CSSPropertyEnumOrURL(ECSSProperty eProp,
ECSSVendorPrefix eVendorPrefix,
ICSSPropertyCustomizer aCustomizer,
Iterable<String> aEnumValues) |
CSSPropertyEnumOrURL(ECSSProperty eProp,
ECSSVendorPrefix eVendorPrefix,
ICSSPropertyCustomizer aCustomizer,
String... aEnumValues) |
CSSPropertyEnumOrURL(ECSSProperty eProp,
ICSSPropertyCustomizer aCustomizer,
Iterable<String> aEnumValues) |
CSSPropertyEnumOrURL(ECSSProperty eProp,
ICSSPropertyCustomizer aCustomizer,
String... aEnumValues) |
CSSPropertyEnumOrURL(ECSSProperty eProp,
Iterable<String> aEnumValues) |
CSSPropertyEnumOrURL(ECSSProperty eProp,
String... aEnumValues) |
Modifier and Type | Method and Description |
---|---|
CSSPropertyEnumOrURL |
getClone(ECSSProperty eProp)
Get a clone of this property with another (or the same) base property.
|
CSSPropertyEnumOrURL |
getClone(ECSSVendorPrefix eVendorPrefix)
Get a clone of this property with the same base property but a different
vendor prefix.
|
boolean |
isValidValue(String sValue)
Check if the passed value is valid for this property according to the
defined rule.
|
directGetEnumValues, equals, hashCode, toString
getCustomizer, getMaximumArgumentCount, getMinimumArgumentCount, getMinimumCSSVersion, getProp, getPropertyName, getVendorPrefix, isValidPropertyValue, newImportantValue, newImportantValue, newValue, newValue, newValue, newValue
public CSSPropertyEnumOrURL(@Nonnull ECSSProperty eProp, @Nonnull@Nonempty String... aEnumValues)
public CSSPropertyEnumOrURL(@Nonnull ECSSProperty eProp, @Nullable ICSSPropertyCustomizer aCustomizer, @Nonnull@Nonempty String... aEnumValues)
public CSSPropertyEnumOrURL(@Nonnull ECSSProperty eProp, @Nullable ECSSVendorPrefix eVendorPrefix, @Nullable ICSSPropertyCustomizer aCustomizer, @Nonnull@Nonempty String... aEnumValues)
public CSSPropertyEnumOrURL(@Nonnull ECSSProperty eProp, @Nonnull@Nonempty Iterable<String> aEnumValues)
public CSSPropertyEnumOrURL(@Nonnull ECSSProperty eProp, @Nullable ICSSPropertyCustomizer aCustomizer, @Nonnull@Nonempty Iterable<String> aEnumValues)
public CSSPropertyEnumOrURL(@Nonnull ECSSProperty eProp, @Nullable ECSSVendorPrefix eVendorPrefix, @Nullable ICSSPropertyCustomizer aCustomizer, @Nonnull@Nonempty Iterable<String> aEnumValues)
@OverridingMethodsMustInvokeSuper public boolean isValidValue(@Nullable String sValue)
ICSSProperty
isValidValue
in interface ICSSProperty
isValidValue
in class CSSPropertyEnum
sValue
- The value to check. May be null
.true
if the value is valid, false
otherwise@Nonnull public CSSPropertyEnumOrURL getClone(@Nonnull ECSSProperty eProp)
ICSSProperty
getClone
in interface ICSSProperty
getClone
in class CSSPropertyEnum
eProp
- The base property to use. May not be null
.null
@Nonnull public CSSPropertyEnumOrURL getClone(@Nullable ECSSVendorPrefix eVendorPrefix)
ICSSProperty
getClone
in interface ICSSProperty
getClone
in class CSSPropertyEnum
eVendorPrefix
- The new vendor prefix to use. May be null
.null
Copyright © 2014–2015 Philip Helger. All rights reserved.