| Constructor and Description |
|---|
Rule(String styleClass)
Create a rule for the style class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String key,
short type,
Object value)
Add a property to the rule.
|
void |
apply(javafx.scene.Node node)
Apply the rule to a JavaFX node.
|
Map<String,Styles.Property> |
getProperties()
Return the property map.
|
String |
getStyleClass()
Return the style class name.
|
public Rule(String styleClass)
styleClass - the style classpublic String getStyleClass()
public void addProperty(String key, short type, Object value)
key - the property keytype - the property typevalue - the property valuepublic Map<String,Styles.Property> getProperties()
public void apply(javafx.scene.Node node)
node - the node to updateCopyright © 2026. All rights reserved.