| Modifier and Type | Field and Description |
|---|---|
| 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 Set | styleClassSet
styleClasses converted to a set of bit masks |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| 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 heirarchy to look forImplements abstract javafx. Gets whether this |
| public Match | |
| 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 | |
| pack-priv Set | |
| public List | Returns: an immutable list of style-classes of theSelectorGets an immutable list of style-classes of the |
| public Set | Returns: theSet of StyleClassesGets the immutable |
| public int | |
| private boolean | |
| pack-priv static SimpleSelector | readBinary(int
bss version identifier bssVersion, final DataInputStream DataInputStream to read Selector data fromstring array containing selector details strings)Hides javafx. Reads binary |
| 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 | |
| protected final void | writeBinary(final DataOutputStream
DataOutputStream to write Selector data tounused stringStoreOverrides javafx. Writes |
| 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 | |
| styleClassSet | back to summary |
|---|---|
| private final Set<StyleClass> styleClassSet styleClasses converted to a set of bit masks | |
| SimpleSelector | back to summary |
|---|---|
| pack-priv 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
| |
| createMatch | back to summary |
|---|---|
| public Match createMatch() Implements abstract javafx. Doc from javafx. Creates a | |
| 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 |
|---|---|
| pack-priv Set | |
| getStyleClasses | back to summary |
|---|---|
| public List Gets an immutable list of style-classes of the | |
| 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
| |
| matchStyleClasses | back to summary |
|---|---|
| private boolean matchStyleClasses(StyleClassSet otherStyleClasses) | |
| readBinary | back to summary |
|---|---|
| pack-priv static SimpleSelector readBinary(int bssVersion, final DataInputStream is, final String[] strings) throws IOException Hides javafx. Doc from javafx. Reads binary
| |
| 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.
| |
| writeBinary | back to summary |
|---|---|
| protected final void writeBinary(final DataOutputStream os, final StyleConverter. Overrides javafx. Doc from javafx. Writes
| |