| Modifier and Type | Field and Description |
|---|---|
| private transient Set | cachedStyleClasses
Cache to avoid having to recreate this set on each call. |
| private final String | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final String | name
If specified in the CSS file, the name of the java class to which this selector is applied. |
| private final NodeOrientation | |
| private final Set | |
| private final FixedCapacitySet | selectorStyleClassNames
Style class names (immutable). |
| private static final List | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | applies(Styleable
the styleable)Styleable to matchImplements abstract javafx. Gets whether this |
| public boolean | applies(Styleable
the styleable, Set<PseudoClass>[] Styleable to matcha set of pseudoClasses, int PseudoClass statesdepth of the depth)Node hierarchy to look forImplements abstract javafx. Gets whether this |
| private FixedCapacitySet | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | Returns: the value of the selector id, which may be an empty stringGets the value of the selector id. |
| public String | Returns: the name of the java classGets the name of the java class to which this selector is applied, or *. |
| public NodeOrientation | |
| public Set | |
| private static StyleClass | |
| public List | Returns: an immutable list of style-classes of theSelectorGets an immutable list of style-classes of the |
| public Set | getStyleClassNames()
Implements abstract javafx. Gets the immutable set of style class names of this Selector. |
| public Set | Returns: theSet of StyleClassesGets the immutable |
| public int | |
| private boolean | |
| public boolean | stateMatches(final Styleable
the styleable styleable, Set<PseudoClass> the state states)Implements abstract javafx. Determines whether the current state of the |
| public String |
| cachedStyleClasses | back to summary |
|---|---|
| private transient Set<StyleClass> cachedStyleClasses Cache to avoid having to recreate this set on each call. | |
| id | back to summary |
|---|---|
| private final String id | |
| matchOnId | back to summary |
|---|---|
| private final boolean matchOnId | |
| matchOnName | back to summary |
|---|---|
| private final boolean matchOnName | |
| matchOnStyleClass | back to summary |
|---|---|
| private final boolean matchOnStyleClass | |
| name | back to summary |
|---|---|
| private final String name If specified in the CSS file, the name of the java class to which
this selector is applied. For example, if the CSS file had:
| |
| nodeOrientation | back to summary |
|---|---|
| private final NodeOrientation nodeOrientation | |
| pseudoClassState | back to summary |
|---|---|
| private final Set<PseudoClass> pseudoClassState | |
| selectorStyleClassNames | back to summary |
|---|---|
| private final FixedCapacitySet<String> selectorStyleClassNames Style class names (immutable). | |
| styleClasses | back to summary |
|---|---|
| private static final List<StyleClass> styleClasses | |
| styleClassMap | back to summary |
|---|---|
| private static final Map<String, Integer> styleClassMap | |
| SimpleSelector | back to summary |
|---|---|
| public SimpleSelector(final String name, final List<String> styleClasses, final List<String> pseudoClasses, final String id) | |
| applies | back to summary |
|---|---|
| public boolean applies(Styleable styleable) Implements abstract javafx. Doc from javafx. Gets whether this | |
| applies | back to summary |
|---|---|
| public boolean applies(Styleable styleable, Set<PseudoClass>[] pseudoClasses, int depth) Implements abstract javafx. Doc from javafx. Gets whether this
| |
| convertStyleClassNamesToSet | back to summary |
|---|---|
| private FixedCapacitySet | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getId | back to summary |
|---|---|
| public String getId() Gets the value of the selector id.
| |
| getName | back to summary |
|---|---|
| public String getName() Gets the name of the java class to which this selector is applied, or *.
| |
| getNodeOrientation | back to summary |
|---|---|
| public NodeOrientation getNodeOrientation() Gets the
| |
| getPseudoClassStates | back to summary |
|---|---|
| public Set | |
| getStyleClass | back to summary |
|---|---|
| private static StyleClass getStyleClass(String styleClass) | |
| getStyleClasses | back to summary |
|---|---|
| public List Gets an immutable list of style-classes of the | |
| getStyleClassNames | back to summary |
|---|---|
| public Set Implements abstract javafx. Doc from javafx. Gets the immutable set of style class names of this Selector. | |
| getStyleClassSet | back to summary |
|---|---|
| public Set Gets the immutable
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| matchesStyleClasses | back to summary |
|---|---|
| private boolean matchesStyleClasses(List<String> styleClassNames) | |
| stateMatches | back to summary |
|---|---|
| public boolean stateMatches(final Styleable styleable, Set<PseudoClass> states) Implements abstract javafx. Doc from javafx. Determines whether the current state of the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Converts this object to a string.
| |