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
TypePropertyDescriptionfinal ObjectProperty<ContentDisplay>
Specifies the positioning of the graphic relative to the text.final StringProperty
Specifies the string to display for the ellipsis when text is truncated.final DoubleProperty
The amount of space between the graphic and textThe padding around the Labeled's text and graphic content.final DoubleProperty
Specifies the space in pixel between lines.final ObjectProperty<OverrunStyle>
Specifies the behavior to use if the text of theLabeled
exceeds 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
Properties inherited from class javafx.scene.layout.Region
background, border, height, insets, maxHeight, maxWidth, minHeight, minWidth, padding, prefHeight, prefWidth, snapToPixel, width
Properties inherited from class javafx.scene.Parent
needsLayout
Properties 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, visible
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBlendModeProperty
blendMode
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasClipProperty
clip
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasEffectProperty
effect
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutXProperty
layoutX
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutYProperty
layoutY
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasManagedProperty
managed
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMouseTransparentProperty
mouseTransparent
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOnMouseClickedProperty
onMouseClicked
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOpacityProperty
opacity
Properties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasParentProperty
parent
Properties 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_HEIGHT
Fields inherited from interface javafx.scene.layout.PreferenceResizableNode
USE_COMPUTED_SIZE, USE_PREF_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ObjectProperty<ContentDisplay>
Specifies the positioning of the graphic relative to the text.final StringProperty
Specifies 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 ContentDisplay
Gets the value of thecontentDisplay
property.final String
Gets the value of theellipsisString
property.final double
Gets the value of thegraphicTextGap
property.final Insets
Gets the value of thelabelPadding
property.final double
Gets the value of thelineSpacing
property.final OverrunStyle
Gets the value of thetextOverrun
property.final DoubleProperty
The amount of space between the graphic and textfinal boolean
The padding around the Labeled's text and graphic content.final DoubleProperty
Specifies the space in pixel between lines.final void
setContentDisplay
(ContentDisplay value) Sets the value of thecontentDisplay
property.final void
setEllipsisString
(String value) Sets the value of theellipsisString
property.final void
setGraphicTextGap
(double value) Sets the value of thegraphicTextGap
property.final void
setLineSpacing
(double value) Sets the value of thelineSpacing
property.void
final void
setTextOverrun
(OverrunStyle value) Sets the value of thetextOverrun
property.final void
setWrapText
(boolean value) Sets the value of thewrapText
property.final ObjectProperty<OverrunStyle>
Specifies the behavior to use if the text of theLabeled
exceeds 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, layoutChildren, setContextMenu, setSkin, shouldUseLayoutMeasurable, skinProperty
Methods 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, widthProperty
Methods inherited from class javafx.scene.Parent
getChildren, getChildrenUnmodifiable, getManagedChildren, isNeedsLayout, layout, needsLayoutProperty, requestLayout, requestParentLayout, setLayoutFlag, setNeedsLayout, setSceneRoot
Methods 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, visibleProperty
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasAlignmentProperty
getAlignment, setAlignment
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBackgroundProperty
getBackground, setBackground
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBlendModeProperty
blendModeProperty, getBlendMode, setBlendMode
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBorderProperty
getBorder, setBorder
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasClipProperty
clipProperty, getClip, setClip
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasEffectProperty
effectProperty, getEffect, setEffect
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasFontProperty
getFont, setFont
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasGraphicProperty
getGraphic, setGraphic
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasHeightProperty
getHeight, setHeight
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasImageUrlProperty
getImageUrl, setImageUrl
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutXProperty
getLayoutX, layoutXProperty, setLayoutX
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutYProperty
getLayoutY, layoutYProperty, setLayoutY
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasManagedProperty
isManaged, managedProperty, setManaged
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMaxHeightProperty
getMaxHeight, setMaxHeight
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMaxWidthProperty
getMaxWidth, setMaxWidth
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMinHeightProperty
getMinHeight, setMinHeight
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMinWidthProperty
getMinWidth, setMinWidth
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMouseTransparentProperty
isMouseTransparent, mouseTransparentProperty, setMouseTransparent
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOnMouseClickedProperty
getOnMouseClicked, onMouseClickedProperty, setOnMouseClicked
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOpacityProperty
getOpacity, opacityProperty, setOpacity
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasPaddingProperty
getPadding, setPadding
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasParentProperty
getParent, parentProperty, setParent
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasPrefHeightProperty
getPrefHeight, setPrefHeight
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasPrefWidthProperty
getPrefWidth, setPrefWidth
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasSnapToPixelProperty
isSnapToPixel, setSnapToPixel
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasTextAlignmentProperty
getTextAlignment, setTextAlignment
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasTextFillProperty
getTextFill, setTextFill
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasTextProperty
getText, setText
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasVisibleProperty
isVisible, setVisible, visibleProperty
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasWidthProperty
getWidth, setWidth
Methods inherited from interface javafx.scene.INode
autosize, getAllNodeTransforms, getNodePeer, getOrCreateAndBindNodePeer, getProperties, getScene, getTransforms, hasProperties, relocate, resizeRelocate
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.emul_coupling.LayoutMeasurableMixin
clearCache, getLayoutBounds, getLayoutMeasurable, maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidth
Methods inherited from interface javafx.scene.layout.PreferenceResizableNode
isResizable
-
Property Details
-
text
- Specified by:
textProperty
in interfaceHasTextProperty
- Returns:
- the
text
property - See Also:
-
graphic
- Specified by:
graphicProperty
in interfaceHasGraphicProperty
- Returns:
- the
graphic
property - See Also:
-
imageUrl
- Specified by:
imageUrlProperty
in interfaceHasImageUrlProperty
- Returns:
- the
imageUrl
property - See Also:
-
font
- Specified by:
fontProperty
in interfaceHasFontProperty
- Returns:
- the
font
property - See Also:
-
alignment
- Specified by:
alignmentProperty
in interfaceHasAlignmentProperty
- Returns:
- the
alignment
property - See Also:
-
textAlignment
- Specified by:
textAlignmentProperty
in interfaceHasTextAlignmentProperty
- Returns:
- the
textAlignment
property - See Also:
-
textFill
- Specified by:
textFillProperty
in interfaceHasTextFillProperty
- Returns:
- the
textFill
property - 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 theLabeled
exceeds 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:
textProperty
in interfaceHasTextProperty
- Returns:
- the
text
property - See Also:
-
graphicProperty
- Specified by:
graphicProperty
in interfaceHasGraphicProperty
- Returns:
- the
graphic
property - See Also:
-
imageUrlProperty
- Specified by:
imageUrlProperty
in interfaceHasImageUrlProperty
- Returns:
- the
imageUrl
property - See Also:
-
fontProperty
- Specified by:
fontProperty
in interfaceHasFontProperty
- Returns:
- the
font
property - See Also:
-
alignmentProperty
- Specified by:
alignmentProperty
in interfaceHasAlignmentProperty
- Returns:
- the
alignment
property - See Also:
-
textAlignmentProperty
- Specified by:
textAlignmentProperty
in interfaceHasTextAlignmentProperty
- Returns:
- the
textAlignment
property - See Also:
-
textFillProperty
- Specified by:
textFillProperty
in interfaceHasTextFillProperty
- Returns:
- the
textFill
property - 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
wrapText
property - See Also:
-
setWrapText
public final void setWrapText(boolean value) Sets the value of thewrapText
property.- 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 thewrapText
property- See Also:
-
isWrapText
public final boolean isWrapText() -
getContentBias
If wrapText is true, then contentBias will be HORIZONTAL, otherwise it is null.- Specified by:
getContentBias
in interfaceINode
- Returns:
- orientation of width/height dependency or null if there is none
-
textOverrunProperty
Specifies the behavior to use if the text of theLabeled
exceeds the available space for rendering the text.- Returns:
- the
textOverrun
property - See Also:
-
setTextOverrun
Sets the value of thetextOverrun
property.- Property description:
- Specifies the behavior to use if the text of the
Labeled
exceeds the available space for rendering the text. - Parameters:
value
- the value for thetextOverrun
property- See Also:
-
getTextOverrun
Gets the value of thetextOverrun
property.- Property description:
- Specifies the behavior to use if the text of the
Labeled
exceeds the available space for rendering the text. - Returns:
- the value of the
textOverrun
property - 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
ellipsisString
property - Since:
- JavaFX 2.2
- See Also:
-
setEllipsisString
Sets the value of theellipsisString
property.- 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 theellipsisString
property- Since:
- JavaFX 2.2
- See Also:
-
getEllipsisString
Gets the value of theellipsisString
property.- 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
ellipsisString
property - Since:
- JavaFX 2.2
- See Also:
-
lineSpacingProperty
Specifies the space in pixel between lines.- Returns:
- the
lineSpacing
property - Since:
- JavaFX 8.0
- See Also:
-
setLineSpacing
public final void setLineSpacing(double value) Sets the value of thelineSpacing
property.- Property description:
- Specifies the space in pixel between lines.
- Parameters:
value
- the value for thelineSpacing
property- Since:
- JavaFX 8.0
- See Also:
-
getLineSpacing
public final double getLineSpacing()Gets the value of thelineSpacing
property.- Property description:
- Specifies the space in pixel between lines.
- Returns:
- the value of the
lineSpacing
property - Since:
- JavaFX 8.0
- See Also:
-
contentDisplayProperty
Specifies the positioning of the graphic relative to the text.- Returns:
- the
contentDisplay
property - See Also:
-
setContentDisplay
Sets the value of thecontentDisplay
property.- Property description:
- Specifies the positioning of the graphic relative to the text.
- Parameters:
value
- the value for thecontentDisplay
property- See Also:
-
getContentDisplay
Gets the value of thecontentDisplay
property.- Property description:
- Specifies the positioning of the graphic relative to the text.
- Returns:
- the value of the
contentDisplay
property - 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
labelPadding
property - See Also:
-
getLabelPadding
Gets the value of thelabelPadding
property.- 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
labelPadding
property - See Also:
-
graphicTextGapProperty
The amount of space between the graphic and text- Returns:
- the
graphicTextGap
property - See Also:
-
setGraphicTextGap
public final void setGraphicTextGap(double value) Sets the value of thegraphicTextGap
property.- Property description:
- The amount of space between the graphic and text
- Parameters:
value
- the value for thegraphicTextGap
property- See Also:
-
getGraphicTextGap
public final double getGraphicTextGap()Gets the value of thegraphicTextGap
property.- Property description:
- The amount of space between the graphic and text
- Returns:
- the value of the
graphicTextGap
property - See Also:
-
setScene
-