public final class Panes extends Object
Pane-based components.| Modifier and Type | Method and Description |
|---|---|
static <T extends javafx.scene.layout.Pane> |
setContent(T container,
javafx.scene.Node content)
Sets as the sole content of a pane another Node.
|
public static <T extends javafx.scene.layout.Pane> CompletionStage<T> setContent(T container, javafx.scene.Node content)
T - The subtype if necessary of the containercontainer - The container defining the displayable zone, as a Pane.content - The content to displayCompletionStage to have monitoring over the state of the asynchronous operationCopyright © 2018. All rights reserved.