java.lang.Object
java.util.concurrent.CompletableFuture<javafx.scene.control.ButtonType>
com.dlsc.gemsfx.DialogPane.Dialog<T>
- All Implemented Interfaces:
CompletionStage<javafx.scene.control.ButtonType>
,Future<javafx.scene.control.ButtonType>
- Enclosing class:
DialogPane
-
Property Summary
TypePropertyDescriptionfinal javafx.beans.property.ObjectProperty<javafx.scene.Node>
final javafx.beans.property.ObjectProperty<javafx.util.Duration>
final javafx.beans.property.ObjectProperty<Throwable>
final javafx.beans.property.BooleanProperty
javafx.beans.property.BooleanProperty
final javafx.beans.property.BooleanProperty
final javafx.beans.property.BooleanProperty
final javafx.beans.property.StringProperty
javafx.beans.property.BooleanProperty
final javafx.beans.property.ObjectProperty<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Hides the dialog by cancelling it.final javafx.beans.property.ObjectProperty<javafx.scene.Node>
final javafx.beans.property.ObjectProperty<javafx.util.Duration>
final javafx.beans.property.ObjectProperty<Throwable>
final javafx.scene.control.Button
getButton
(javafx.scene.control.ButtonType type) javafx.collections.ObservableList<javafx.scene.control.ButtonType>
javafx.scene.Node
Gets the value of thecontent
property.final javafx.util.Duration
getDelay()
Gets the value of thedelay
property.final DialogPane
final Throwable
Gets the value of theexception
property.javafx.collections.ObservableList<String>
final String
getTitle()
Gets the value of thetitle
property.final DialogPane.Type
getType()
final T
getValue()
Gets the value of thevalue
property.final boolean
Gets the value of themaximize
property.final boolean
boolean
Gets the value of thesameWidthButtons
property.final boolean
Gets the value of theshowButtonsBar
property.final boolean
Gets the value of theshowCloseButton
property.boolean
isValid()
Gets the value of thevalid
property.final javafx.beans.property.BooleanProperty
javafx.beans.property.BooleanProperty
void
setContent
(javafx.scene.Node content) Sets the value of thecontent
property.final void
setDelay
(javafx.util.Duration delay) Sets the value of thedelay
property.final void
Sets the value of theexception
property.final void
setMaximize
(boolean max) Sets the value of themaximize
property.final void
setPadding
(boolean padding) void
setSameWidthButtons
(boolean sameWidthButtons) Sets the value of thesameWidthButtons
property.final void
setShowButtonsBar
(boolean showButtonsBar) Sets the value of theshowButtonsBar
property.final void
setShowCloseButton
(boolean showCloseButton) Sets the value of theshowCloseButton
property.final void
Sets the value of thetitle
property.void
setValid
(boolean valid) Sets the value of thevalid
property.final void
Sets the value of thevalue
property.final javafx.beans.property.BooleanProperty
final javafx.beans.property.BooleanProperty
final javafx.beans.property.StringProperty
javafx.beans.property.BooleanProperty
final javafx.beans.property.ObjectProperty<T>
Methods inherited from class java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionally, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, toString, whenComplete, whenCompleteAsync, whenCompleteAsync
-
Property Details
-
showCloseButton
public final javafx.beans.property.BooleanProperty showCloseButtonProperty -
delay
public final javafx.beans.property.ObjectProperty<javafx.util.Duration> delayProperty- See Also:
-
value
- See Also:
-
valid
public javafx.beans.property.BooleanProperty validProperty- See Also:
-
sameWidthButtons
public javafx.beans.property.BooleanProperty sameWidthButtonsProperty -
maximize
public final javafx.beans.property.BooleanProperty maximizeProperty -
content
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> contentProperty- See Also:
-
title
public final javafx.beans.property.StringProperty titleProperty- See Also:
-
showButtonsBar
public final javafx.beans.property.BooleanProperty showButtonsBarProperty -
exception
-
-
Constructor Details
-
Dialog
-
-
Method Details
-
isShowCloseButton
public final boolean isShowCloseButton()Gets the value of theshowCloseButton
property.- Property description:
- Returns:
- the value of the
showCloseButton
property - See Also:
-
showCloseButtonProperty
public final javafx.beans.property.BooleanProperty showCloseButtonProperty()- Returns:
- the
showCloseButton
property - See Also:
-
setShowCloseButton
public final void setShowCloseButton(boolean showCloseButton) Sets the value of theshowCloseButton
property.- Property description:
- Parameters:
showCloseButton
- the value for theshowCloseButton
property- See Also:
-
getDelay
public final javafx.util.Duration getDelay()Gets the value of thedelay
property.- Property description:
- Returns:
- the value of the
delay
property - See Also:
-
delayProperty
public final javafx.beans.property.ObjectProperty<javafx.util.Duration> delayProperty()- Returns:
- the
delay
property - See Also:
-
setDelay
public final void setDelay(javafx.util.Duration delay) Sets the value of thedelay
property.- Property description:
- Parameters:
delay
- the value for thedelay
property- See Also:
-
isPadding
public final boolean isPadding() -
setPadding
public final void setPadding(boolean padding) -
getValue
Gets the value of thevalue
property.- Property description:
- Returns:
- the value of the
value
property - See Also:
-
valueProperty
- Returns:
- the
value
property - See Also:
-
setValue
Sets the value of thevalue
property.- Property description:
- Parameters:
value
- the value for thevalue
property- See Also:
-
getType
-
getDialogPane
-
cancel
public void cancel()Hides the dialog by cancelling it. -
isValid
public boolean isValid()Gets the value of thevalid
property.- Property description:
- Returns:
- the value of the
valid
property - See Also:
-
validProperty
public javafx.beans.property.BooleanProperty validProperty()- Returns:
- the
valid
property - See Also:
-
setValid
public void setValid(boolean valid) Sets the value of thevalid
property.- Property description:
- Parameters:
valid
- the value for thevalid
property- See Also:
-
getButtonTypes
public javafx.collections.ObservableList<javafx.scene.control.ButtonType> getButtonTypes() -
isSameWidthButtons
public boolean isSameWidthButtons()Gets the value of thesameWidthButtons
property.- Property description:
- Returns:
- the value of the
sameWidthButtons
property - See Also:
-
sameWidthButtonsProperty
public javafx.beans.property.BooleanProperty sameWidthButtonsProperty()- Returns:
- the
sameWidthButtons
property - See Also:
-
setSameWidthButtons
public void setSameWidthButtons(boolean sameWidthButtons) Sets the value of thesameWidthButtons
property.- Property description:
- Parameters:
sameWidthButtons
- the value for thesameWidthButtons
property- See Also:
-
maximizeProperty
public final javafx.beans.property.BooleanProperty maximizeProperty()- Returns:
- the
maximize
property - See Also:
-
setMaximize
public final void setMaximize(boolean max) Sets the value of themaximize
property.- Property description:
- Parameters:
max
- the value for themaximize
property- See Also:
-
isMaximize
public final boolean isMaximize()Gets the value of themaximize
property.- Property description:
- Returns:
- the value of the
maximize
property - See Also:
-
getOnCancelled
-
contentProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> contentProperty()- Returns:
- the
content
property - See Also:
-
setContent
public void setContent(javafx.scene.Node content) Sets the value of thecontent
property.- Property description:
- Parameters:
content
- the value for thecontent
property- See Also:
-
getContent
public javafx.scene.Node getContent()Gets the value of thecontent
property.- Property description:
- Returns:
- the value of the
content
property - See Also:
-
titleProperty
public final javafx.beans.property.StringProperty titleProperty()- Returns:
- the
title
property - See Also:
-
getTitle
Gets the value of thetitle
property.- Property description:
- Returns:
- the value of the
title
property - See Also:
-
setTitle
Sets the value of thetitle
property.- Property description:
- Parameters:
title
- the value for thetitle
property- See Also:
-
getStyleClass
-
showButtonsBarProperty
public final javafx.beans.property.BooleanProperty showButtonsBarProperty()- Returns:
- the
showButtonsBar
property - See Also:
-
isShowButtonsBar
public final boolean isShowButtonsBar()Gets the value of theshowButtonsBar
property.- Property description:
- Returns:
- the value of the
showButtonsBar
property - See Also:
-
setShowButtonsBar
public final void setShowButtonsBar(boolean showButtonsBar) Sets the value of theshowButtonsBar
property.- Property description:
- Parameters:
showButtonsBar
- the value for theshowButtonsBar
property- See Also:
-
exceptionProperty
- Returns:
- the
exception
property - See Also:
-
setException
Sets the value of theexception
property.- Property description:
- Parameters:
ex
- the value for theexception
property- See Also:
-
getException
Gets the value of theexception
property.- Property description:
- Returns:
- the value of the
exception
property - See Also:
-
getButton
public final javafx.scene.control.Button getButton(javafx.scene.control.ButtonType type)
-