Module FXDialogs

Class ProgressDialog

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

    Properties
    Type
    Property
    Description
    javafx.beans.property.StringProperty
    StringProperty of the ProgressDialog message
    javafx.beans.property.StringProperty
    StringProperty of the ProgressDialog title

    Properties 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

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    ProgressDialog builder
    static enum 
    progress types that can be Bar or Indicator
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.beans.property.StringProperty
    StringProperty of the ProgressDialog message
    javafx.beans.property.StringProperty
    StringProperty of the ProgressDialog title
    message of the ProgressDialog
    title of the ProgressDialog
    double
    progress value of the ProgressDialog
    javafx.beans.property.DoubleProperty
    DoubleProperty of the ProgressDialog progress
    returns progress type of the ProgressDialog that can be Bar or Indicator
    void
    setDialogMessage(@NotNull String message)
    sets message of the ProgressDialog
    void
    setDialogTitle(@NotNull String title)
    sets title of the dialog
    void
    setProgress(double value)
    sets progress of the ProgressDialog

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Property Details

  • Constructor Details

    • ProgressDialog

      public ProgressDialog(@NotNull @NotNull ProgressDialog.Builder builder)
      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

      public void setDialogTitle(@NotNull @NotNull String title)
      sets title of the dialog
      Parameters:
      title - title of the ProgressDialog
    • getDialogTitle

      public String getDialogTitle()
      title of the ProgressDialog
      Returns:
      String
    • dialogTitleProperty

      public javafx.beans.property.StringProperty dialogTitleProperty()
      StringProperty of the ProgressDialog title
      See Also:
    • setDialogMessage

      public void setDialogMessage(@NotNull @NotNull String message)
      sets message of the ProgressDialog
      Parameters:
      message - message of the ProgressDialog
    • getDialogMessage

      public String getDialogMessage()
      message of the ProgressDialog
      Returns:
      String
    • dialogMessageProperty

      public javafx.beans.property.StringProperty dialogMessageProperty()
      StringProperty of the ProgressDialog message
      See Also:
    • getProgressType

      public ProgressDialog.ProgressBarType getProgressType()
      returns progress type of the ProgressDialog that can be Bar or Indicator
      Returns:
      ProgressBarType