public class FXStageController extends java.lang.Object implements StageEvent, WindowListener
| Modifier and Type | Field and Description |
|---|---|
protected javafx.scene.layout.Region |
pane |
protected javafx.stage.Stage |
stage |
| Constructor and Description |
|---|
FXStageController() |
FXStageController(javafx.stage.Stage newStage) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
close() |
javafx.scene.layout.Region |
create(java.lang.String fxmlFile) |
javafx.scene.layout.Region |
create(java.net.URL location,
java.util.ResourceBundle resources) |
javafx.scene.layout.BorderPane |
createBorderPane() |
javafx.scene.layout.GridPane |
createGridPane() |
java.lang.Object |
getController() |
javafx.scene.Node |
getElementById(java.lang.String id) |
javafx.scene.layout.Region |
getPane() |
javafx.scene.Scene |
getScene() |
javafx.stage.Stage |
getStage() |
boolean |
isWait() |
static FXStageController |
load(java.lang.String fxml) |
static FXStageController |
load(java.lang.String fxml,
java.lang.Class<?> path) |
javafx.stage.Stage |
loadNewStage(java.lang.String fxml,
java.lang.Class<?> path) |
java.lang.Exception |
saveScreenShoot(java.lang.String fullScreenFileName,
java.lang.String windowScreenFileName) |
void |
show() |
void |
show(javafx.stage.Stage stage) |
static FXStageController |
show(javafx.stage.Stage stage,
java.lang.String fxml,
java.lang.Class<?> path) |
protected void |
showing() |
javafx.stage.Stage |
showNewStage(javafx.scene.Node value) |
javafx.stage.Stage |
showNewStage(java.lang.String fxml,
java.lang.Class<?> path) |
javafx.stage.Stage |
showNewView(StageEvent value) |
void |
stageClosing(javafx.stage.WindowEvent event,
javafx.stage.Stage stage,
FXStageController controller) |
void |
stageShowing(javafx.stage.WindowEvent event,
javafx.stage.Stage stage,
FXStageController controller) |
FXStageController |
withCenter(javafx.scene.Node value) |
FXStageController |
withController(java.lang.Object value) |
FXStageController |
withFXML(java.lang.String fxmlFile) |
FXStageController |
withFXML(java.net.URL urlfxmlFile) |
FXStageController |
withIcon(java.lang.String value) |
void |
withIcon(java.net.URL resource) |
FXStageController |
withPane(javafx.scene.layout.Region value) |
FXStageController |
withSize(int width,
int height) |
FXStageController |
withStage(javafx.stage.Stage value) |
FXStageController |
withTitle(java.lang.String value) |
FXStageController |
withWait(boolean value) |
protected javafx.stage.Stage stage
protected javafx.scene.layout.Region pane
public FXStageController()
public FXStageController(javafx.stage.Stage newStage)
public javafx.stage.Stage getStage()
public FXStageController withStage(javafx.stage.Stage value)
public void stageClosing(javafx.stage.WindowEvent event,
javafx.stage.Stage stage,
FXStageController controller)
stageClosing in interface StageEventpublic void stageShowing(javafx.stage.WindowEvent event,
javafx.stage.Stage stage,
FXStageController controller)
stageShowing in interface StageEventpublic javafx.scene.Scene getScene()
public java.lang.Object getController()
public FXStageController withController(java.lang.Object value)
public boolean close()
close in interface WindowListenerpublic void show(javafx.stage.Stage stage)
protected void showing()
public void show()
public java.lang.Exception saveScreenShoot(java.lang.String fullScreenFileName,
java.lang.String windowScreenFileName)
public FXStageController withTitle(java.lang.String value)
public FXStageController withIcon(java.lang.String value)
public boolean isWait()
public FXStageController withWait(boolean value)
public javafx.scene.layout.BorderPane createBorderPane()
public javafx.scene.layout.GridPane createGridPane()
public javafx.scene.Node getElementById(java.lang.String id)
public FXStageController withFXML(java.lang.String fxmlFile)
public FXStageController withFXML(java.net.URL urlfxmlFile)
public javafx.scene.layout.Region create(java.lang.String fxmlFile)
public javafx.scene.layout.Region create(java.net.URL location,
java.util.ResourceBundle resources)
public javafx.scene.layout.Region getPane()
public FXStageController withCenter(javafx.scene.Node value)
public javafx.stage.Stage showNewStage(java.lang.String fxml,
java.lang.Class<?> path)
public javafx.stage.Stage loadNewStage(java.lang.String fxml,
java.lang.Class<?> path)
public javafx.stage.Stage showNewStage(javafx.scene.Node value)
public javafx.stage.Stage showNewView(StageEvent value)
public FXStageController withPane(javafx.scene.layout.Region value)
public FXStageController withSize(int width, int height)
public static FXStageController load(java.lang.String fxml)
public static FXStageController load(java.lang.String fxml, java.lang.Class<?> path)
public static FXStageController show(javafx.stage.Stage stage, java.lang.String fxml, java.lang.Class<?> path)
public void withIcon(java.net.URL resource)