Module FXDialogs

Class TimePickerDialog.Builder

java.lang.Object
com.amirali.fxdialogs.TimePickerDialog.Builder
Enclosing class:
TimePickerDialog

public static class TimePickerDialog.Builder extends Object
TimePickerDialog builder
  • Constructor Details

    • Builder

      public Builder()
      creates initial layout
  • Method Details

    • setTime

      public TimePickerDialog.Builder setTime(@NotNull @NotNull Time time)
      sets time of the TimePickerDialog
      Parameters:
      time - new time of the TimePickerDialog
      Returns:
      Builder
    • setStyles

      public TimePickerDialog.Builder setStyles(String... styles)
      adds styles to style list and that list will be added to the scene
      Parameters:
      styles - dialog styles
      Returns:
      Builder
    • create

      public TimePickerDialog create()
      creates TimePickerDialog
      Returns:
      TimePickerDialog