-
Enhancement
-
Resolution: Unresolved
-
P4
-
8
Scene has a fillProperty which should be styleable via CSS but this would require making Scene implement the javafx.css.Styleable interface. The interesting bits from the interface are
public String getId()
public ObservableList<String> getStyleClass()
public String getStyle()
public ObservableSet<PseudoClass> getPseudoClassStates()
Scene will have a "scene" style-class be default.
getId() and getStyle() will be backed by corresponding properties with setters.
public void setId(String newId)
public final StringProperty idProperty()
public void setStyle(String style)
public final StringProperty styleProperty()
There is no setPseudoClassStates method since pseudo-class states are handled internally. The only pseudo-class state for Scene is :dir which corresponds to node orientation.
public String getTypeSelector() will return "Scene".
The following CSS properties will be supported for Scene:
-fx-cursor: <cursor | url>;
-fx-fill: <paint>;
public String getId()
public ObservableList<String> getStyleClass()
public String getStyle()
public ObservableSet<PseudoClass> getPseudoClassStates()
Scene will have a "scene" style-class be default.
getId() and getStyle() will be backed by corresponding properties with setters.
public void setId(String newId)
public final StringProperty idProperty()
public void setStyle(String style)
public final StringProperty styleProperty()
There is no setPseudoClassStates method since pseudo-class states are handled internally. The only pseudo-class state for Scene is :dir which corresponds to node orientation.
public String getTypeSelector() will return "Scene".
The following CSS properties will be supported for Scene:
-fx-cursor: <cursor | url>;
-fx-fill: <paint>;
- blocks
-
JDK-8088894 [CSS] modena.css interferes with the background color of transparent Stage
- Open
-
JDK-8123493 Background of root layout container is set to WHITE when a control is added
- Closed
- relates to
-
JDK-8092764 Document that Modena uses a non-transparent background by default
- Resolved