Example usage for Java javafx.scene.layout StackPane fields, constructors, methods, implement or subclass
The text is from its open source code.
StackPane() Creates a StackPane layout with default CENTER alignment. | |
StackPane(Node... children) Creates a StackPane layout with default CENTER alignment. |
void | addEventHandler(final EventType Registers an event handler to this node. |
BooleanProperty | disableProperty() Defines the individual disabled state of this Node . |
ObservableList | getChildren() |
ObservableMap | getProperties() Returns an observable map of properties on this node for use primarily by application developers. |
double | getWidth() |
ReadOnlyDoubleProperty | heightProperty() |
void | layout() Executes a top-down layout pass on the scene graph under this parent. |
Point2D | localToScene(double localX, double localY) Transforms a point from the local coordinate space of this Node into the coordinate space of its scene. |
DoubleProperty | scaleXProperty() Defines the factor by which coordinates are scaled about the center of the object along the X axis of this Node . |
DoubleProperty | scaleYProperty() Defines the factor by which coordinates are scaled about the center of the object along the Y axis of this Node . |
Point2D | sceneToLocal(Point2D point, boolean rootScene) Transforms a point from the coordinate space of the scene into the local coordinate space of this Node . |
void | setAlignment(Pos value) |
void | setAlignment(Node child, Pos value) Sets the alignment for the child when contained by a stackpane. |
void | setId(String value) |
void | setLayoutX(double value) |
void | setLayoutY(double value) |
void | setMargin(Node child, Insets value) Sets the margin for the child when contained by a stackpane. |
void | setMaxSize(double maxWidth, double maxHeight) Convenience method for overriding the region's computed maximum width and height. |
void | setMaxWidth(double value) |
void | setMinSize(double minWidth, double minHeight) Convenience method for overriding the region's computed minimum width and height. |
void | setOnMouseClicked(EventHandler super MouseEvent> value) |
void | setPadding(Insets value) |
void | setPrefSize(double prefWidth, double prefHeight) Convenience method for overriding the region's computed preferred width and height. |
void | setStyle(String value) A string representation of the CSS style associated with this specific Node . |
void | setTranslateX(double value) |
WritableImage | snapshot(SnapshotParameters params, WritableImage image) Takes a snapshot of this node and returns the rendered image when it is ready. |
ReadOnlyDoubleProperty | widthProperty() |