|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PseudoSelector>
com.osbcp.css.constants.PseudoSelector
public enum PseudoSelector
Values for the pseudo selectors, classes and elements.
Enum Constant Summary | |
---|---|
ACTIVE
Example "a:active" selects the active link. |
|
AFTER
Example "p:after" insert content after every <p> element. |
|
BEFORE
Example "p:before" insert content before every <p> element. |
|
FIRST_CHILD
Example "p:first-child" selects every <p> elements that is the first child of its parent. |
|
FIRST_LETTER
Example "p:first-letter" selects the first letter of every <p> element. |
|
FIRST_LINE
Example "p:first-line" selects the first line of every <p> element. |
|
FOCUS
Example "input:focus " selects the input element which has focus. |
|
HOVER
Example "a:hover" selects links on mouse over. |
|
LINK
Example "a:link" selects all unvisited links. |
|
VISITED
Example "a:visited" selects all visited links. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static PseudoSelector |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PseudoSelector[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PseudoSelector LINK
public static final PseudoSelector VISITED
public static final PseudoSelector ACTIVE
public static final PseudoSelector HOVER
public static final PseudoSelector FOCUS
public static final PseudoSelector FIRST_LETTER
public static final PseudoSelector FIRST_LINE
public static final PseudoSelector FIRST_CHILD
public static final PseudoSelector BEFORE
public static final PseudoSelector AFTER
Method Detail |
---|
public static PseudoSelector[] values()
for (PseudoSelector c : PseudoSelector.values()) System.out.println(c);
public static PseudoSelector 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 toString()
toString
in class java.lang.Enum<PseudoSelector>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |