Class LoadingPane
java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.layout.Pane
javafx.scene.layout.StackPane
com.dlsc.gemsfx.LoadingPane
- All Implemented Interfaces:
javafx.css.Styleable, javafx.event.EventTarget
@DefaultProperty("content")
public class LoadingPane
extends javafx.scene.layout.StackPane
A custom pane that supports the visual feedback for data loading / refreshing its content. The pane is a wrapper
around a given content node. This node will be hidden and a progress indicator shown instead when the status of
this pane changes to
LoadingPane.Status.LOADING. Once the status changes back to LoadingPane.Status.OK the node will be
shown again. If anything goes wrong while loading new data or refreshing the content a third state called
LoadingPane.Status.ERROR can be applied resulting in an error icon and error text being shown. The pane also supports
a progressProperty() for detailed progress feedback.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe possible sizes for the pane.static enumThe possible states that the loading pane can be in. -
Property Summary
PropertiesTypePropertyDescriptionfinal javafx.beans.property.LongPropertyThe commit delay duration that will be applied before the control does change to a new state.final javafx.beans.property.ReadOnlyObjectProperty<LoadingPane.Status> A read-only property that contains the "committed" status value.final javafx.beans.property.ObjectProperty<javafx.scene.Node> The wrapped content node.final javafx.beans.property.ObjectProperty<javafx.scene.Node> The node that will be shown when the loading pane is in statusLoadingPane.Status.ERROR.final javafx.beans.property.StringPropertyThe error text that will be shown if the pane is in statusLoadingPane.Status.ERROR.final javafx.beans.property.ObjectProperty<javafx.scene.control.ProgressIndicator> The progress indicator that will be used to display percentage progress or the indeterminate state of the loading progress.final javafx.beans.property.DoublePropertyThe progress (value between 0 and 1).final javafx.beans.property.ObjectProperty<LoadingPane.Size> The size of the progress indicator.final javafx.beans.property.ObjectProperty<LoadingPane.Status> The current status of the loading pane.Properties inherited from class javafx.scene.layout.StackPane
alignmentProperties inherited from class javafx.scene.layout.Region
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, widthProperties inherited from class javafx.scene.Parent
needsLayoutProperties inherited from class javafx.scene.Node
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, focusVisible, focusWithin, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible -
Field Summary
Fields inherited from class javafx.scene.layout.Region
USE_COMPUTED_SIZE, USE_PREF_SIZEFields inherited from class javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new loading pane.LoadingPane(javafx.scene.Node node) Constructs a new loading pane. -
Method Summary
Modifier and TypeMethodDescriptionfinal javafx.beans.property.LongPropertyThe commit delay duration that will be applied before the control does change to a new state.final javafx.beans.property.ReadOnlyObjectProperty<LoadingPane.Status> A read-only property that contains the "committed" status value.final javafx.beans.property.ObjectProperty<javafx.scene.Node> The wrapped content node.final voiderror()Convenience method to change the status of the pane toLoadingPane.Status.ERROR.final voidConvenience method to change the status of the pane toLoadingPane.Status.ERROR.final voidConvenience method to change the status of the pane toLoadingPane.Status.ERROR.final javafx.beans.property.ObjectProperty<javafx.scene.Node> The node that will be shown when the loading pane is in statusLoadingPane.Status.ERROR.final javafx.beans.property.StringPropertyThe error text that will be shown if the pane is in statusLoadingPane.Status.ERROR.static List<javafx.css.CssMetaData<? extends javafx.css.Styleable, ?>> final longGets the value of thecommitDelayproperty.final LoadingPane.StatusGets the value of thecommittedStatusproperty.final javafx.scene.NodeGets the value of thecontentproperty.List<javafx.css.CssMetaData<? extends javafx.css.Styleable, ?>> final StringgetError()Gets the value of theerrorproperty.final javafx.scene.NodeGets the value of theerrorNodeproperty.final doubleGets the value of theprogressproperty.final javafx.scene.control.ProgressIndicatorGets the value of theprogressIndicatorproperty.final LoadingPane.SizegetSize()Gets the value of thesizeproperty.final LoadingPane.StatusGets the value of thestatusproperty.final voidload()Convenience method to change the status of the pane toLoadingPane.Status.LOADING.final voidok()Convenience method to change the status of the pane toLoadingPane.Status.OK.final javafx.beans.property.ObjectProperty<javafx.scene.control.ProgressIndicator> The progress indicator that will be used to display percentage progress or the indeterminate state of the loading progress.final javafx.beans.property.DoublePropertyThe progress (value between 0 and 1).final voidsetCommitDelay(long commitDelay) Sets the value of thecommitDelayproperty.final voidsetContent(javafx.scene.Node content) Sets the value of thecontentproperty.final voidSets the value of theerrorproperty.final voidsetErrorNode(javafx.scene.Node errorNode) Sets the value of theerrorNodeproperty.final voidsetProgress(double progress) Sets the value of theprogressproperty.final voidsetProgressIndicator(javafx.scene.control.ProgressIndicator progressIndicator) Sets the value of theprogressIndicatorproperty.final voidsetSize(LoadingPane.Size size) Sets the value of thesizeproperty.final voidsetStatus(LoadingPane.Status status) Sets the value of thestatusproperty.final javafx.beans.property.ObjectProperty<LoadingPane.Size> The size of the progress indicator.final javafx.beans.property.ObjectProperty<LoadingPane.Status> The current status of the loading pane.Methods inherited from class javafx.scene.layout.StackPane
alignmentProperty, clearConstraints, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, getAlignment, getAlignment, getContentBias, getMargin, layoutChildren, requestLayout, setAlignment, setAlignment, setMarginMethods inherited from class javafx.scene.layout.Pane
getChildrenMethods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isResizable, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthPropertyMethods inherited from class javafx.scene.Parent
getBaselineOffset, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, queryAccessibleAttribute, requestParentLayout, setNeedsLayout, updateBoundsMethods inherited from class javafx.scene.Node
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, focusVisibleProperty, focusWithinProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInitialFocusTraversable, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isFocusVisible, isFocusWithin, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, requestFocusTraversal, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visiblePropertyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javafx.css.Styleable
getStyleableNode
-
Property Details
-
committedStatus
public final javafx.beans.property.ReadOnlyObjectProperty<LoadingPane.Status> committedStatusPropertyA read-only property that contains the "committed" status value. Applications request a status property change via thestatusProperty()which will be delayed via thecommitDelayProperty(). Once the delay has passed the control will updated this property.- See Also:
-
errorNode
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> errorNodePropertyThe node that will be shown when the loading pane is in statusLoadingPane.Status.ERROR. The default node for this is a simple label which binds to theerrorProperty().- See Also:
-
progressIndicator
public final javafx.beans.property.ObjectProperty<javafx.scene.control.ProgressIndicator> progressIndicatorPropertyThe progress indicator that will be used to display percentage progress or the indeterminate state of the loading progress.- See Also:
-
commitDelay
public final javafx.beans.property.LongProperty commitDelayPropertyThe commit delay duration that will be applied before the control does change to a new state. The default is 200 milliseconds.- See Also:
-
error
public final javafx.beans.property.StringProperty errorPropertyThe error text that will be shown if the pane is in statusLoadingPane.Status.ERROR.- See Also:
-
content
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> contentPropertyThe wrapped content node.- See Also:
-
status
The current status of the loading pane.- See Also:
-
size
The size of the progress indicator. The size should match the size of the wrapped node.Can be set via CSS using the
-fx-sizeproperty. Valid values are:SMALL,MEDIUM,LARGE. The default value isMEDIUM.- See Also:
-
progress
public final javafx.beans.property.DoubleProperty progressPropertyThe progress (value between 0 and 1).- See Also:
-
-
Constructor Details
-
LoadingPane
public LoadingPane()Constructs a new loading pane. -
LoadingPane
public LoadingPane(javafx.scene.Node node) Constructs a new loading pane.- Parameters:
node- the wrapped node
-
-
Method Details
-
getUserAgentStylesheet
- Overrides:
getUserAgentStylesheetin classjavafx.scene.layout.Region
-
getCommittedStatus
Gets the value of thecommittedStatusproperty.- Property description:
- A read-only property that contains the "committed" status value. Applications request a status property
change via the
statusProperty()which will be delayed via thecommitDelayProperty(). Once the delay has passed the control will updated this property. - Returns:
- the value of the
committedStatusproperty - See Also:
-
committedStatusProperty
public final javafx.beans.property.ReadOnlyObjectProperty<LoadingPane.Status> committedStatusProperty()A read-only property that contains the "committed" status value. Applications request a status property change via thestatusProperty()which will be delayed via thecommitDelayProperty(). Once the delay has passed the control will updated this property.- Returns:
- the read-only property storing the committed status
- See Also:
-
getErrorNode
public final javafx.scene.Node getErrorNode()Gets the value of theerrorNodeproperty.- Property description:
- The node that will be shown when the loading pane is in status
LoadingPane.Status.ERROR. The default node for this is a simple label which binds to theerrorProperty(). - Returns:
- the value of the
errorNodeproperty - See Also:
-
errorNodeProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> errorNodeProperty()The node that will be shown when the loading pane is in statusLoadingPane.Status.ERROR. The default node for this is a simple label which binds to theerrorProperty().- Returns:
- the error node
- See Also:
-
setErrorNode
public final void setErrorNode(javafx.scene.Node errorNode) Sets the value of theerrorNodeproperty.- Property description:
- The node that will be shown when the loading pane is in status
LoadingPane.Status.ERROR. The default node for this is a simple label which binds to theerrorProperty(). - Parameters:
errorNode- the value for theerrorNodeproperty- See Also:
-
getProgressIndicator
public final javafx.scene.control.ProgressIndicator getProgressIndicator()Gets the value of theprogressIndicatorproperty.- Property description:
- The progress indicator that will be used to display percentage progress or the indeterminate state of the loading progress.
- Returns:
- the value of the
progressIndicatorproperty - See Also:
-
progressIndicatorProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.control.ProgressIndicator> progressIndicatorProperty()The progress indicator that will be used to display percentage progress or the indeterminate state of the loading progress.- Returns:
- the progress indicator
- See Also:
-
setProgressIndicator
public final void setProgressIndicator(javafx.scene.control.ProgressIndicator progressIndicator) Sets the value of theprogressIndicatorproperty.- Property description:
- The progress indicator that will be used to display percentage progress or the indeterminate state of the loading progress.
- Parameters:
progressIndicator- the value for theprogressIndicatorproperty- See Also:
-
getCommitDelay
public final long getCommitDelay()Gets the value of thecommitDelayproperty.- Property description:
- The commit delay duration that will be applied before the control does change to a new state. The default is 200 milliseconds.
- Returns:
- the value of the
commitDelayproperty - See Also:
-
commitDelayProperty
public final javafx.beans.property.LongProperty commitDelayProperty()The commit delay duration that will be applied before the control does change to a new state. The default is 200 milliseconds.- Returns:
- the delay duration in milliseconds
- See Also:
-
setCommitDelay
public final void setCommitDelay(long commitDelay) Sets the value of thecommitDelayproperty.- Property description:
- The commit delay duration that will be applied before the control does change to a new state. The default is 200 milliseconds.
- Parameters:
commitDelay- the value for thecommitDelayproperty- See Also:
-
errorProperty
public final javafx.beans.property.StringProperty errorProperty()The error text that will be shown if the pane is in statusLoadingPane.Status.ERROR.- Returns:
- the error message
- See Also:
-
getError
Gets the value of theerrorproperty.- Property description:
- The error text that will be shown if the pane is in status
LoadingPane.Status.ERROR. - Returns:
- the value of the
errorproperty - See Also:
-
setError
Sets the value of theerrorproperty.- Property description:
- The error text that will be shown if the pane is in status
LoadingPane.Status.ERROR. - Parameters:
error- the value for theerrorproperty- See Also:
-
getContent
public final javafx.scene.Node getContent()Gets the value of thecontentproperty.- Property description:
- The wrapped content node.
- Returns:
- the value of the
contentproperty - See Also:
-
contentProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> contentProperty()The wrapped content node.- Returns:
- the node / the view wrapped by the loading pane, e.g. a list or a table view
- See Also:
-
setContent
public final void setContent(javafx.scene.Node content) Sets the value of thecontentproperty.- Property description:
- The wrapped content node.
- Parameters:
content- the value for thecontentproperty- See Also:
-
statusProperty
The current status of the loading pane.- Returns:
- the status of the loading pane
- See Also:
-
getStatus
Gets the value of thestatusproperty.- Property description:
- The current status of the loading pane.
- Returns:
- the value of the
statusproperty - See Also:
-
setStatus
Sets the value of thestatusproperty.- Property description:
- The current status of the loading pane.
- Parameters:
status- the value for thestatusproperty- See Also:
-
sizeProperty
The size of the progress indicator. The size should match the size of the wrapped node.Can be set via CSS using the
-fx-sizeproperty. Valid values are:SMALL,MEDIUM,LARGE. The default value isMEDIUM.- Returns:
- the size of the progress indicator
- See Also:
-
getSize
Gets the value of thesizeproperty.- Property description:
- The size of the progress indicator. The size should match the size of the wrapped node.
Can be set via CSS using the
-fx-sizeproperty. Valid values are:SMALL,MEDIUM,LARGE. The default value isMEDIUM. - Returns:
- the value of the
sizeproperty - See Also:
-
setSize
Sets the value of thesizeproperty.- Property description:
- The size of the progress indicator. The size should match the size of the wrapped node.
Can be set via CSS using the
-fx-sizeproperty. Valid values are:SMALL,MEDIUM,LARGE. The default value isMEDIUM. - Parameters:
size- the value for thesizeproperty- See Also:
-
getClassCssMetaData
-
getCssMetaData
- Specified by:
getCssMetaDatain interfacejavafx.css.Styleable- Overrides:
getCssMetaDatain classjavafx.scene.layout.StackPane
-
getProgress
public final double getProgress()Gets the value of theprogressproperty.- Property description:
- The progress (value between 0 and 1).
- Returns:
- the value of the
progressproperty - See Also:
-
setProgress
public final void setProgress(double progress) Sets the value of theprogressproperty.- Property description:
- The progress (value between 0 and 1).
- Parameters:
progress- the value for theprogressproperty- See Also:
-
progressProperty
public final javafx.beans.property.DoubleProperty progressProperty()The progress (value between 0 and 1).- Returns:
- the progress of the loading process
- See Also:
-
load
public final void load()Convenience method to change the status of the pane toLoadingPane.Status.LOADING. Automatically clears the error text. This method is thread-safe. -
ok
public final void ok()Convenience method to change the status of the pane toLoadingPane.Status.OK. Automatically clears the error text. This method is thread-safe. -
error
Convenience method to change the status of the pane toLoadingPane.Status.ERROR. Also changes the error text to the given value. This method is thread-safe. -
error
Convenience method to change the status of the pane toLoadingPane.Status.ERROR. Also changes the error text to the message provided by the throwable. This method is thread-safe. -
error
public final void error()Convenience method to change the status of the pane toLoadingPane.Status.ERROR. There will be no error message shown. This method is thread-safe.
-