Uses of Class
io.github.sosuisen.jfxbuilder.controls.AlertBuilder
Packages that use AlertBuilder
-
Uses of AlertBuilder in io.github.sosuisen.jfxbuilder.controls
Methods in io.github.sosuisen.jfxbuilder.controls that return AlertBuilderModifier and TypeMethodDescriptionfinal AlertBuilder
AlertBuilder.addButtonTypes
(Collection<? extends ButtonType> col) Calls theaddAll
method on the ObservableList returned by theAlert#getButtonTypes()
method.final AlertBuilder
AlertBuilder.addButtonTypes
(ButtonType... elements) Calls theaddAll
method on the ObservableList returned by theAlert#getButtonTypes()
method.AlertBuilder.alertType
(Alert.AlertType alertType) A builder method that invokes thesetAlertType
method on the instance being constructed.AlertBuilder.alertTypePropertyApply
(Consumer<ObjectProperty<Alert.AlertType>> op) Applies a function to thealertTypeProperty
of the instance being constructed.Applies a function to the Alert instance being constructed.AlertBuilder.contentText
(String contentText) A builder method that invokes thesetContentText
method on the instance being constructed.AlertBuilder.contentTextPropertyApply
(Consumer<StringProperty> op) Applies a function to thecontentTextProperty
of the instance being constructed.static AlertBuilder
AlertBuilder.create
(Alert.AlertType alertType) Accepts the constructor arguments ofAlert(Alert.AlertType)
and returns an instance ofAlertBuilder
.static AlertBuilder
AlertBuilder.create
(Alert.AlertType alertType, String contentText, ButtonType... buttons) Accepts the constructor arguments ofAlert(Alert.AlertType, String, ButtonType...)
and returns an instance ofAlertBuilder
.AlertBuilder.dialogPane
(DialogPane value) A builder method that invokes thesetDialogPane
method on the instance being constructed.AlertBuilder.dialogPanePropertyApply
(Consumer<ObjectProperty<DialogPane>> op) Applies a function to thedialogPaneProperty
of the instance being constructed.A builder method that invokes thesetGraphic
method on the instance being constructed.AlertBuilder.graphicPropertyApply
(Consumer<ObjectProperty<Node>> op) Applies a function to thegraphicProperty
of the instance being constructed.AlertBuilder.headerText
(String headerText) A builder method that invokes thesetHeaderText
method on the instance being constructed.AlertBuilder.headerTextPropertyApply
(Consumer<StringProperty> op) Applies a function to theheaderTextProperty
of the instance being constructed.AlertBuilder.height
(double height) A builder method that invokes thesetHeight
method on the instance being constructed.AlertBuilder.heightPropertyApply
(Consumer<ReadOnlyDoubleProperty> op) Applies a function to theheightProperty
of the instance being constructed.AlertBuilder.onCloseRequest
(EventHandler<DialogEvent> value) A builder method that invokes thesetOnCloseRequest
method on the instance being constructed.AlertBuilder.onCloseRequestPropertyApply
(Consumer<ObjectProperty<EventHandler<DialogEvent>>> op) Applies a function to theonCloseRequestProperty
of the instance being constructed.AlertBuilder.onHidden
(EventHandler<DialogEvent> value) A builder method that invokes thesetOnHidden
method on the instance being constructed.AlertBuilder.onHiddenPropertyApply
(Consumer<ObjectProperty<EventHandler<DialogEvent>>> op) Applies a function to theonHiddenProperty
of the instance being constructed.AlertBuilder.onHiding
(EventHandler<DialogEvent> value) A builder method that invokes thesetOnHiding
method on the instance being constructed.AlertBuilder.onHidingPropertyApply
(Consumer<ObjectProperty<EventHandler<DialogEvent>>> op) Applies a function to theonHidingProperty
of the instance being constructed.AlertBuilder.onShowing
(EventHandler<DialogEvent> value) A builder method that invokes thesetOnShowing
method on the instance being constructed.AlertBuilder.onShowingPropertyApply
(Consumer<ObjectProperty<EventHandler<DialogEvent>>> op) Applies a function to theonShowingProperty
of the instance being constructed.AlertBuilder.onShown
(EventHandler<DialogEvent> value) A builder method that invokes thesetOnShown
method on the instance being constructed.AlertBuilder.onShownPropertyApply
(Consumer<ObjectProperty<EventHandler<DialogEvent>>> op) Applies a function to theonShownProperty
of the instance being constructed.AlertBuilder.resizable
(boolean resizable) A builder method that invokes thesetResizable
method on the instance being constructed.AlertBuilder.resizablePropertyApply
(Consumer<BooleanProperty> op) Applies a function to theresizableProperty
of the instance being constructed.AlertBuilder.result
(ButtonType value) A builder method that invokes thesetResult
method on the instance being constructed.AlertBuilder.resultConverter
(Callback<ButtonType, ButtonType> value) A builder method that invokes thesetResultConverter
method on the instance being constructed.AlertBuilder.resultConverterPropertyApply
(Consumer<ObjectProperty<Callback<ButtonType, ButtonType>>> op) Applies a function to theresultConverterProperty
of the instance being constructed.AlertBuilder.resultPropertyApply
(Consumer<ObjectProperty<ButtonType>> op) Applies a function to theresultProperty
of the instance being constructed.AlertBuilder.showingPropertyApply
(Consumer<ReadOnlyBooleanProperty> op) Applies a function to theshowingProperty
of the instance being constructed.A builder method that invokes thesetTitle
method on the instance being constructed.AlertBuilder.titlePropertyApply
(Consumer<StringProperty> op) Applies a function to thetitleProperty
of the instance being constructed.AlertBuilder.width
(double width) A builder method that invokes thesetWidth
method on the instance being constructed.AlertBuilder.widthPropertyApply
(Consumer<ReadOnlyDoubleProperty> op) Applies a function to thewidthProperty
of the instance being constructed.static AlertBuilder
AlertBuilder.withButtonTypes
(Collection<? extends ButtonType> col) Creates an instance of the builder, then calls thesetAll(Collection<? extends ButtonType> col
method on the ObservableList returned by theAlert#getButtonTypes()
method.static AlertBuilder
AlertBuilder.withButtonTypes
(ButtonType... elements) Creates an instance of the builder, then calls theaddAll(ButtonType... elements)
method on the ObservableList returned by theAlert#getButtonTypes()
method.AlertBuilder.x
(double x) A builder method that invokes thesetX
method on the instance being constructed.AlertBuilder.xPropertyApply
(Consumer<ReadOnlyDoubleProperty> op) Applies a function to thexProperty
of the instance being constructed.AlertBuilder.y
(double y) A builder method that invokes thesetY
method on the instance being constructed.AlertBuilder.yPropertyApply
(Consumer<ReadOnlyDoubleProperty> op) Applies a function to theyProperty
of the instance being constructed.