Styleable
, EventTarget
, FxLabelDecorator
, org.refcodes.mixin.TextAccessor
, org.refcodes.mixin.TextAccessor.TextBuilder<FxLabelDecorator>
, org.refcodes.mixin.TextAccessor.TextMutator
, org.refcodes.mixin.TextAccessor.TextProperty
, org.refcodes.textual.FontNameAccessor
, org.refcodes.textual.FontNameAccessor.FontNameBuilder<FxLabelDecorator>
, org.refcodes.textual.FontNameAccessor.FontNameMutator
, org.refcodes.textual.FontNameAccessor.FontNameProperty
, org.refcodes.textual.HorizAlignTextModeAccessor
, org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeBuilder<FxLabelDecorator>
, org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeMutator
, org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeProperty
, org.refcodes.textual.VertAlignTextModeAccessor
, org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeBuilder<FxLabelDecorator>
, org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeMutator
, org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeProperty
public class FxLabelDecoratorImpl extends StackPane implements FxLabelDecorator
FxLabelDecorator
interface. Possible extension
(idea): Provide means to set cell width and height manually and make them
images then scale accordingly!org.refcodes.textual.FontNameAccessor.FontNameBuilder<B extends org.refcodes.textual.FontNameAccessor.FontNameBuilder<B>>, org.refcodes.textual.FontNameAccessor.FontNameMutator, org.refcodes.textual.FontNameAccessor.FontNameProperty
org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeBuilder<B extends org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeBuilder<B>>, org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeMutator, org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeProperty
org.refcodes.mixin.TextAccessor.TextBuilder<B extends org.refcodes.mixin.TextAccessor.TextBuilder<B>>, org.refcodes.mixin.TextAccessor.TextMutator, org.refcodes.mixin.TextAccessor.TextProperty
org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeBuilder<B extends org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeBuilder<B>>, org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeMutator, org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeProperty
BASELINE_OFFSET_SAME_AS_HEIGHT
USE_COMPUTED_SIZE, USE_PREF_SIZE
Constructor | Description |
---|---|
FxLabelDecoratorImpl(Object aText,
String aFontName,
double aTextSizeFactor,
Image aImage) |
Constructs a
FxLabelDecorator with the required minimum
attributes. |
FxLabelDecoratorImpl(String aText,
String aFontName,
double aTextSizeFactor,
Image aImage) |
Constructs a
FxLabelDecorator with the required minimum
attributes. |
FxLabelDecoratorImpl(String aText,
String aFontName,
double aTextSizeFactor,
Node aNode) |
Constructs a
FxLabelDecorator with the required minimum
attributes. |
Modifier and Type | Method | Description |
---|---|---|
double |
getBottomTextMarginFactor() |
Returns the bottom margin factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text box from the cell. |
double |
getBottomTextPaddingFactor() |
Returns the bottom padding factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text from the text box. |
Node |
getContent() |
Returns the node of the cell.
|
String |
getFontName() |
|
org.refcodes.textual.HorizAlignTextMode |
getHorizAlignTextMode() |
|
Image |
getImage() |
Returns the image of the cell.
|
double |
getLeftTextMarginFactor() |
Returns the left margin factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text box from the cell. |
double |
getLeftTextPaddingFactor() |
Returns the left padding factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text from the text box. |
double |
getRightTextMarginFactor() |
Returns the right margin factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text box from the cell. |
double |
getRightTextPaddingFactor() |
Returns the right padding factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text from the text box. |
String |
getText() |
|
Paint |
getTextBackground() |
Returns the background of the text.
|
double |
getTextBorderArcFactor() |
Returns the arc of the text border relative to the arc of the cell (as of
FxLabelDecorator.getTextLayoutMode() ). |
Paint |
getTextBorderColor() |
Returns the color of the text border.
|
double |
getTextBorderSizeFactor() |
Returns the size of the text border relative to the size of the cell (as
of
FxLabelDecorator.getTextLayoutMode() ). |
Paint |
getTextColor() |
Returns the color of the text.
|
org.refcodes.graphical.LayoutMode |
getTextLayoutMode() |
Returns the
LayoutMode for the text metrics. |
double |
getTextSizeFactor() |
Returns the size of the text relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ). |
double |
getTopTextMarginFactor() |
Returns the top margin factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text box from the cell. |
double |
getTopTextPaddingFactor() |
Returns the top padding factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text from the text box. |
org.refcodes.textual.VertAlignTextMode |
getVertAlignTextMode() |
|
protected void |
redraw() |
Recalculates the metrics of the elements of this node.
|
void |
setBottomTextMarginFactor(double aBottomTextMarginFactor) |
Sets the bottom margin factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text box from the cell. |
void |
setBottomTextPaddingFactor(double aBottomTextPaddingFactor) |
Sets the bottom padding factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text from the text box. |
void |
setContent(Node aContent) |
Sets the node of the cell.
|
void |
setFontName(String aFontName) |
|
void |
setHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode) |
|
void |
setImage(Image aImage) |
Sets the image of the cell.
|
void |
setLeftTextMarginFactor(double aLeftTextMarginFactor) |
Sets the left margin factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text box from the cell. |
void |
setLeftTextPaddingFactor(double aLeftTextPaddingFactor) |
Sets the left padding factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text from the text box. |
void |
setRightTextMarginFactor(double aRightTextMarginFactor) |
Sets the right margin factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text box from the cell. |
void |
setRightTextPaddingFactor(double aRightTextPaddingFactor) |
Sets the right padding factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text from the text box. |
void |
setText(String aText) |
|
void |
setTextBackground(Paint aTextBackground) |
Sets the background of the text.
|
void |
setTextBorderArcFactor(double aTextBorderArcFactor) |
Sets the arc of the text border relative to the arc of the cell (as of
FxLabelDecorator.getTextLayoutMode() ). |
void |
setTextBorderColor(Paint aTextBorderColor) |
Sets the color of the text border.
|
void |
setTextBorderSizeFactor(double aTextBorderSizeFactor) |
Sets the size of the text border relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ). |
void |
setTextColor(Paint aColor) |
Sets the color of the text.
|
void |
setTextLayoutMode(org.refcodes.graphical.LayoutMode aLayoutMode) |
Sets the
LayoutMode for the text metrics. |
void |
setTextSizeFactor(double aTextSizeFactor) |
Sets the size of the text relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ). |
void |
setTopTextMarginFactor(double aTopTextMarginFactor) |
Sets the top margin factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text box from the cell. |
void |
setTopTextPaddingFactor(double aTopTextPaddingFactor) |
Sets the top padding factor relative to the size of the cell (as of
FxLabelDecorator.getTextLayoutMode() ) of the text from the text box. |
void |
setVertAlignTextMode(org.refcodes.textual.VertAlignTextMode aVertAlignTextMode) |
setHorizTextMarginFactor, setHorizTextPaddingFactor, setTextMarginFactor, setTextPaddingFactor, setVertTextMarginFactor, setVertTextPaddingFactor, withBottomTextMarginFactor, withBottomTextPaddingFactor, withContent, withFontName, withHorizAlignTextMode, withHorizTextMarginFactor, withHorizTextPaddingFactor, withImage, withLeftTextMarginFactor, withLeftTextPaddingFactor, withRightTextMarginFactor, withRightTextPaddingFactor, withText, withTextBackground, withTextBorderArcFactor, withTextBorderColor, withTextBorderSizeFactor, withTextColor, withTextLayoutMode, withTextMarginFactor, withTextPaddingFactor, withTextSizeFactor, withTopTextMarginFactor, withTopTextPaddingFactor, withVertAlignTextMode, withVertTextMarginFactor, withVertTextPaddingFactor
letHorizAlignTextMode
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, 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, 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, visibleProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren
getBaselineOffset, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, queryAccessibleAttribute, requestParentLayout, setNeedsLayout, updateBounds
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, 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, widthProperty
alignmentProperty, clearConstraints, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, getAlignment, getAlignment, getClassCssMetaData, getContentBias, getCssMetaData, getMargin, layoutChildren, requestLayout, setAlignment, setAlignment, setMargin
getStyleableNode
public FxLabelDecoratorImpl(String aText, String aFontName, double aTextSizeFactor, Image aImage)
FxLabelDecorator
with the required minimum
attributes.aText
- The with which to initialize the cell.aFontName
- The font name to be used when rendering.aTextSizeFactor
- The factor to be used relative to the width of the
cell.aImage
- The background image to be used.public FxLabelDecoratorImpl(String aText, String aFontName, double aTextSizeFactor, Node aNode)
FxLabelDecorator
with the required minimum
attributes.aText
- The with which to initialize the cell.aFontName
- The font name to be used when rendering.aTextSizeFactor
- The factor to be used relative to the width of the
cell.aNode
- The background image to be used.public FxLabelDecoratorImpl(Object aText, String aFontName, double aTextSizeFactor, Image aImage)
FxLabelDecorator
with the required minimum
attributes.aText
- The with which to initialize the cell.aFontName
- The font name to be used when rendering.aTextSizeFactor
- The factor to be used relative to the width of the
cell.aImage
- The background image to be used.public void setTopTextMarginFactor(double aTopTextMarginFactor)
FxLabelDecorator.getTextLayoutMode()
) of the text box from the cell.setTopTextMarginFactor
in interface FxLabelDecorator
aTopTextMarginFactor
- The top margin factor of the text from the
text box.public double getTopTextMarginFactor()
FxLabelDecorator.getTextLayoutMode()
) of the text box from the cell.getTopTextMarginFactor
in interface FxLabelDecorator
public void setBottomTextMarginFactor(double aBottomTextMarginFactor)
FxLabelDecorator.getTextLayoutMode()
) of the text box from the cell.setBottomTextMarginFactor
in interface FxLabelDecorator
aBottomTextMarginFactor
- The bottom margin factor of the text from
the text box.public double getBottomTextMarginFactor()
FxLabelDecorator.getTextLayoutMode()
) of the text box from the cell.getBottomTextMarginFactor
in interface FxLabelDecorator
public void setLeftTextMarginFactor(double aLeftTextMarginFactor)
FxLabelDecorator.getTextLayoutMode()
) of the text box from the cell.setLeftTextMarginFactor
in interface FxLabelDecorator
aLeftTextMarginFactor
- The left margin factor of the text from the
text box.public double getLeftTextMarginFactor()
FxLabelDecorator.getTextLayoutMode()
) of the text box from the cell.getLeftTextMarginFactor
in interface FxLabelDecorator
public void setRightTextMarginFactor(double aRightTextMarginFactor)
FxLabelDecorator.getTextLayoutMode()
) of the text box from the cell.setRightTextMarginFactor
in interface FxLabelDecorator
aRightTextMarginFactor
- The right margin factor of the text from
the text box.public double getRightTextMarginFactor()
FxLabelDecorator.getTextLayoutMode()
) of the text box from the cell.getRightTextMarginFactor
in interface FxLabelDecorator
public void setTopTextPaddingFactor(double aTopTextPaddingFactor)
FxLabelDecorator.getTextLayoutMode()
) of the text from the text box.setTopTextPaddingFactor
in interface FxLabelDecorator
aTopTextPaddingFactor
- The top padding factor of the text from the
text box.public double getTopTextPaddingFactor()
FxLabelDecorator.getTextLayoutMode()
) of the text from the text box.getTopTextPaddingFactor
in interface FxLabelDecorator
public void setBottomTextPaddingFactor(double aBottomTextPaddingFactor)
FxLabelDecorator.getTextLayoutMode()
) of the text from the text box.setBottomTextPaddingFactor
in interface FxLabelDecorator
aBottomTextPaddingFactor
- The bottom padding factor of the text
from the text box.public double getBottomTextPaddingFactor()
FxLabelDecorator.getTextLayoutMode()
) of the text from the text box.getBottomTextPaddingFactor
in interface FxLabelDecorator
public void setLeftTextPaddingFactor(double aLeftTextPaddingFactor)
FxLabelDecorator.getTextLayoutMode()
) of the text from the text box.setLeftTextPaddingFactor
in interface FxLabelDecorator
aLeftTextPaddingFactor
- The left padding factor of the text from
the text box.public double getLeftTextPaddingFactor()
FxLabelDecorator.getTextLayoutMode()
) of the text from the text box.getLeftTextPaddingFactor
in interface FxLabelDecorator
public void setRightTextPaddingFactor(double aRightTextPaddingFactor)
FxLabelDecorator.getTextLayoutMode()
) of the text from the text box.setRightTextPaddingFactor
in interface FxLabelDecorator
aRightTextPaddingFactor
- The right padding factor of the text from
the text box.public double getRightTextPaddingFactor()
FxLabelDecorator.getTextLayoutMode()
) of the text from the text box.getRightTextPaddingFactor
in interface FxLabelDecorator
public String getText()
getText
in interface org.refcodes.mixin.TextAccessor
public void setText(String aText)
setText
in interface org.refcodes.mixin.TextAccessor.TextMutator
public void setTextSizeFactor(double aTextSizeFactor)
FxLabelDecorator.getTextLayoutMode()
). Values form 0 to 1 represents width
between 0% and 100%.setTextSizeFactor
in interface FxLabelDecorator
aTextSizeFactor
- The factor to be used relative to the size of the
cell.public double getTextSizeFactor()
FxLabelDecorator.getTextLayoutMode()
). Values form 0 to 1 represents width
between 0% and 100%.getTextSizeFactor
in interface FxLabelDecorator
public org.refcodes.textual.HorizAlignTextMode getHorizAlignTextMode()
getHorizAlignTextMode
in interface org.refcodes.textual.HorizAlignTextModeAccessor
public void setHorizAlignTextMode(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
setHorizAlignTextMode
in interface org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeMutator
public org.refcodes.textual.VertAlignTextMode getVertAlignTextMode()
getVertAlignTextMode
in interface org.refcodes.textual.VertAlignTextModeAccessor
public void setVertAlignTextMode(org.refcodes.textual.VertAlignTextMode aVertAlignTextMode)
setVertAlignTextMode
in interface org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeMutator
public String getFontName()
getFontName
in interface org.refcodes.textual.FontNameAccessor
public void setFontName(String aFontName)
setFontName
in interface org.refcodes.textual.FontNameAccessor.FontNameMutator
public void setTextBackground(Paint aTextBackground)
setTextBackground
in interface FxLabelDecorator
aTextBackground
- The background of the text inside the cell.public Paint getTextBackground()
getTextBackground
in interface FxLabelDecorator
public void setTextColor(Paint aColor)
setTextColor
in interface FxLabelDecorator
aColor
- The color of the text inside the cell.public Paint getTextColor()
getTextColor
in interface FxLabelDecorator
public void setTextLayoutMode(org.refcodes.graphical.LayoutMode aLayoutMode)
LayoutMode
for the text metrics.setTextLayoutMode
in interface FxLabelDecorator
aLayoutMode
- The LayoutMode
to be applied to text metrics.
settings.public org.refcodes.graphical.LayoutMode getTextLayoutMode()
LayoutMode
for the text metrics.getTextLayoutMode
in interface FxLabelDecorator
LayoutMode
to be applied to text metrics. settings.public void setTextBorderSizeFactor(double aTextBorderSizeFactor)
FxLabelDecorator.getTextLayoutMode()
). Values form 0 to 1 represents width
between 0% and 100%.setTextBorderSizeFactor
in interface FxLabelDecorator
aTextBorderSizeFactor
- The factor to be used relative to the size
of the cell.public double getTextBorderSizeFactor()
FxLabelDecorator.getTextLayoutMode()
). Values form 0 to 1 represents width
between 0% and 100%.getTextBorderSizeFactor
in interface FxLabelDecorator
public void setTextBorderArcFactor(double aTextBorderArcFactor)
FxLabelDecorator.getTextLayoutMode()
). Values form 0 to 1 represents width
between 0% and 100%.setTextBorderArcFactor
in interface FxLabelDecorator
aTextBorderArcFactor
- The factor to be used relative to the arc of
the cell.public double getTextBorderArcFactor()
FxLabelDecorator.getTextLayoutMode()
). Values form 0 to 1 represents width
between 0% and 100%.getTextBorderArcFactor
in interface FxLabelDecorator
public void setTextBorderColor(Paint aTextBorderColor)
setTextBorderColor
in interface FxLabelDecorator
aTextBorderColor
- The color of the text border inside the cell.public Paint getTextBorderColor()
getTextBorderColor
in interface FxLabelDecorator
public void setImage(Image aImage)
setImage
in interface FxLabelDecorator
aImage
- The image of the cell.public Image getImage()
getImage
in interface FxLabelDecorator
public void setContent(Node aContent)
setContent
in interface FxLabelDecorator
aContent
- The node of the cell.public Node getContent()
getContent
in interface FxLabelDecorator
protected void redraw()
Copyright © 2021. All rights reserved.