public interface PseudoClasses
PseudoClass implementations.| Modifier and Type | Interface and Description |
|---|---|
static class |
PseudoClasses.BUTTON
Selects all button elements and elements of type button.
|
static class |
PseudoClasses.CHECKBOX
Selects all elements of type checkbox.
|
static class |
PseudoClasses.CHECKED
Selects all elements that are checked.
|
static class |
PseudoClasses.EMPTY
Represents an element that has no children at all.
|
static class |
PseudoClasses.EVEN
Selects even elements, zero-indexed.
|
static class |
PseudoClasses.FILE
Selects all elements of type file.
|
static class |
PseudoClasses.FIRST
Selects the first matched element.
|
static class |
PseudoClasses.FIRST_CHILD
Same as
:nth-child(1). |
static class |
PseudoClasses.FIRST_OF_TYPE
Same as
:nth-of-type(1). |
static class |
PseudoClasses.HEADER
Selects all elements that are headers, like h1, h2, h3 and so on.
|
static class |
PseudoClasses.IMAGE
Selects all elements of type image.
|
static class |
PseudoClasses.INPUT
Selects all input, textarea, select and button elements.
|
static class |
PseudoClasses.LAST
Selects the last matched element.
|
static class |
PseudoClasses.LAST_CHILD
Same as
:nth-last-child(1). |
static class |
PseudoClasses.LAST_OF_TYPE
Same as
:nth-last-of-type(1). |
static class |
PseudoClasses.ODD
Selects odd elements, zero-indexed.
|
static class |
PseudoClasses.ONLY_CHILD
Represents an element that has a parent element and whose parent element has no other element children.
|
static class |
PseudoClasses.ONLY_OF_TYPE
Represents an element that has a parent element and whose parent
element has no other element children with the same expanded element
name.
|
static class |
PseudoClasses.PARENT
Select all elements that are the parent of another element, including text nodes.
|
static class |
PseudoClasses.PASSWORD
Selects all elements of type password.
|
static class |
PseudoClasses.RADIO
Selects all elements of type radio.
|
static class |
PseudoClasses.RESET
Selects all elements of type reset.
|
static class |
PseudoClasses.ROOT
Represents an element that is the root of the document.
|
static class |
PseudoClasses.SELECTED
Selects all elements that are selected.
|
static class |
PseudoClasses.SUBMIT
Selects all elements of type submit.
|
static class |
PseudoClasses.TEXT
Selects all elements of type text.
|