Uses of Class
io.github.sosuisen.jfxbuilder.controls.ChoiceDialogBuilder
Packages that use ChoiceDialogBuilder
-
Uses of ChoiceDialogBuilder in io.github.sosuisen.jfxbuilder.controls
Methods in io.github.sosuisen.jfxbuilder.controls that return ChoiceDialogBuilderModifier and TypeMethodDescriptionfinal ChoiceDialogBuilder
<T> ChoiceDialogBuilder.addItems
(Collection<? extends T> col) Calls theaddAll
method on the ObservableList returned by theChoiceDialog#getItems()
method.final ChoiceDialogBuilder
<T> Calls theaddAll
method on the ObservableList returned by theChoiceDialog#getItems()
method.ChoiceDialogBuilder.apply
(Consumer<ChoiceDialog<T>> func) Applies a function to the ChoiceDialog instance being constructed.ChoiceDialogBuilder.contentText
(String contentText) A builder method that invokes thesetContentText
method on the instance being constructed.ChoiceDialogBuilder.contentTextPropertyApply
(Consumer<StringProperty> op) Applies a function to thecontentTextProperty
of the instance being constructed.static <T> ChoiceDialogBuilder
<T> ChoiceDialogBuilder.create()
Returns an instance of theChoiceDialogBuilder<T>
.static <T> ChoiceDialogBuilder
<T> ChoiceDialogBuilder.create
(T defaultChoice, Collection<T> choices) Accepts the constructor arguments ofChoiceDialog(T, Collection)
and returns an instance ofChoiceDialogBuilder<T>
.static <T> ChoiceDialogBuilder
<T> ChoiceDialogBuilder.create
(T defaultChoice, T... choices) Accepts the constructor arguments ofChoiceDialog(T, T...)
and returns an instance ofChoiceDialogBuilder<T>
.ChoiceDialogBuilder.dialogPane
(DialogPane value) A builder method that invokes thesetDialogPane
method on the instance being constructed.ChoiceDialogBuilder.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.ChoiceDialogBuilder.graphicPropertyApply
(Consumer<ObjectProperty<Node>> op) Applies a function to thegraphicProperty
of the instance being constructed.ChoiceDialogBuilder.headerText
(String headerText) A builder method that invokes thesetHeaderText
method on the instance being constructed.ChoiceDialogBuilder.headerTextPropertyApply
(Consumer<StringProperty> op) Applies a function to theheaderTextProperty
of the instance being constructed.ChoiceDialogBuilder.height
(double height) A builder method that invokes thesetHeight
method on the instance being constructed.ChoiceDialogBuilder.heightPropertyApply
(Consumer<ReadOnlyDoubleProperty> op) Applies a function to theheightProperty
of the instance being constructed.ChoiceDialogBuilder.onCloseRequest
(EventHandler<DialogEvent> value) A builder method that invokes thesetOnCloseRequest
method on the instance being constructed.ChoiceDialogBuilder.onCloseRequestPropertyApply
(Consumer<ObjectProperty<EventHandler<DialogEvent>>> op) Applies a function to theonCloseRequestProperty
of the instance being constructed.ChoiceDialogBuilder.onHidden
(EventHandler<DialogEvent> value) A builder method that invokes thesetOnHidden
method on the instance being constructed.ChoiceDialogBuilder.onHiddenPropertyApply
(Consumer<ObjectProperty<EventHandler<DialogEvent>>> op) Applies a function to theonHiddenProperty
of the instance being constructed.ChoiceDialogBuilder.onHiding
(EventHandler<DialogEvent> value) A builder method that invokes thesetOnHiding
method on the instance being constructed.ChoiceDialogBuilder.onHidingPropertyApply
(Consumer<ObjectProperty<EventHandler<DialogEvent>>> op) Applies a function to theonHidingProperty
of the instance being constructed.ChoiceDialogBuilder.onShowing
(EventHandler<DialogEvent> value) A builder method that invokes thesetOnShowing
method on the instance being constructed.ChoiceDialogBuilder.onShowingPropertyApply
(Consumer<ObjectProperty<EventHandler<DialogEvent>>> op) Applies a function to theonShowingProperty
of the instance being constructed.ChoiceDialogBuilder.onShown
(EventHandler<DialogEvent> value) A builder method that invokes thesetOnShown
method on the instance being constructed.ChoiceDialogBuilder.onShownPropertyApply
(Consumer<ObjectProperty<EventHandler<DialogEvent>>> op) Applies a function to theonShownProperty
of the instance being constructed.ChoiceDialogBuilder.resizable
(boolean resizable) A builder method that invokes thesetResizable
method on the instance being constructed.ChoiceDialogBuilder.resizablePropertyApply
(Consumer<BooleanProperty> op) Applies a function to theresizableProperty
of the instance being constructed.A builder method that invokes thesetResult
method on the instance being constructed.ChoiceDialogBuilder.resultConverter
(Callback<ButtonType, T> value) A builder method that invokes thesetResultConverter
method on the instance being constructed.ChoiceDialogBuilder.resultConverterPropertyApply
(Consumer<ObjectProperty<Callback<ButtonType, T>>> op) Applies a function to theresultConverterProperty
of the instance being constructed.ChoiceDialogBuilder.resultPropertyApply
(Consumer<ObjectProperty<T>> op) Applies a function to theresultProperty
of the instance being constructed.ChoiceDialogBuilder.selectedItem
(T item) A builder method that invokes thesetSelectedItem
method on the instance being constructed.ChoiceDialogBuilder.selectedItemPropertyApply
(Consumer<ReadOnlyObjectProperty<T>> op) Applies a function to theselectedItemProperty
of the instance being constructed.ChoiceDialogBuilder.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.ChoiceDialogBuilder.titlePropertyApply
(Consumer<StringProperty> op) Applies a function to thetitleProperty
of the instance being constructed.ChoiceDialogBuilder.width
(double width) A builder method that invokes thesetWidth
method on the instance being constructed.ChoiceDialogBuilder.widthPropertyApply
(Consumer<ReadOnlyDoubleProperty> op) Applies a function to thewidthProperty
of the instance being constructed.static <T> ChoiceDialogBuilder
<T> ChoiceDialogBuilder.withItems
(Collection<? extends T> col) Creates an instance of the builder, then calls theaddAll
method on the ObservableList returned by theChoiceDialog#getItems()
method.static <T> ChoiceDialogBuilder
<T> ChoiceDialogBuilder.withItems
(T... elements) Creates an instance of the builder, then calls theaddAll
method on the ObservableList returned by theChoiceDialog#getItems()
method.ChoiceDialogBuilder.x
(double x) A builder method that invokes thesetX
method on the instance being constructed.ChoiceDialogBuilder.xPropertyApply
(Consumer<ReadOnlyDoubleProperty> op) Applies a function to thexProperty
of the instance being constructed.ChoiceDialogBuilder.y
(double y) A builder method that invokes thesetY
method on the instance being constructed.ChoiceDialogBuilder.yPropertyApply
(Consumer<ReadOnlyDoubleProperty> op) Applies a function to theyProperty
of the instance being constructed.