Package javafx.scene.control
Class Labeled
java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.control.Control
javafx.scene.control.Labeled
- All Implemented Interfaces:
 LayoutMeasurable,LayoutMeasurableMixin,HasAlignmentProperty,HasBackgroundProperty,HasBlendModeProperty,HasBorderProperty,HasClipProperty,HasEffectProperty,HasFontProperty,HasGraphicProperty,HasHeightProperty,HasImageUrlProperty,HasLayoutXProperty,HasLayoutYProperty,HasManagedProperty,HasMaxHeightProperty,HasMaxWidthProperty,HasMinHeightProperty,HasMinWidthProperty,HasMouseTransparentProperty,HasOnMouseClickedProperty,HasOpacityProperty,HasPaddingProperty,HasParentProperty,HasPrefHeightProperty,HasPrefWidthProperty,HasSnapToPixelProperty,HasTextAlignmentProperty,HasTextFillProperty,HasTextProperty,HasVisibleProperty,HasWidthProperty,Styleable,EventTarget,Skinnable,INode,PreferenceResizableNode
- Direct Known Subclasses:
 ButtonBase,Cell,Label,TitledPane
public abstract class Labeled
extends Control
implements HasTextProperty, HasGraphicProperty, HasImageUrlProperty, HasFontProperty, HasAlignmentProperty, HasTextAlignmentProperty, HasTextFillProperty
- Author:
 - Bruno Salmon
 
- 
Property Summary
PropertiesTypePropertyDescriptionfinal ObjectProperty<ContentDisplay>Specifies the positioning of the graphic relative to the text.final StringPropertySpecifies the string to display for the ellipsis when text is truncated.final DoublePropertyThe amount of space between the graphic and textThe padding around the Labeled's text and graphic content.final DoublePropertySpecifies the space in pixel between lines.final ObjectProperty<OverrunStyle>Specifies the behavior to use if the text of theLabeledexceeds the available space for rendering the text.If a run of text exceeds the width of the Labeled, then this variable indicates whether the text should wrap onto another line.Properties inherited from class javafx.scene.control.Control
contextMenu, skin, tooltipProperties inherited from class javafx.scene.layout.Region
background, border, height, insets, maxHeight, maxWidth, minHeight, minWidth, padding, prefHeight, prefWidth, snapToPixel, widthProperties inherited from class javafx.scene.Parent
needsLayoutProperties inherited from class javafx.scene.Node
blendMode, cacheHint, cache, clip, cursor, disabled, disable, effect, eventDispatcher, focused, focusTraversable, hover, id, layoutBounds, layoutX, layoutY, managed, mouseTransparent, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onScroll, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, opacity, parent, pressed, rotate, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, visibleProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBlendModeProperty
blendModeProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasClipProperty
clipProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasEffectProperty
effectProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutXProperty
layoutXProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutYProperty
layoutYProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasManagedProperty
managedProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMouseTransparentProperty
mouseTransparentProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOnMouseClickedProperty
onMouseClickedProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOpacityProperty
opacityProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasParentProperty
parentProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasVisibleProperty
visible - 
Field Summary
Fields inherited from interface javafx.scene.INode
BASELINE_OFFSET_SAME_AS_HEIGHTFields inherited from interface javafx.scene.layout.PreferenceResizableNode
USE_COMPUTED_SIZE, USE_PREF_SIZE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfinal ObjectProperty<ContentDisplay>Specifies the positioning of the graphic relative to the text.final StringPropertySpecifies the string to display for the ellipsis when text is truncated.If wrapText is true, then contentBias will be HORIZONTAL, otherwise it is null.final ContentDisplayGets the value of thecontentDisplayproperty.final StringGets the value of theellipsisStringproperty.final doubleGets the value of thegraphicTextGapproperty.final InsetsGets the value of thelabelPaddingproperty.final doubleGets the value of thelineSpacingproperty.final OverrunStyleGets the value of thetextOverrunproperty.final DoublePropertyThe amount of space between the graphic and textfinal booleanThe padding around the Labeled's text and graphic content.final DoublePropertySpecifies the space in pixel between lines.final voidsetContentDisplay(ContentDisplay value) Sets the value of thecontentDisplayproperty.final voidsetEllipsisString(String value) Sets the value of theellipsisStringproperty.final voidsetGraphicTextGap(double value) Sets the value of thegraphicTextGapproperty.final voidsetLineSpacing(double value) Sets the value of thelineSpacingproperty.voidfinal voidsetTextOverrun(OverrunStyle value) Sets the value of thetextOverrunproperty.final voidsetWrapText(boolean value) Sets the value of thewrapTextproperty.final ObjectProperty<OverrunStyle>Specifies the behavior to use if the text of theLabeledexceeds the available space for rendering the text.If a run of text exceeds the width of the Labeled, then this variable indicates whether the text should wrap onto another line.Methods inherited from class javafx.scene.control.Control
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, createDefaultSkin, getBaselineOffset, getContextMenu, getSkin, getTooltip, layoutChildren, setContextMenu, setSkin, setTooltip, shouldUseLayoutMeasurable, skinProperty, tooltipPropertyMethods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, boundedSize, getInsets, heightProperty, impl_computeGeomBounds, impl_computeLayoutBounds, impl_maxHeight, impl_maxWidth, impl_minHeight, impl_minWidth, impl_prefHeight, impl_prefWidth, insetsProperty, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, paddingProperty, positionInArea, positionInArea, prefHeightProperty, prefWidthProperty, resize, setMaxSize, setMinSize, setPrefSize, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthPropertyMethods inherited from class javafx.scene.Parent
getChildren, getChildrenUnmodifiable, getManagedChildren, isNeedsLayout, layout, needsLayoutProperty, requestLayout, requestParentLayout, setLayoutFlag, setNeedsLayout, setSceneRootMethods inherited from class javafx.scene.Node
addEventFilter, addEventHandler, autosize, blendModeProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, createLayoutMeasurable, cursorProperty, disabledProperty, disableProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAllNodeTransforms, getBoundsInLocal, getCacheHint, getCursor, getEventDispatcher, getId, getLayoutMeasurable, getNodePeer, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseDragged, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnScroll, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOrCreateAndBindNodePeer, getProperties, getRotate, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleClass, getTransforms, getTranslateX, getTranslateY, getUserData, hasProperties, hoverProperty, idProperty, impl_getLayoutBounds, impl_isTreeVisible, impl_traverse, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isPressed, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToScene, localToScene, localToScreen, localToScreen, localToScreen, localToScreen, managedProperty, mouseTransparentProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDraggedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onNodePeerReady, onPeerSizeChanged, onScrollProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, opacityProperty, parentProperty, parentToLocal, pressedProperty, removeEventFilter, removeEventHandler, requestFocus, requestPeerFocus, rotateProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, setCache, setCacheHint, setCursor, setDisable, setDisabled, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setNodePeer, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseDragged, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnScroll, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setPressed, setRotate, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setUserData, snapshot, startDragAndDrop, styleProperty, toBack, toFront, translateXProperty, translateYProperty, visiblePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasAlignmentProperty
getAlignment, setAlignmentMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBackgroundProperty
getBackground, setBackgroundMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBlendModeProperty
blendModeProperty, getBlendMode, setBlendModeMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBorderProperty
getBorder, setBorderMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasClipProperty
clipProperty, getClip, setClipMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasEffectProperty
effectProperty, getEffect, setEffectMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasFontProperty
getFont, setFontMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasGraphicProperty
getGraphic, setGraphicMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasHeightProperty
getHeight, setHeightMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasImageUrlProperty
getImageUrl, setImageUrlMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutXProperty
getLayoutX, layoutXProperty, setLayoutXMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutYProperty
getLayoutY, layoutYProperty, setLayoutYMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasManagedProperty
isManaged, managedProperty, setManagedMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMaxHeightProperty
getMaxHeight, setMaxHeightMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMaxWidthProperty
getMaxWidth, setMaxWidthMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMinHeightProperty
getMinHeight, setMinHeightMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMinWidthProperty
getMinWidth, setMinWidthMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMouseTransparentProperty
isMouseTransparent, mouseTransparentProperty, setMouseTransparentMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOnMouseClickedProperty
getOnMouseClicked, onMouseClickedProperty, setOnMouseClickedMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOpacityProperty
getOpacity, opacityProperty, setOpacityMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasPaddingProperty
getPadding, setPaddingMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasParentProperty
getParent, parentProperty, setParentMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasPrefHeightProperty
getPrefHeight, setPrefHeightMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasPrefWidthProperty
getPrefWidth, setPrefWidthMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasSnapToPixelProperty
isSnapToPixel, setSnapToPixelMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasTextAlignmentProperty
getTextAlignment, setTextAlignmentMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasTextFillProperty
getTextFill, setTextFillMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasTextProperty
getText, setTextMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasVisibleProperty
isVisible, setVisible, visiblePropertyMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasWidthProperty
getWidth, setWidthMethods inherited from interface javafx.scene.INode
autosize, getAllNodeTransforms, getNodePeer, getOrCreateAndBindNodePeer, getProperties, getScene, getTransforms, hasProperties, relocate, resizeRelocateMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.emul_coupling.LayoutMeasurableMixin
clearCache, getLayoutBounds, getLayoutMeasurable, maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidthMethods inherited from interface javafx.scene.layout.PreferenceResizableNode
isResizable 
- 
Property Details
- 
text
- Specified by:
 textPropertyin interfaceHasTextProperty- Returns:
 - the 
textproperty - See Also:
 
 - 
graphic
- Specified by:
 graphicPropertyin interfaceHasGraphicProperty- Returns:
 - the 
graphicproperty - See Also:
 
 - 
imageUrl
- Specified by:
 imageUrlPropertyin interfaceHasImageUrlProperty- Returns:
 - the 
imageUrlproperty - See Also:
 
 - 
font
- Specified by:
 fontPropertyin interfaceHasFontProperty- Returns:
 - the 
fontproperty - See Also:
 
 - 
alignment
- Specified by:
 alignmentPropertyin interfaceHasAlignmentProperty- Returns:
 - the 
alignmentproperty - See Also:
 
 - 
textAlignment
- Specified by:
 textAlignmentPropertyin interfaceHasTextAlignmentProperty- Returns:
 - the 
textAlignmentproperty - See Also:
 
 - 
textFill
- Specified by:
 textFillPropertyin interfaceHasTextFillProperty- Returns:
 - the 
textFillproperty - See Also:
 
 - 
wrapText
If a run of text exceeds the width of the Labeled, then this variable indicates whether the text should wrap onto another line.- See Also:
 
 - 
textOverrun
Specifies the behavior to use if the text of theLabeledexceeds the available space for rendering the text. - 
ellipsisString
Specifies the string to display for the ellipsis when text is truncated.Examples "..." - Default value for most locales " . . . " " [...] " "\u2026" - The Unicode ellipsis character '…' "" - No ellipsis, just display the truncated string Note that not all fonts support all Unicode characters.
- Since:
 - JavaFX 2.2
 - See Also:
 
 - 
lineSpacing
Specifies the space in pixel between lines.- Since:
 - JavaFX 8.0
 - See Also:
 
 - 
contentDisplay
Specifies the positioning of the graphic relative to the text. - 
labelPadding
The padding around the Labeled's text and graphic content. By default labelPadding is Insets.EMPTY and cannot be set to null. Subclasses may add nodes outside this padding and inside the Labeled's padding.This property can only be set from CSS.
- See Also:
 
 - 
graphicTextGap
The amount of space between the graphic and text 
 - 
 - 
Constructor Details
- 
Labeled
public Labeled()Creates a Label with no text and graphic - 
Labeled
Creates a Label with text- Parameters:
 text- The text for the label.
 - 
Labeled
Creates a Label with text and a graphic- Parameters:
 text- The text for the label.graphic- The graphic for the label.
 
 - 
 - 
Method Details
- 
textProperty
- Specified by:
 textPropertyin interfaceHasTextProperty- Returns:
 - the 
textproperty - See Also:
 
 - 
graphicProperty
- Specified by:
 graphicPropertyin interfaceHasGraphicProperty- Returns:
 - the 
graphicproperty - See Also:
 
 - 
imageUrlProperty
- Specified by:
 imageUrlPropertyin interfaceHasImageUrlProperty- Returns:
 - the 
imageUrlproperty - See Also:
 
 - 
fontProperty
- Specified by:
 fontPropertyin interfaceHasFontProperty- Returns:
 - the 
fontproperty - See Also:
 
 - 
alignmentProperty
- Specified by:
 alignmentPropertyin interfaceHasAlignmentProperty- Returns:
 - the 
alignmentproperty - See Also:
 
 - 
textAlignmentProperty
- Specified by:
 textAlignmentPropertyin interfaceHasTextAlignmentProperty- Returns:
 - the 
textAlignmentproperty - See Also:
 
 - 
textFillProperty
- Specified by:
 textFillPropertyin interfaceHasTextFillProperty- Returns:
 - the 
textFillproperty - See Also:
 
 - 
wrapTextProperty
If a run of text exceeds the width of the Labeled, then this variable indicates whether the text should wrap onto another line.- Returns:
 - the 
wrapTextproperty - See Also:
 
 - 
setWrapText
public final void setWrapText(boolean value) Sets the value of thewrapTextproperty.- Property description:
 - If a run of text exceeds the width of the Labeled, then this variable indicates whether the text should wrap onto another line.
 - Parameters:
 value- the value for thewrapTextproperty- See Also:
 
 - 
isWrapText
public final boolean isWrapText() - 
getContentBias
If wrapText is true, then contentBias will be HORIZONTAL, otherwise it is null.- Specified by:
 getContentBiasin interfaceINode- Returns:
 - orientation of width/height dependency or null if there is none
 
 - 
textOverrunProperty
Specifies the behavior to use if the text of theLabeledexceeds the available space for rendering the text.- Returns:
 - the 
textOverrunproperty - See Also:
 
 - 
setTextOverrun
Sets the value of thetextOverrunproperty.- Property description:
 - Specifies the behavior to use if the text of the 
Labeledexceeds the available space for rendering the text. - Parameters:
 value- the value for thetextOverrunproperty- See Also:
 
 - 
getTextOverrun
Gets the value of thetextOverrunproperty.- Property description:
 - Specifies the behavior to use if the text of the 
Labeledexceeds the available space for rendering the text. - Returns:
 - the value of the 
textOverrunproperty - See Also:
 
 - 
ellipsisStringProperty
Specifies the string to display for the ellipsis when text is truncated.Examples "..." - Default value for most locales " . . . " " [...] " "\u2026" - The Unicode ellipsis character '…' "" - No ellipsis, just display the truncated string Note that not all fonts support all Unicode characters.
- Returns:
 - the 
ellipsisStringproperty - Since:
 - JavaFX 2.2
 - See Also:
 
 - 
setEllipsisString
Sets the value of theellipsisStringproperty.- Property description:
 - Specifies the string to display for the ellipsis when text is truncated.
 
Examples "..." - Default value for most locales " . . . " " [...] " "\u2026" - The Unicode ellipsis character '…' "" - No ellipsis, just display the truncated string Note that not all fonts support all Unicode characters.
 - Parameters:
 value- the value for theellipsisStringproperty- Since:
 - JavaFX 2.2
 - See Also:
 
 - 
getEllipsisString
Gets the value of theellipsisStringproperty.- Property description:
 - Specifies the string to display for the ellipsis when text is truncated.
 
Examples "..." - Default value for most locales " . . . " " [...] " "\u2026" - The Unicode ellipsis character '…' "" - No ellipsis, just display the truncated string Note that not all fonts support all Unicode characters.
 - Returns:
 - the value of the 
ellipsisStringproperty - Since:
 - JavaFX 2.2
 - See Also:
 
 - 
lineSpacingProperty
Specifies the space in pixel between lines.- Returns:
 - the 
lineSpacingproperty - Since:
 - JavaFX 8.0
 - See Also:
 
 - 
setLineSpacing
public final void setLineSpacing(double value) Sets the value of thelineSpacingproperty.- Property description:
 - Specifies the space in pixel between lines.
 - Parameters:
 value- the value for thelineSpacingproperty- Since:
 - JavaFX 8.0
 - See Also:
 
 - 
getLineSpacing
public final double getLineSpacing()Gets the value of thelineSpacingproperty.- Property description:
 - Specifies the space in pixel between lines.
 - Returns:
 - the value of the 
lineSpacingproperty - Since:
 - JavaFX 8.0
 - See Also:
 
 - 
contentDisplayProperty
Specifies the positioning of the graphic relative to the text.- Returns:
 - the 
contentDisplayproperty - See Also:
 
 - 
setContentDisplay
Sets the value of thecontentDisplayproperty.- Property description:
 - Specifies the positioning of the graphic relative to the text.
 - Parameters:
 value- the value for thecontentDisplayproperty- See Also:
 
 - 
getContentDisplay
Gets the value of thecontentDisplayproperty.- Property description:
 - Specifies the positioning of the graphic relative to the text.
 - Returns:
 - the value of the 
contentDisplayproperty - See Also:
 
 - 
labelPaddingProperty
The padding around the Labeled's text and graphic content. By default labelPadding is Insets.EMPTY and cannot be set to null. Subclasses may add nodes outside this padding and inside the Labeled's padding.This property can only be set from CSS.
- Returns:
 - the 
labelPaddingproperty - See Also:
 
 - 
getLabelPadding
Gets the value of thelabelPaddingproperty.- Property description:
 - The padding around the Labeled's text and graphic content.
 By default labelPadding is Insets.EMPTY and cannot be set to null.
 Subclasses may add nodes outside this padding and inside the Labeled's padding.
 
This property can only be set from CSS.
 - Returns:
 - the value of the 
labelPaddingproperty - See Also:
 
 - 
graphicTextGapProperty
The amount of space between the graphic and text- Returns:
 - the 
graphicTextGapproperty - See Also:
 
 - 
setGraphicTextGap
public final void setGraphicTextGap(double value) Sets the value of thegraphicTextGapproperty.- Property description:
 - The amount of space between the graphic and text
 - Parameters:
 value- the value for thegraphicTextGapproperty- See Also:
 
 - 
getGraphicTextGap
public final double getGraphicTextGap()Gets the value of thegraphicTextGapproperty.- Property description:
 - The amount of space between the graphic and text
 - Returns:
 - the value of the 
graphicTextGapproperty - See Also:
 
 - 
setScene
 
 -