public enum ECSSPseudoClass extends java.lang.Enum<ECSSPseudoClass>
List taken from http://www.w3schools.com/css/css_pseudo_classes.asp.
Enum Constant and Description |
---|
ACTIVE
Adds special style to an activated element.
|
FIRST_CHILD
Adds special style to an element that is the first child of some other
element.
|
FOCUS
Adds special style to an element while the element has focus.
|
HOVER
Adds special style to an element when you mouse over it.
|
LINK
Adds special style to an unvisited link.
|
NONE
Used to indicate the lack of any class.
|
VISITED
Adds special style to a visited link.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of the pseudo class including the leading colon.
|
java.lang.String |
toString() |
static ECSSPseudoClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ECSSPseudoClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECSSPseudoClass NONE
public static final ECSSPseudoClass ACTIVE
public static final ECSSPseudoClass FOCUS
public static final ECSSPseudoClass HOVER
public static final ECSSPseudoClass LINK
public static final ECSSPseudoClass VISITED
public static final ECSSPseudoClass FIRST_CHILD
public static ECSSPseudoClass[] values()
for (ECSSPseudoClass c : ECSSPseudoClass.values()) System.out.println(c);
public static ECSSPseudoClass valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<ECSSPseudoClass>