| Package | Description |
|---|---|
| cz.vutbr.web.css | |
| cz.vutbr.web.csskit | |
| cz.vutbr.web.domassign |
| Modifier and Type | Method and Description |
|---|---|
Selector.PseudoDeclaration |
Selector.PseudoPage.getDeclaration() |
Selector.PseudoDeclaration |
Selector.getPseudoElement()
Reads the pseudoelement of the selector
|
Selector.PseudoDeclaration |
CombinedSelector.getPseudoElement()
Reads the pseudo element of the last simple selector as defined in the CSS specs
|
static Selector.PseudoDeclaration |
Selector.PseudoDeclaration.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Selector.PseudoDeclaration[] |
Selector.PseudoDeclaration.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Selector.hasPseudoDeclaration(Selector.PseudoDeclaration pd)
Checks where the specified pseudo declaration is in this selector
|
| Modifier and Type | Field and Description |
|---|---|
protected Selector.PseudoDeclaration |
SelectorImpl.pseudoElement |
| Modifier and Type | Method and Description |
|---|---|
Selector.PseudoDeclaration |
SelectorImpl.PseudoPageImpl.getDeclaration() |
Selector.PseudoDeclaration |
SelectorImpl.getPseudoElement() |
Selector.PseudoDeclaration |
CombinedSelectorImpl.getPseudoElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
MatchConditionOnElements.addMatch(Element e,
Selector.PseudoDeclaration pseudoClass)
Assigns a pseudo class to the given element.
|
void |
MatchConditionOnElements.addMatch(String name,
Selector.PseudoDeclaration pseudoClass)
Assigns a pseudo class to the given element name.
|
boolean |
SelectorImpl.hasPseudoDeclaration(Selector.PseudoDeclaration pd) |
void |
MatchConditionOnElements.removeMatch(Element e,
Selector.PseudoDeclaration pseudoClass)
Removes the pseudo class from the given element.
|
void |
MatchConditionOnElements.removeMatch(String name,
Selector.PseudoDeclaration pseudoClass)
Removes the pseudo class from the given element name.
|
void |
MatchConditionImpl.setPseudoClass(Selector.PseudoDeclaration pseudoClass)
Sets the pseudo class that is matched to links.
|
| Constructor and Description |
|---|
MatchConditionImpl(Selector.PseudoDeclaration pseudoClass)
Creates the fefault condition that matches the given pseudo class to links.
|
MatchConditionOnElements(Element e,
Selector.PseudoDeclaration pseudoClass)
Creates the condition and assigns a pseudo class to a given element.
|
MatchConditionOnElements(String name,
Selector.PseudoDeclaration pseudoClass)
Creates the condition and assigns a pseudo class to a given element name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeclarationMap.addDeclaration(Element el,
Selector.PseudoDeclaration pseudo,
Declaration decl)
Adds a declaration for a specified list.
|
static NodeData |
AnalyzerUtil.getElementStyle(Element el,
Selector.PseudoDeclaration pseudo,
ElementMatcher matcher,
MatchCondition matchCond,
Analyzer.OrderedRule[] applicableRules) |
NodeData |
DirectAnalyzer.getElementStyle(Element el,
Selector.PseudoDeclaration pseudo,
MediaSpec media)
Computes the style of an element with an eventual pseudo element for the given media.
|
NodeData |
DirectAnalyzer.getElementStyle(Element el,
Selector.PseudoDeclaration pseudo,
String media)
Computes the style of an element with an eventual pseudo element for the given media.
|
static boolean |
AnalyzerUtil.hasPseudoSelector(Analyzer.OrderedRule[] rules,
Element e,
MatchCondition matchCond,
Selector.PseudoDeclaration pd) |
static boolean |
AnalyzerUtil.hasPseudoSelectorForAncestor(Analyzer.OrderedRule[] rules,
Element e,
Element targetAncestor,
ElementMatcher matcher,
MatchCondition matchCond,
Selector.PseudoDeclaration pd) |
void |
DeclarationMap.sortDeclarations(Element el,
Selector.PseudoDeclaration pseudo)
Sorts the given list according to the rule specificity.
|
Copyright © 2018. All rights reserved.