Package com.helger.css.property
Class AbstractCSSPropertyEnums
java.lang.Object
com.helger.css.property.AbstractCSSProperty
com.helger.css.property.CSSPropertyEnum
com.helger.css.property.AbstractCSSPropertyEnums
- All Implemented Interfaces:
ICSSVersionAware,ICSSProperty
- Direct Known Subclasses:
CSSPropertyEnumOrColors,CSSPropertyEnums
CSS properties with a dynamic number of entries.
- Author:
- Philip Helger
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractCSSPropertyEnums(ECSSProperty eProp, ECSSVendorPrefix eVendorPrefix, ICSSPropertyCustomizer aCustomizer, int nMinArgCount, int nMaxArgCount, Iterable<String> aEnumValues) AbstractCSSPropertyEnums(ECSSProperty eProp, ECSSVendorPrefix eVendorPrefix, ICSSPropertyCustomizer aCustomizer, int nMinArgCount, int nMaxArgCount, String... aEnumValues) -
Method Summary
Methods inherited from class com.helger.css.property.CSSPropertyEnum
directGetEnumValues, getClone, getClone, isValidValueMethods inherited from class com.helger.css.property.AbstractCSSProperty
getCustomizer, getMinimumCSSVersion, getProp, getPropertyName, getVendorPrefix, isValidPropertyValue, newValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.css.property.ICSSProperty
newImportantValue, newImportantValue, newValue, newValue, newValue
-
Constructor Details
-
AbstractCSSPropertyEnums
public AbstractCSSPropertyEnums(@Nonnull ECSSProperty eProp, @Nullable ECSSVendorPrefix eVendorPrefix, @Nullable ICSSPropertyCustomizer aCustomizer, @Nonnegative int nMinArgCount, @Nonnegative int nMaxArgCount, @Nonnull @Nonempty String... aEnumValues) -
AbstractCSSPropertyEnums
public AbstractCSSPropertyEnums(@Nonnull ECSSProperty eProp, @Nullable ECSSVendorPrefix eVendorPrefix, @Nullable ICSSPropertyCustomizer aCustomizer, @Nonnegative int nMinArgCount, @Nonnegative int nMaxArgCount, @Nonnull @Nonempty Iterable<String> aEnumValues)
-
-
Method Details
-
getMinimumArgumentCount
public final int getMinimumArgumentCount()- Specified by:
getMinimumArgumentCountin interfaceICSSProperty- Overrides:
getMinimumArgumentCountin classAbstractCSSProperty- Returns:
- The minimum number of arguments for this property.
-
getMaximumArgumentCount
public final int getMaximumArgumentCount()- Specified by:
getMaximumArgumentCountin interfaceICSSProperty- Overrides:
getMaximumArgumentCountin classAbstractCSSProperty- Returns:
- The maximum number of arguments for this property.
-
equals
- Overrides:
equalsin classCSSPropertyEnum
-
hashCode
public int hashCode()- Overrides:
hashCodein classCSSPropertyEnum
-
toString
- Overrides:
toStringin classCSSPropertyEnum
-