Package | Description |
---|---|
ej.mwt.stylesheet.cascading | |
ej.mwt.stylesheet.selector | |
ej.mwt.stylesheet.selector.combinator |
Modifier and Type | Method and Description |
---|---|
EditableStyle |
CascadingStylesheet.getSelectorStyle(Selector selector)
Gets the style for a selector.
|
void |
CascadingStylesheet.resetSelectorStyle(Selector selector)
Resets the style attributes for a selector.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassSelector
A class selector selects from a class.
|
class |
DisabledSelector
A disabled selector selects by checking if the widget is disabled.
|
class |
EnabledSelector
An enabled selector selects by checking if the widget is enabled.
|
class |
EvenChildSelector
An even child selector selects by checking if a widget is at an even position in its parent (1, 3, 5,…).
|
class |
FirstChildSelector
A first child selector selects by checking if a widget is the first child of its parent.
|
class |
LastChildSelector
A last child selector selects by checking if a widget is the last child of its parent.
|
class |
NotSelector
A not selector selects every widget that is not selected by its wrapped selector.
|
class |
NthChildSelector
A nth child selector selects by checking if a widget is the nth child of its parent.
|
class |
OddChildSelector
An odd child selector selects by checking if a widget is at an odd position in its parent (0, 2, 4,…).
|
class |
RootSelector
A root selector selects by checking if a widget is the root widget of its hierarchy (i.e.
|
class |
StateSelector
A state selector selects from a state.
|
class |
StrictTypeSelector
A type selector selects by checking the widget type (Java class).
|
class |
TypeSelector
A type or subtype selector selects by checking the widget type hierarchy (Java class).
|
class |
UniversalSelector
An universal selector selects all widgets.
|
Constructor and Description |
---|
NotSelector(Selector selector)
Creates a not selector.
|
Modifier and Type | Class and Description |
---|---|
class |
AdjacentSiblingCombinator
An adjacent sibling combinator selects by checking the widget immediate sibling.
|
class |
AndCombinator
An 'and' combinator selects the widgets selected by both selectors.
|
class |
ChildCombinator
A child combinator selects by checking the widget direct hierarchy.
|
class |
Combinator
A combinator is a selector that aggregates two selectors.
|
class |
DescendantCombinator
A descendant combinator selects by checking the widget hierarchy.
|
class |
GeneralSiblingCombinator
A general sibling combinator selects by checking the widget sibling.
|
Modifier and Type | Method and Description |
---|---|
Selector |
Combinator.getFirstSelector()
Returns the first selector of this combinator.
|
Selector |
Combinator.getSecondSelector()
Returns the second selector of this combinator.
|
Constructor and Description |
---|
AdjacentSiblingCombinator(Selector selector1,
Selector selector2)
Creates an adjacent sibling combinator.
|
AndCombinator(Selector selector1,
Selector selector2)
Creates an 'and' combinator.
|
ChildCombinator(Selector selector1,
Selector selector2)
Creates a child combinator.
|
Combinator(Selector firstSelector,
Selector secondSelector)
Creates a combinator.
|
DescendantCombinator(Selector selector1,
Selector selector2)
Creates a descendant combinator.
|
GeneralSiblingCombinator(Selector selector1,
Selector selector2)
Creates a general sibling combinator.
|