Class Skeleton
java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.control.Control
com.dlsc.gemsfx.Skeleton
- All Implemented Interfaces:
javafx.css.Styleable, javafx.event.EventTarget, javafx.scene.control.Skinnable
public class Skeleton
extends javafx.scene.control.Control
Single-unit skeleton placeholder with a horizontal shimmer animation,
intended for content-is-loading UI. The skeleton draws one of three
variants selected via
variantProperty() and overlays a shimmer band
that scrolls left-to-right to suggest activity.
The skeleton is stretchable: its skin reports maxWidth and
maxHeight as Double.MAX_VALUE, so the placeholder can grow
to mirror real content as its container resizes.
Variants:
Skeleton.Variant.ROUNDED_RECTANGLE: a rectangle whose corners usecornerRadiusSkeleton.Variant.CIRCULAR: a circle inscribed inmin(width, height)Skeleton.Variant.TEXT: stacked lines that simulate a paragraph
CSS Styleable Properties:
| Property | Type | Description |
|---|---|---|
-fx-variant | Variant | Geometric form of the placeholder |
-fx-corner-radius | Size | Corner radius for rounded rectangles |
-fx-base-color | Paint | Base block fill |
-fx-shimmer-fill | Paint | Moving shimmer band fill |
-fx-cycle-duration | Duration | Duration of one shimmer sweep |
-fx-shimmer-width | Size | Width of the shimmer band |
-fx-line-count | Size | Number of text lines |
-fx-line-height | Size | Height of each text line |
-fx-line-spacing | Size | Spacing between text lines |
-fx-last-line-fill-percent | Size | Width percentage of the final text line |
- See Also:
-
Nested Class Summary
Nested Classes -
Property Summary
PropertiesTypePropertyDescriptionfinal javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> Paint used for the base block under the shimmer band.final javafx.beans.property.DoublePropertyCorner radius applied whenvariantProperty()isSkeleton.Variant.ROUNDED_RECTANGLE.final javafx.beans.property.ObjectProperty<javafx.util.Duration> Duration of one full left-to-right shimmer sweep.final javafx.beans.property.DoublePropertyWidth of the last line forSkeleton.Variant.TEXT, expressed as a percent of the placeholder width.final javafx.beans.property.IntegerPropertyNumber of stacked lines drawn forSkeleton.Variant.TEXT.final javafx.beans.property.DoublePropertyPer-line height forSkeleton.Variant.TEXT, in pixels.final javafx.beans.property.DoublePropertyVertical gap between adjacent lines forSkeleton.Variant.TEXT, in pixels.final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> Fill paint used for the moving shimmer band.final javafx.beans.property.DoublePropertyWidth of the shimmer band in pixels.final javafx.beans.property.ObjectProperty<Skeleton.Variant> Geometric form of the placeholder.Properties inherited from class javafx.scene.control.Control
contextMenu, skin, tooltipProperties 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, 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
FieldsFields 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
ConstructorsConstructorDescriptionSkeleton()Creates a skeleton with the default variant.Skeleton(Skeleton.Variant variant) Creates a skeleton with the given variant. -
Method Summary
Modifier and TypeMethodDescriptionfinal javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> Paint used for the base block under the shimmer band.final javafx.beans.property.DoublePropertyCorner radius applied whenvariantProperty()isSkeleton.Variant.ROUNDED_RECTANGLE.protected javafx.scene.control.Skin<?> static javafx.scene.paint.LinearGradientcreateShimmerGradient(javafx.scene.paint.Color highlightColor) Creates a standard shimmer gradient from a single highlight color.final javafx.beans.property.ObjectProperty<javafx.util.Duration> Duration of one full left-to-right shimmer sweep.final javafx.scene.paint.PaintGets the base fill paint.static List<javafx.css.CssMetaData<? extends javafx.css.Styleable, ?>> Returns the CSS metadata associated with this class.List<javafx.css.CssMetaData<? extends javafx.css.Styleable, ?>> Returns the CSS metadata associated with this control instance.final doubleGets the corner radius.final javafx.util.DurationGets the shimmer cycle duration.final doubleGets the fill percent used for the final text line.final intGets the number of text lines.final doubleGets the text line height.final doubleGets the spacing between text lines.final javafx.scene.paint.PaintGets the shimmer band fill paint.final doubleGets the shimmer band width.final Skeleton.VariantGets the geometric variant.final javafx.beans.property.DoublePropertyWidth of the last line forSkeleton.Variant.TEXT, expressed as a percent of the placeholder width.final javafx.beans.property.IntegerPropertyNumber of stacked lines drawn forSkeleton.Variant.TEXT.final javafx.beans.property.DoublePropertyPer-line height forSkeleton.Variant.TEXT, in pixels.final javafx.beans.property.DoublePropertyVertical gap between adjacent lines forSkeleton.Variant.TEXT, in pixels.final voidsetBaseColor(javafx.scene.paint.Paint value) Sets the base fill paint.final voidsetCornerRadius(double value) Sets the corner radius.final voidsetCycleDuration(javafx.util.Duration value) Sets the shimmer cycle duration.final voidsetLastLineFillPercent(double value) Sets the fill percent used for the final text line.final voidsetLineCount(int value) Sets the number of text lines.final voidsetLineHeight(double value) Sets the text line height.final voidsetLineSpacing(double value) Sets the spacing between text lines.final voidsetShimmerFill(javafx.scene.paint.Paint value) Sets the shimmer band fill paint.final voidsetShimmerWidth(double value) Sets the shimmer band width.final voidsetVariant(Skeleton.Variant value) Sets the geometric variant.final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> Fill paint used for the moving shimmer band.final javafx.beans.property.DoublePropertyWidth of the shimmer band in pixels.final javafx.beans.property.ObjectProperty<Skeleton.Variant> Geometric form of the placeholder.Methods inherited from class javafx.scene.control.Control
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getContextMenu, getCssMetaData, getInitialFocusTraversable, getSkin, getTooltip, isResizable, layoutChildren, queryAccessibleAttribute, setContextMenu, setSkin, setTooltip, skinProperty, tooltipPropertyMethods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, 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
getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, 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, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, 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, 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, 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
-
variant
Geometric form of the placeholder. Anullvalue resolves to the defaultDEFAULT_VARIANTat the use site.- See Also:
-
cornerRadius
public final javafx.beans.property.DoubleProperty cornerRadiusPropertyCorner radius applied whenvariantProperty()isSkeleton.Variant.ROUNDED_RECTANGLE. Negative values andNaNare treated as0at render time.- See Also:
-
baseColor
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> baseColorPropertyPaint used for the base block under the shimmer band. Settingnullrenders no base fill.- See Also:
-
shimmerFill
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> shimmerFillPropertyFill paint used for the moving shimmer band. Settingnullrenders no shimmer fill.- See Also:
-
cycleDuration
public final javafx.beans.property.ObjectProperty<javafx.util.Duration> cycleDurationPropertyDuration of one full left-to-right shimmer sweep. A value ofnull, an unknown or indefinite duration, or any duration less than or equal toDuration.ZEROsuppresses the animation.- See Also:
-
shimmerWidth
public final javafx.beans.property.DoubleProperty shimmerWidthPropertyWidth of the shimmer band in pixels. Values that are negative,NaN, or infinite are treated as0at render time.- See Also:
-
lineCount
public final javafx.beans.property.IntegerProperty lineCountProperty- See Also:
-
lineHeight
public final javafx.beans.property.DoubleProperty lineHeightPropertyPer-line height forSkeleton.Variant.TEXT, in pixels. Values that are negative,NaN, or infinite are treated as0at render time.- See Also:
-
lineSpacing
public final javafx.beans.property.DoubleProperty lineSpacingPropertyVertical gap between adjacent lines forSkeleton.Variant.TEXT, in pixels. Values that are negative,NaN, or infinite are treated as0at render time.- See Also:
-
lastLineFillPercent
public final javafx.beans.property.DoubleProperty lastLineFillPercentPropertyWidth of the last line forSkeleton.Variant.TEXT, expressed as a percent of the placeholder width. Values are clamped to[0, 100]at render time.- See Also:
-
-
Field Details
-
DEFAULT_VARIANT
-
-
Constructor Details
-
Skeleton
public Skeleton()Creates a skeleton with the default variant. -
Skeleton
Creates a skeleton with the given variant.- Parameters:
variant- the initial variant;nullkeeps the default value and leaves the property settable from CSS
-
-
Method Details
-
createShimmerGradient
public static javafx.scene.paint.LinearGradient createShimmerGradient(javafx.scene.paint.Color highlightColor) Creates a standard shimmer gradient from a single highlight color.- Parameters:
highlightColor- the center highlight color- Returns:
- a linear gradient suitable for
shimmerFillProperty() - Throws:
NullPointerException- ifhighlightColorisnull
-
createDefaultSkin
protected javafx.scene.control.Skin<?> createDefaultSkin()- Overrides:
createDefaultSkinin classjavafx.scene.control.Control
-
variantProperty
Geometric form of the placeholder. Anullvalue resolves to the defaultDEFAULT_VARIANTat the use site.- Returns:
- the variant property
- See Also:
-
getVariant
-
setVariant
Sets the geometric variant.- Parameters:
value- the variant, ornullto fall back to the default
-
cornerRadiusProperty
public final javafx.beans.property.DoubleProperty cornerRadiusProperty()Corner radius applied whenvariantProperty()isSkeleton.Variant.ROUNDED_RECTANGLE. Negative values andNaNare treated as0at render time.- Returns:
- the corner-radius property
- See Also:
-
getCornerRadius
public final double getCornerRadius()Gets the corner radius.- Returns:
- the corner radius in pixels
-
setCornerRadius
public final void setCornerRadius(double value) Sets the corner radius.- Parameters:
value- the corner radius in pixels
-
baseColorProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> baseColorProperty()Paint used for the base block under the shimmer band. Settingnullrenders no base fill.- Returns:
- the base-color property
- See Also:
-
getBaseColor
public final javafx.scene.paint.Paint getBaseColor()Gets the base fill paint.- Returns:
- the base fill paint, or
nullfor no base fill
-
setBaseColor
public final void setBaseColor(javafx.scene.paint.Paint value) Sets the base fill paint.- Parameters:
value- the base fill paint, ornullfor no base fill
-
shimmerFillProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> shimmerFillProperty()Fill paint used for the moving shimmer band. Settingnullrenders no shimmer fill.- Returns:
- the shimmer-fill property
- See Also:
-
getShimmerFill
public final javafx.scene.paint.Paint getShimmerFill()Gets the shimmer band fill paint.- Returns:
- the shimmer band fill paint, or
nullfor no shimmer fill
-
setShimmerFill
public final void setShimmerFill(javafx.scene.paint.Paint value) Sets the shimmer band fill paint.- Parameters:
value- the shimmer band fill paint, ornullfor no shimmer fill
-
cycleDurationProperty
public final javafx.beans.property.ObjectProperty<javafx.util.Duration> cycleDurationProperty()Duration of one full left-to-right shimmer sweep. A value ofnull, an unknown or indefinite duration, or any duration less than or equal toDuration.ZEROsuppresses the animation.- Returns:
- the cycle-duration property
- See Also:
-
getCycleDuration
public final javafx.util.Duration getCycleDuration()Gets the shimmer cycle duration.- Returns:
- the cycle duration, or
nullto disable animation
-
setCycleDuration
public final void setCycleDuration(javafx.util.Duration value) Sets the shimmer cycle duration.- Parameters:
value- the cycle duration, ornullto disable animation
-
shimmerWidthProperty
public final javafx.beans.property.DoubleProperty shimmerWidthProperty()Width of the shimmer band in pixels. Values that are negative,NaN, or infinite are treated as0at render time.- Returns:
- the shimmer-width property
- See Also:
-
getShimmerWidth
public final double getShimmerWidth()Gets the shimmer band width.- Returns:
- the shimmer band width in pixels
-
setShimmerWidth
public final void setShimmerWidth(double value) Sets the shimmer band width.- Parameters:
value- the shimmer band width in pixels
-
lineCountProperty
public final javafx.beans.property.IntegerProperty lineCountProperty()- Returns:
- the line-count property
- See Also:
-
getLineCount
public final int getLineCount()Gets the number of text lines.- Returns:
- the configured line count
-
setLineCount
public final void setLineCount(int value) Sets the number of text lines.- Parameters:
value- the configured line count
-
lineHeightProperty
public final javafx.beans.property.DoubleProperty lineHeightProperty()Per-line height forSkeleton.Variant.TEXT, in pixels. Values that are negative,NaN, or infinite are treated as0at render time.- Returns:
- the line-height property
- See Also:
-
getLineHeight
public final double getLineHeight()Gets the text line height.- Returns:
- the line height in pixels
-
setLineHeight
public final void setLineHeight(double value) Sets the text line height.- Parameters:
value- the line height in pixels
-
lineSpacingProperty
public final javafx.beans.property.DoubleProperty lineSpacingProperty()Vertical gap between adjacent lines forSkeleton.Variant.TEXT, in pixels. Values that are negative,NaN, or infinite are treated as0at render time.- Returns:
- the line-spacing property
- See Also:
-
getLineSpacing
public final double getLineSpacing()Gets the spacing between text lines.- Returns:
- the line spacing in pixels
-
setLineSpacing
public final void setLineSpacing(double value) Sets the spacing between text lines.- Parameters:
value- the line spacing in pixels
-
lastLineFillPercentProperty
public final javafx.beans.property.DoubleProperty lastLineFillPercentProperty()Width of the last line forSkeleton.Variant.TEXT, expressed as a percent of the placeholder width. Values are clamped to[0, 100]at render time.- Returns:
- the last-line-fill-percent property
- See Also:
-
getLastLineFillPercent
public final double getLastLineFillPercent()Gets the fill percent used for the final text line.- Returns:
- the final line fill percent
-
setLastLineFillPercent
public final void setLastLineFillPercent(double value) Sets the fill percent used for the final text line.- Parameters:
value- the final line fill percent
-
getClassCssMetaData
Returns the CSS metadata associated with this class.- Returns:
- the CSS metadata
-
getControlCssMetaData
Returns the CSS metadata associated with this control instance.- Overrides:
getControlCssMetaDatain classjavafx.scene.control.Control- Returns:
- the CSS metadata
-