|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ECSSPseudoClass>
edu.tum.cs.commons.html.ECSSPseudoClass
public enum ECSSPseudoClass
Enumeration of pseudo classes supported.
List taken from http://www.w3schools.com/css/css_pseudo_classes.asp.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<ECSSPseudoClass>
|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |