Uses of Class
org.jhotdraw8.css.ast.Selector
Packages that use Selector
Package
Description
Provides a representation of a parsed style sheet (CSS 3) as an abstract
syntax tree (AST).
Provides a CSS parser that is compliant to CSS Syntax Module 3.
-
Uses of Selector in org.jhotdraw8.css.ast
Subclasses of Selector in org.jhotdraw8.css.astModifier and TypeClassDescriptionclassAn abstract "attribute selector" matches an element based on its attributes.classAn "adjacent sibling combinator" matches an element if its first selector matches on the adjacent sibling of the element and if its second selector matches the element.classAn "and combinator" matches an element if both its first selector and its second selector match the element.classA "child combinator" matches an element if its first selector matches on the parent of the element and if its second selector matches on the element itself.classA "class selector" matches an element if the element has a style class with the specified value.classAbstract superclass for "combinator"s.classA "dash match selector"|=matches an element if the element has an attribute with the specified name and its value is either exactly the specified substring or its value begins with the specified substring immediately followed by a dash '-' character.classA "descendant combinator" matches an element if its first selector matches on an ancestor of the element and if its second selector matches on the element itself.classAn "attribute value selector" matches an element if the element has an attribute with the specified name and value.classAn "exists match" matches an element if the element has an attribute with the specified name.classA "class selector" matches an element based on the value of its "pseudo class" attribute.classAn "general sibling combinator" matches an element if its first selector matches the sibling of the element and if its second selector matches the element.classAn "id selector" matches an element if the element has an id with the specified value.classAn "include match selector"~=matches an element if the element has an attribute with the specified name and the attribute value contains a word list with the specified word.classImplements the negation pseudo-class selector.classA "prefix match selector"^=matches an element if the element has an attribute with the specified name and its value starts with the specified substring.classA "pseudo class selector" matches an element based on criteria which are not directly encoded in the element.classA "select nothing selector" matches nothing.classA "selector group" matches an element if one of its selectors matches the element.classA "simple class selector" matches an element based on the value of its "pseudo class" attribute.classAbstract superclass for "simple selector"s.classA "substring match selector"*=matches an element if the element has an attribute with the specified name and its value contains the specified substring.classA "suffix match selector"$=matches an element if the element has an attribute with the specified name and its value ends with the specified substring.classA "type selector" matches an element if the element has a specific type.classA "universal selector" matches an element if the element exists.Fields in org.jhotdraw8.css.ast declared as SelectorMethods in org.jhotdraw8.css.ast that return SelectorModifier and TypeMethodDescription<T> @Nullable SelectorSelectorGroup.matchSelector(SelectorModel<T> model, T element) Returns the last selector with highest specificity that matches the specified element or null.Constructors in org.jhotdraw8.css.ast with parameters of type SelectorModifierConstructorDescriptionAdjacentSiblingCombinator(@Nullable SourceLocator sourceLocator, SimpleSelector first, Selector second) Creates a new instance.AndCombinator(@Nullable SourceLocator sourceLocator, SimpleSelector first, Selector second) Creates a new instance.ChildCombinator(@Nullable SourceLocator sourceLocator, SimpleSelector first, Selector second) Combinator(@Nullable SourceLocator sourceLocator, SimpleSelector firstSelector, Selector secondSelector) DescendantCombinator(@Nullable SourceLocator sourceLocator, SimpleSelector first, Selector second) GeneralSiblingCombinator(@Nullable SourceLocator sourceLocator, SimpleSelector first, Selector second) SelectorGroup(@Nullable SourceLocator sourceLocator, Selector selector) Constructor parameters in org.jhotdraw8.css.ast with type arguments of type SelectorModifierConstructorDescriptionSelectorGroup(@Nullable SourceLocator sourceLocator, List<Selector> selectors) -
Uses of Selector in org.jhotdraw8.css.parser
Methods in org.jhotdraw8.css.parser that return SelectorModifier and TypeMethodDescriptionCssParser.parseSelector(String css) Parses a given selector from the specified String and document home.