java.lang.Object
javafx.stage.Window
javafx.stage.Stage
com.amirali.fxdialogs.ProgressDialog
- All Implemented Interfaces:
javafx.event.EventTarget
public final class ProgressDialog
extends javafx.stage.Stage
-
Property Summary
TypePropertyDescriptionjavafx.beans.property.StringProperty
StringProperty of the ProgressDialog messagejavafx.beans.property.StringProperty
StringProperty of the ProgressDialog titleProperties inherited from class javafx.stage.Stage
alwaysOnTop, fullScreenExitHint, fullScreenExitKey, fullScreen, iconified, maxHeight, maximized, maxWidth, minHeight, minWidth, resizable, title
Properties inherited from class javafx.stage.Window
eventDispatcher, focused, forceIntegerRenderScale, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, opacity, outputScaleX, outputScaleY, renderScaleX, renderScaleY, scene, showing, width, x, y
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ProgressDialog builderstatic enum
progress types that can be Bar or Indicator -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.StringProperty
StringProperty of the ProgressDialog messagejavafx.beans.property.StringProperty
StringProperty of the ProgressDialog titlemessage of the ProgressDialogtitle of the ProgressDialogdouble
progress value of the ProgressDialogjavafx.beans.property.DoubleProperty
DoubleProperty of the ProgressDialog progressreturns progress type of the ProgressDialog that can be Bar or Indicatorvoid
setDialogMessage
(@NotNull String message) sets message of the ProgressDialogvoid
setDialogTitle
(@NotNull String title) sets title of the dialogvoid
setProgress
(double value) sets progress of the ProgressDialogMethods inherited from class javafx.stage.Stage
alwaysOnTopProperty, close, fullScreenExitHintProperty, fullScreenExitKeyProperty, fullScreenProperty, getFullScreenExitHint, getFullScreenExitKeyCombination, getIcons, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getModality, getOwner, getStyle, getTitle, iconifiedProperty, initModality, initOwner, initStyle, isAlwaysOnTop, isFullScreen, isIconified, isMaximized, isResizable, maxHeightProperty, maximizedProperty, maxWidthProperty, minHeightProperty, minWidthProperty, resizableProperty, setAlwaysOnTop, setFullScreen, setFullScreenExitHint, setFullScreenExitKeyCombination, setIconified, setMaxHeight, setMaximized, setMaxWidth, setMinHeight, setMinWidth, setResizable, setScene, setTitle, show, showAndWait, titleProperty, toBack, toFront
Methods inherited from class javafx.stage.Window
addEventFilter, addEventHandler, buildEventDispatchChain, centerOnScreen, eventDispatcherProperty, fireEvent, focusedProperty, forceIntegerRenderScaleProperty, getEventDispatcher, getHeight, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOpacity, getOutputScaleX, getOutputScaleY, getProperties, getRenderScaleX, getRenderScaleY, getScene, getUserData, getWidth, getWindows, getX, getY, hasProperties, heightProperty, hide, isFocused, isForceIntegerRenderScale, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, outputScaleXProperty, outputScaleYProperty, removeEventFilter, removeEventHandler, renderScaleXProperty, renderScaleYProperty, requestFocus, sceneProperty, setEventDispatcher, setEventHandler, setForceIntegerRenderScale, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setOpacity, setRenderScaleX, setRenderScaleY, setUserData, setWidth, setX, setY, showingProperty, sizeToScene, widthProperty, xProperty, yProperty
-
Property Details
-
dialogTitle
public javafx.beans.property.StringProperty dialogTitlePropertyStringProperty of the ProgressDialog title- See Also:
-
dialogMessage
public javafx.beans.property.StringProperty dialogMessagePropertyStringProperty of the ProgressDialog message- See Also:
-
-
Constructor Details
-
ProgressDialog
- Parameters:
builder
- ProgressDialog builder
-
-
Method Details
-
setProgress
public void setProgress(double value) sets progress of the ProgressDialog- Parameters:
value
- new progress value
-
getProgress
public double getProgress()progress value of the ProgressDialog- Returns:
- double
-
getProgressProperty
public javafx.beans.property.DoubleProperty getProgressProperty()DoubleProperty of the ProgressDialog progress- Returns:
- DoubleProperty
-
setDialogTitle
sets title of the dialog- Parameters:
title
- title of the ProgressDialog
-
getDialogTitle
title of the ProgressDialog- Returns:
- String
-
dialogTitleProperty
public javafx.beans.property.StringProperty dialogTitleProperty()StringProperty of the ProgressDialog title- See Also:
-
setDialogMessage
sets message of the ProgressDialog- Parameters:
message
- message of the ProgressDialog
-
getDialogMessage
message of the ProgressDialog- Returns:
- String
-
dialogMessageProperty
public javafx.beans.property.StringProperty dialogMessageProperty()StringProperty of the ProgressDialog message- See Also:
-
getProgressType
returns progress type of the ProgressDialog that can be Bar or Indicator- Returns:
- ProgressBarType
-