Enum Class MozColumnRuleStyle
- All Implemented Interfaces:
CssProperty
,Serializable
,Cloneable
,Comparable<MozColumnRuleStyle>
,Constable
-moz-column-rule-style:
none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset
|initial|inherit;
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MozColumnRuleStyle
gets the corresponding object for the givencssValue
or null for invalid cssValue.static boolean
checks whether the given givencssValue
is valid for this css property, i.e.toString()
static MozColumnRuleStyle
Returns the enum constant of this class with the specified name.static MozColumnRuleStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
-
HIDDEN
-
DOTTED
-
DASHED
-
SOLID
-
DOUBLE
-
GROOVE
-
RIDGE
-
INSET
-
OUTSET
-
INITIAL
-
INHERIT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCssName
- Specified by:
getCssName
in interfaceCssProperty
- Returns:
- the name portion in style, eg
align-content
for stylealign-content: center
.
-
getCssValue
- Specified by:
getCssValue
in interfaceCssProperty
- Returns:
- the value portion in style, eg
center
for stylealign-content: center
.
-
toString
- Overrides:
toString
in classEnum<MozColumnRuleStyle>
-
isValid
checks whether the given givencssValue
is valid for this css property, i.e. whether it can have a corresponding object from it.- Parameters:
cssValue
-- Returns:
- true if the given
cssValue
has a corresponding object. - Since:
- 1.0.0
-
getThis
gets the corresponding object for the givencssValue
or null for invalid cssValue.- Parameters:
cssValue
- the css property value without including!important
in it.- Returns:
- the corresponding object for the given
cssValue
or null for invalid cssValue. - Since:
- 1.0.0
-