public interface Styleable
Modifier and Type | Method and Description |
---|---|
java.util.List<CssMetaData<? extends Styleable,?>> |
getCssMetaData()
The CssMetaData of this Styleable.
|
java.lang.String |
getId()
The id of this
Styleable . |
<any> |
getPseudoClassStates()
Return the pseudo-class state of this Styleable.
|
java.lang.String |
getStyle()
A string representation of the CSS style associated with this
specific
Node . |
default Node |
getStyleableNode()
Returns the Node that represents this Styleable object.
|
Styleable |
getStyleableParent()
Return the parent of this Styleable, or null if there is no parent.
|
<any> |
getStyleClass()
A list of String identifiers which can be used to logically group
Nodes, specifically for an external style engine.
|
java.lang.String |
getTypeSelector()
The type of this
Styleable that is to be used in selector matching. |
java.lang.String getTypeSelector()
Styleable
that is to be used in selector matching.
This is analogous to an "element" in HTML.
(CSS Type Selector).Styleable
java.lang.String getId()
Styleable
. This simple string identifier is useful for
finding a specific Node within the scene graph. While the id of a Node
should be unique within the scene graph, this uniqueness is not enforced.
This is analogous to the "id" attribute on an HTML element
(CSS ID Specification).
For example, if a Node is given the id of "myId", then the lookup method can
be used to find this node as follows: scene.lookup("#myId");
.
Styleable
<any> getStyleClass()
java.lang.String getStyle()
Node
. This is analogous to the "style" attribute of an
HTML element. Note that, like the HTML style attribute, this
variable contains style properties and values and not the
selector portion of a style rule.Node
java.util.List<CssMetaData<? extends Styleable,?>> getCssMetaData()
Styleable getStyleableParent()
<any> getPseudoClassStates()
default Node getStyleableNode()