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
PropertiesTypePropertyDescriptionfinal 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.BooleanPropertyjavafx.beans.property.BooleanPropertyfinal javafx.beans.property.BooleanPropertyfinal javafx.beans.property.BooleanPropertyfinal javafx.beans.property.StringPropertyjavafx.beans.property.BooleanPropertyfinal javafx.beans.property.ObjectProperty<T> -
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()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.ButtongetButton(javafx.scene.control.ButtonType type) javafx.collections.ObservableList<javafx.scene.control.ButtonType>javafx.scene.NodeGets the value of thecontentproperty.final javafx.util.DurationgetDelay()Gets the value of thedelayproperty.final DialogPanefinal ThrowableGets the value of theexceptionproperty.javafx.collections.ObservableList<String>final StringgetTitle()Gets the value of thetitleproperty.final DialogPane.TypegetType()final TgetValue()Gets the value of thevalueproperty.final booleanGets the value of themaximizeproperty.final booleanbooleanGets the value of thesameWidthButtonsproperty.final booleanGets the value of theshowButtonsBarproperty.final booleanGets the value of theshowCloseButtonproperty.booleanisValid()Gets the value of thevalidproperty.final javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyvoidsetContent(javafx.scene.Node content) Sets the value of thecontentproperty.final voidsetDelay(javafx.util.Duration delay) Sets the value of thedelayproperty.final voidSets the value of theexceptionproperty.final voidsetMaximize(boolean max) Sets the value of themaximizeproperty.final voidsetPadding(boolean padding) voidsetSameWidthButtons(boolean sameWidthButtons) Sets the value of thesameWidthButtonsproperty.final voidsetShowButtonsBar(boolean showButtonsBar) Sets the value of theshowButtonsBarproperty.final voidsetShowCloseButton(boolean showCloseButton) Sets the value of theshowCloseButtonproperty.final voidSets the value of thetitleproperty.voidsetValid(boolean valid) Sets the value of thevalidproperty.final voidSets the value of thevalueproperty.final javafx.beans.property.BooleanPropertyfinal javafx.beans.property.BooleanPropertyfinal javafx.beans.property.StringPropertyjavafx.beans.property.BooleanPropertyfinal 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 theshowCloseButtonproperty.- Property description:
- Returns:
- the value of the
showCloseButtonproperty - See Also:
-
showCloseButtonProperty
public final javafx.beans.property.BooleanProperty showCloseButtonProperty()- Returns:
- the
showCloseButtonproperty - See Also:
-
setShowCloseButton
public final void setShowCloseButton(boolean showCloseButton) Sets the value of theshowCloseButtonproperty.- Property description:
- Parameters:
showCloseButton- the value for theshowCloseButtonproperty- See Also:
-
getDelay
public final javafx.util.Duration getDelay()Gets the value of thedelayproperty.- Property description:
- Returns:
- the value of the
delayproperty - See Also:
-
delayProperty
public final javafx.beans.property.ObjectProperty<javafx.util.Duration> delayProperty()- Returns:
- the
delayproperty - See Also:
-
setDelay
public final void setDelay(javafx.util.Duration delay) Sets the value of thedelayproperty.- Property description:
- Parameters:
delay- the value for thedelayproperty- See Also:
-
isPadding
public final boolean isPadding() -
setPadding
public final void setPadding(boolean padding) -
getValue
Gets the value of thevalueproperty.- Property description:
- Returns:
- the value of the
valueproperty - See Also:
-
valueProperty
- Returns:
- the
valueproperty - See Also:
-
setValue
Sets the value of thevalueproperty.- Property description:
- Parameters:
value- the value for thevalueproperty- See Also:
-
getType
-
getDialogPane
-
cancel
public void cancel()Hides the dialog by cancelling it. -
isValid
public boolean isValid()Gets the value of thevalidproperty.- Property description:
- Returns:
- the value of the
validproperty - See Also:
-
validProperty
public javafx.beans.property.BooleanProperty validProperty()- Returns:
- the
validproperty - See Also:
-
setValid
public void setValid(boolean valid) Sets the value of thevalidproperty.- Property description:
- Parameters:
valid- the value for thevalidproperty- See Also:
-
getButtonTypes
public javafx.collections.ObservableList<javafx.scene.control.ButtonType> getButtonTypes() -
isSameWidthButtons
public boolean isSameWidthButtons()Gets the value of thesameWidthButtonsproperty.- Property description:
- Returns:
- the value of the
sameWidthButtonsproperty - See Also:
-
sameWidthButtonsProperty
public javafx.beans.property.BooleanProperty sameWidthButtonsProperty()- Returns:
- the
sameWidthButtonsproperty - See Also:
-
setSameWidthButtons
public void setSameWidthButtons(boolean sameWidthButtons) Sets the value of thesameWidthButtonsproperty.- Property description:
- Parameters:
sameWidthButtons- the value for thesameWidthButtonsproperty- See Also:
-
maximizeProperty
public final javafx.beans.property.BooleanProperty maximizeProperty()- Returns:
- the
maximizeproperty - See Also:
-
setMaximize
public final void setMaximize(boolean max) Sets the value of themaximizeproperty.- Property description:
- Parameters:
max- the value for themaximizeproperty- See Also:
-
isMaximize
public final boolean isMaximize()Gets the value of themaximizeproperty.- Property description:
- Returns:
- the value of the
maximizeproperty - See Also:
-
getOnCancelled
-
contentProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> contentProperty()- Returns:
- the
contentproperty - See Also:
-
setContent
public void setContent(javafx.scene.Node content) Sets the value of thecontentproperty.- Property description:
- Parameters:
content- the value for thecontentproperty- See Also:
-
getContent
public javafx.scene.Node getContent()Gets the value of thecontentproperty.- Property description:
- Returns:
- the value of the
contentproperty - See Also:
-
titleProperty
public final javafx.beans.property.StringProperty titleProperty()- Returns:
- the
titleproperty - See Also:
-
getTitle
Gets the value of thetitleproperty.- Property description:
- Returns:
- the value of the
titleproperty - See Also:
-
setTitle
Sets the value of thetitleproperty.- Property description:
- Parameters:
title- the value for thetitleproperty- See Also:
-
getStyleClass
-
showButtonsBarProperty
public final javafx.beans.property.BooleanProperty showButtonsBarProperty()- Returns:
- the
showButtonsBarproperty - See Also:
-
isShowButtonsBar
public final boolean isShowButtonsBar()Gets the value of theshowButtonsBarproperty.- Property description:
- Returns:
- the value of the
showButtonsBarproperty - See Also:
-
setShowButtonsBar
public final void setShowButtonsBar(boolean showButtonsBar) Sets the value of theshowButtonsBarproperty.- Property description:
- Parameters:
showButtonsBar- the value for theshowButtonsBarproperty- See Also:
-
exceptionProperty
- Returns:
- the
exceptionproperty - See Also:
-
setException
Sets the value of theexceptionproperty.- Property description:
- Parameters:
ex- the value for theexceptionproperty- See Also:
-
getException
Gets the value of theexceptionproperty.- Property description:
- Returns:
- the value of the
exceptionproperty - See Also:
-
getButton
public final javafx.scene.control.Button getButton(javafx.scene.control.ButtonType type)
-