class HeavyweightDialog extends FXDialog
Type | Property and Description |
---|---|
(package private) ReadOnlyBooleanProperty |
focused |
(package private) ReadOnlyDoubleProperty |
height
Property representing the height of the dialog.
|
(package private) BooleanProperty |
resizable |
ReadOnlyBooleanProperty |
showing |
(package private) StringProperty |
title |
(package private) ReadOnlyDoubleProperty |
width
Property representing the width of the dialog.
|
ReadOnlyDoubleProperty |
x |
ReadOnlyDoubleProperty |
y |
Modifier and Type | Field and Description |
---|---|
private Dialog<?> |
dialog |
private DialogPane |
dialogPane |
private Parent |
DUMMY_ROOT |
private double |
prefX |
private double |
prefY |
private Scene |
scene |
(package private) Stage |
stage
Private fields
|
Constructor and Description |
---|
HeavyweightDialog(Dialog<?> dialog)
Constructors
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
(package private) ReadOnlyBooleanProperty |
focusedProperty() |
Modality |
getModality() |
Window |
getOwner() |
Node |
getRoot() |
(package private) double |
getSceneHeight() |
(package private) StageStyle |
getStyle() |
Window |
getWindow() |
double |
getX()
Gets the value of the property x.
|
double |
getY()
Gets the value of the property y.
|
(package private) ReadOnlyDoubleProperty |
heightProperty()
Property representing the height of the dialog.
|
void |
initModality(Modality modality) |
void |
initOwner(Window newOwner) |
(package private) void |
initStyle(StageStyle style)
Public API
|
private void |
positionStage()
Private implementation
|
(package private) BooleanProperty |
resizableProperty() |
void |
setDialogPane(DialogPane dialogPane) |
(package private) void |
setHeight(double height) |
(package private) void |
setWidth(double width) |
void |
setX(double x)
Sets the value of the property x.
|
void |
setY(double y)
Sets the value of the property y.
|
void |
show()
Abstract API
|
void |
showAndWait() |
ReadOnlyBooleanProperty |
showingProperty() |
void |
sizeToScene() |
(package private) StringProperty |
titleProperty() |
private void |
updateStageBindings(Window oldOwner,
Window newOwner) |
(package private) ReadOnlyDoubleProperty |
widthProperty()
Property representing the width of the dialog.
|
ReadOnlyDoubleProperty |
xProperty() |
ReadOnlyDoubleProperty |
yProperty() |
requestPermissionToClose
public ReadOnlyBooleanProperty showingProperty
showingProperty
in class FXDialog
public ReadOnlyDoubleProperty xProperty
xProperty
in class FXDialog
getX()
,
setX(double)
public ReadOnlyDoubleProperty yProperty
yProperty
in class FXDialog
getY()
,
setY(double)
ReadOnlyDoubleProperty heightProperty
heightProperty
in class FXDialog
ReadOnlyDoubleProperty widthProperty
widthProperty
in class FXDialog
BooleanProperty resizableProperty
resizableProperty
in class FXDialog
StringProperty titleProperty
titleProperty
in class FXDialog
ReadOnlyBooleanProperty focusedProperty
focusedProperty
in class FXDialog
final Stage stage
private Scene scene
private final Parent DUMMY_ROOT
private final Dialog<?> dialog
private DialogPane dialogPane
private double prefX
private double prefY
HeavyweightDialog(Dialog<?> dialog)
public void initModality(Modality modality)
initModality
in class FXDialog
public Modality getModality()
getModality
in class FXDialog
public void setDialogPane(DialogPane dialogPane)
setDialogPane
in class FXDialog
public void show()
FXDialog
public void showAndWait()
showAndWait
in class FXDialog
public ReadOnlyBooleanProperty showingProperty()
showingProperty
in class FXDialog
public void setX(double x)
public ReadOnlyDoubleProperty xProperty()
xProperty
in class FXDialog
getX()
,
setX(double)
public void setY(double y)
public ReadOnlyDoubleProperty yProperty()
yProperty
in class FXDialog
getY()
,
setY(double)
ReadOnlyDoubleProperty heightProperty()
FXDialog
heightProperty
in class FXDialog
double getSceneHeight()
getSceneHeight
in class FXDialog
ReadOnlyDoubleProperty widthProperty()
FXDialog
widthProperty
in class FXDialog
BooleanProperty resizableProperty()
resizableProperty
in class FXDialog
StringProperty titleProperty()
titleProperty
in class FXDialog
ReadOnlyBooleanProperty focusedProperty()
focusedProperty
in class FXDialog
public void sizeToScene()
sizeToScene
in class FXDialog
private void positionStage()
private void updateStageBindings(Window oldOwner, Window newOwner)