Class FxCellBuilderImpl

  • All Implemented Interfaces:
    FxCellBuilder, org.refcodes.mixin.TextAccessor, org.refcodes.mixin.TextAccessor.TextBuilder<FxCellBuilder>, org.refcodes.mixin.TextAccessor.TextMutator, org.refcodes.mixin.TextAccessor.TextProperty, org.refcodes.textual.FontNameAccessor, org.refcodes.textual.FontNameAccessor.FontNameBuilder<FxCellBuilder>, org.refcodes.textual.FontNameAccessor.FontNameMutator, org.refcodes.textual.FontNameAccessor.FontNameProperty, org.refcodes.textual.HorizAlignTextModeAccessor, org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeBuilder<FxCellBuilder>, org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeMutator, org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeProperty, org.refcodes.textual.VertAlignTextModeAccessor, org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeBuilder<FxCellBuilder>, org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeMutator, org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeProperty


    public class FxCellBuilderImpl
    extends javafx.scene.layout.StackPane
    implements FxCellBuilder
    Implementation of the FxCellBuilder interface.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.textual.FontNameAccessor

        org.refcodes.textual.FontNameAccessor.FontNameBuilder<B extends org.refcodes.textual.FontNameAccessor.FontNameBuilder<B>>, org.refcodes.textual.FontNameAccessor.FontNameMutator, org.refcodes.textual.FontNameAccessor.FontNameProperty
      • Nested classes/interfaces inherited from interface org.refcodes.textual.HorizAlignTextModeAccessor

        org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeBuilder<B extends org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeBuilder<B>>, org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeMutator, org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeProperty
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.TextAccessor

        org.refcodes.mixin.TextAccessor.TextBuilder<B extends org.refcodes.mixin.TextAccessor.TextBuilder<B>>, org.refcodes.mixin.TextAccessor.TextMutator, org.refcodes.mixin.TextAccessor.TextProperty
      • Nested classes/interfaces inherited from interface org.refcodes.textual.VertAlignTextModeAccessor

        org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeBuilder<B extends org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeBuilder<B>>, org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeMutator, org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeProperty
    • Field Summary

      • Fields inherited from class javafx.scene.Node

        BASELINE_OFFSET_SAME_AS_HEIGHT
      • Fields inherited from class javafx.scene.layout.Region

        USE_COMPUTED_SIZE, USE_PREF_SIZE
    • Constructor Summary

      Constructors 
      Constructor Description
      FxCellBuilderImpl​(java.lang.Object aText, java.lang.String aFontName, double aTextSizeFactor, javafx.scene.image.Image aImage)
      Constructs a FxCellBuilder with the required minimum attributes.
      FxCellBuilderImpl​(java.lang.String aText, java.lang.String aFontName, double aTextSizeFactor, javafx.scene.image.Image aImage)
      Constructs a FxCellBuilder with the required minimum attributes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getBottomTextMarginFactor​()
      Returns the bottom margin factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text box from the cell.
      double getBottomTextPaddingFactor​()
      Returns the bottom padding factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text from the text box.
      java.lang.String getFontName​()
      org.refcodes.textual.HorizAlignTextMode getHorizAlignTextMode​()
      javafx.scene.image.Image getImage​()
      Returns the image of the cell.
      double getLeftTextMarginFactor​()
      Returns the left margin factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text box from the cell.
      double getLeftTextPaddingFactor​()
      Returns the left padding factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text from the text box.
      double getRightTextMarginFactor​()
      Returns the right margin factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text box from the cell.
      double getRightTextPaddingFactor​()
      Returns the right padding factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text from the text box.
      java.lang.String getText​()
      javafx.scene.paint.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 FxCellBuilder.getTextLayoutMode()).
      javafx.scene.paint.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 FxCellBuilder.getTextLayoutMode()).
      javafx.scene.paint.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 FxCellBuilder.getTextLayoutMode()).
      double getTopTextMarginFactor​()
      Returns the top margin factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text box from the cell.
      double getTopTextPaddingFactor​()
      Returns the top padding factor relative to the size of the cell (as of FxCellBuilder.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 FxCellBuilder.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 FxCellBuilder.getTextLayoutMode()) of the text from the text box.
      void setFontName​(java.lang.String aFontName)
      void setHorizAlignTextMode​(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
      void setImage​(javafx.scene.image.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 FxCellBuilder.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 FxCellBuilder.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 FxCellBuilder.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 FxCellBuilder.getTextLayoutMode()) of the text from the text box.
      void setText​(java.lang.String aText)
      void setTextBackground​(javafx.scene.paint.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 FxCellBuilder.getTextLayoutMode()).
      void setTextBorderColor​(javafx.scene.paint.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 FxCellBuilder.getTextLayoutMode()).
      void setTextColor​(javafx.scene.paint.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 FxCellBuilder.getTextLayoutMode()).
      void setTopTextMarginFactor​(double aTopTextMarginFactor)
      Sets the top margin factor relative to the size of the cell (as of FxCellBuilder.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 FxCellBuilder.getTextLayoutMode()) of the text from the text box.
      void setVertAlignTextMode​(org.refcodes.textual.VertAlignTextMode aVertAlignTextMode)
      • Methods inherited from class javafx.scene.Node

        accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class javafx.scene.layout.Pane

        getChildren
      • Methods inherited from class javafx.scene.Parent

        getBaselineOffset, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, queryAccessibleAttribute, requestParentLayout, setNeedsLayout, updateBounds
      • Methods inherited from class javafx.scene.layout.Region

        backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, 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
      • Methods inherited from class javafx.scene.layout.StackPane

        alignmentProperty, clearConstraints, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, getAlignment, getAlignment, getClassCssMetaData, getContentBias, getCssMetaData, getMargin, layoutChildren, requestLayout, setAlignment, setAlignment, setMargin
      • Methods inherited from interface javafx.css.Styleable

        getStyleableNode
    • Constructor Detail

      • FxCellBuilderImpl

        public FxCellBuilderImpl​(java.lang.String aText,
                                 java.lang.String aFontName,
                                 double aTextSizeFactor,
                                 javafx.scene.image.Image aImage)
        Constructs a FxCellBuilder with the required minimum attributes.
        Parameters:
        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.
      • FxCellBuilderImpl

        public FxCellBuilderImpl​(java.lang.Object aText,
                                 java.lang.String aFontName,
                                 double aTextSizeFactor,
                                 javafx.scene.image.Image aImage)
        Constructs a FxCellBuilder with the required minimum attributes.
        Parameters:
        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.
    • Method Detail

      • setTopTextMarginFactor

        public void setTopTextMarginFactor​(double aTopTextMarginFactor)
        Sets the top margin factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text box from the cell.
        Specified by:
        setTopTextMarginFactor in interface FxCellBuilder
        Parameters:
        aTopTextMarginFactor - The top margin factor of the text from the text box.
      • getTopTextMarginFactor

        public double getTopTextMarginFactor​()
        Returns the top margin factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text box from the cell.
        Specified by:
        getTopTextMarginFactor in interface FxCellBuilder
        Returns:
        The top margin factor relative to the size of the cell of the text from the text box.
      • setBottomTextMarginFactor

        public void setBottomTextMarginFactor​(double aBottomTextMarginFactor)
        Sets the bottom margin factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text box from the cell.
        Specified by:
        setBottomTextMarginFactor in interface FxCellBuilder
        Parameters:
        aBottomTextMarginFactor - The bottom margin factor of the text from the text box.
      • getBottomTextMarginFactor

        public double getBottomTextMarginFactor​()
        Returns the bottom margin factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text box from the cell.
        Specified by:
        getBottomTextMarginFactor in interface FxCellBuilder
        Returns:
        The bottom margin factor relative to the size of the cell of the text from the text box.
      • setLeftTextMarginFactor

        public void setLeftTextMarginFactor​(double aLeftTextMarginFactor)
        Sets the left margin factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text box from the cell.
        Specified by:
        setLeftTextMarginFactor in interface FxCellBuilder
        Parameters:
        aLeftTextMarginFactor - The left margin factor of the text from the text box.
      • getLeftTextMarginFactor

        public double getLeftTextMarginFactor​()
        Returns the left margin factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text box from the cell.
        Specified by:
        getLeftTextMarginFactor in interface FxCellBuilder
        Returns:
        The left margin factor relative to the size of the cell of the text from the text box.
      • setRightTextMarginFactor

        public void setRightTextMarginFactor​(double aRightTextMarginFactor)
        Sets the right margin factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text box from the cell.
        Specified by:
        setRightTextMarginFactor in interface FxCellBuilder
        Parameters:
        aRightTextMarginFactor - The right margin factor of the text from the text box.
      • getRightTextMarginFactor

        public double getRightTextMarginFactor​()
        Returns the right margin factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text box from the cell.
        Specified by:
        getRightTextMarginFactor in interface FxCellBuilder
        Returns:
        The right margin factor relative to the size of the cell of the text from the text box.
      • setTopTextPaddingFactor

        public void setTopTextPaddingFactor​(double aTopTextPaddingFactor)
        Sets the top padding factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text from the text box.
        Specified by:
        setTopTextPaddingFactor in interface FxCellBuilder
        Parameters:
        aTopTextPaddingFactor - The top padding factor of the text from the text box.
      • getTopTextPaddingFactor

        public double getTopTextPaddingFactor​()
        Returns the top padding factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text from the text box.
        Specified by:
        getTopTextPaddingFactor in interface FxCellBuilder
        Returns:
        The top padding factor relative to the size of the cell of the text from the text box.
      • setBottomTextPaddingFactor

        public void setBottomTextPaddingFactor​(double aBottomTextPaddingFactor)
        Sets the bottom padding factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text from the text box.
        Specified by:
        setBottomTextPaddingFactor in interface FxCellBuilder
        Parameters:
        aBottomTextPaddingFactor - The bottom padding factor of the text from the text box.
      • getBottomTextPaddingFactor

        public double getBottomTextPaddingFactor​()
        Returns the bottom padding factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text from the text box.
        Specified by:
        getBottomTextPaddingFactor in interface FxCellBuilder
        Returns:
        The bottom padding factor relative to the size of the cell of the text from the text box.
      • setLeftTextPaddingFactor

        public void setLeftTextPaddingFactor​(double aLeftTextPaddingFactor)
        Sets the left padding factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text from the text box.
        Specified by:
        setLeftTextPaddingFactor in interface FxCellBuilder
        Parameters:
        aLeftTextPaddingFactor - The left padding factor of the text from the text box.
      • getLeftTextPaddingFactor

        public double getLeftTextPaddingFactor​()
        Returns the left padding factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text from the text box.
        Specified by:
        getLeftTextPaddingFactor in interface FxCellBuilder
        Returns:
        The left padding factor relative to the size of the cell of the text from the text box.
      • setRightTextPaddingFactor

        public void setRightTextPaddingFactor​(double aRightTextPaddingFactor)
        Sets the right padding factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text from the text box.
        Specified by:
        setRightTextPaddingFactor in interface FxCellBuilder
        Parameters:
        aRightTextPaddingFactor - The right padding factor of the text from the text box.
      • getRightTextPaddingFactor

        public double getRightTextPaddingFactor​()
        Returns the right padding factor relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()) of the text from the text box.
        Specified by:
        getRightTextPaddingFactor in interface FxCellBuilder
        Returns:
        The right padding factor relative to the size of the cell of the text from the text box.
      • getText

        public java.lang.String getText​()
        Specified by:
        getText in interface org.refcodes.mixin.TextAccessor
      • setText

        public void setText​(java.lang.String aText)
        Specified by:
        setText in interface org.refcodes.mixin.TextAccessor.TextMutator
      • setTextSizeFactor

        public void setTextSizeFactor​(double aTextSizeFactor)
        Sets the size of the text relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()). Values form 0 to 1 represents width between 0% and 100%.
        Specified by:
        setTextSizeFactor in interface FxCellBuilder
        Parameters:
        aTextSizeFactor - The factor to be used relative to the size of the cell.
      • getTextSizeFactor

        public double getTextSizeFactor​()
        Returns the size of the text relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()). Values form 0 to 1 represents width between 0% and 100%.
        Specified by:
        getTextSizeFactor in interface FxCellBuilder
        Returns:
        The factor being used relative to the size of the cell.
      • getHorizAlignTextMode

        public org.refcodes.textual.HorizAlignTextMode getHorizAlignTextMode​()
        Specified by:
        getHorizAlignTextMode in interface org.refcodes.textual.HorizAlignTextModeAccessor
      • setHorizAlignTextMode

        public void setHorizAlignTextMode​(org.refcodes.textual.HorizAlignTextMode aHorizAlignTextMode)
        Specified by:
        setHorizAlignTextMode in interface org.refcodes.textual.HorizAlignTextModeAccessor.HorizAlignTextModeMutator
      • getVertAlignTextMode

        public org.refcodes.textual.VertAlignTextMode getVertAlignTextMode​()
        Specified by:
        getVertAlignTextMode in interface org.refcodes.textual.VertAlignTextModeAccessor
      • setVertAlignTextMode

        public void setVertAlignTextMode​(org.refcodes.textual.VertAlignTextMode aVertAlignTextMode)
        Specified by:
        setVertAlignTextMode in interface org.refcodes.textual.VertAlignTextModeAccessor.VertAlignTextModeMutator
      • getFontName

        public java.lang.String getFontName​()
        Specified by:
        getFontName in interface org.refcodes.textual.FontNameAccessor
      • setFontName

        public void setFontName​(java.lang.String aFontName)
        Specified by:
        setFontName in interface org.refcodes.textual.FontNameAccessor.FontNameMutator
      • setTextBackground

        public void setTextBackground​(javafx.scene.paint.Paint aTextBackground)
        Sets the background of the text.
        Specified by:
        setTextBackground in interface FxCellBuilder
        Parameters:
        aTextBackground - The background of the text inside the cell.
      • getTextBackground

        public javafx.scene.paint.Paint getTextBackground​()
        Returns the background of the text.
        Specified by:
        getTextBackground in interface FxCellBuilder
        Returns:
        The background of the text inside the cell.
      • setTextColor

        public void setTextColor​(javafx.scene.paint.Paint aColor)
        Sets the color of the text.
        Specified by:
        setTextColor in interface FxCellBuilder
        Parameters:
        aColor - The color of the text inside the cell.
      • getTextColor

        public javafx.scene.paint.Paint getTextColor​()
        Returns the color of the text.
        Specified by:
        getTextColor in interface FxCellBuilder
        Returns:
        The color of the text inside the cell.
      • setTextLayoutMode

        public void setTextLayoutMode​(org.refcodes.graphical.LayoutMode aLayoutMode)
        Sets the LayoutMode for the text metrics.
        Specified by:
        setTextLayoutMode in interface FxCellBuilder
        Parameters:
        aLayoutMode - The LayoutMode to be applied to text metrics. settings.
      • getTextLayoutMode

        public org.refcodes.graphical.LayoutMode getTextLayoutMode​()
        Returns the LayoutMode for the text metrics.
        Specified by:
        getTextLayoutMode in interface FxCellBuilder
        Returns:
        The LayoutMode to be applied to text metrics. settings.
      • setTextBorderSizeFactor

        public void setTextBorderSizeFactor​(double aTextBorderSizeFactor)
        Sets the size of the text border relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()). Values form 0 to 1 represents width between 0% and 100%.
        Specified by:
        setTextBorderSizeFactor in interface FxCellBuilder
        Parameters:
        aTextBorderSizeFactor - The factor to be used relative to the size of the cell.
      • getTextBorderSizeFactor

        public double getTextBorderSizeFactor​()
        Returns the size of the text border relative to the size of the cell (as of FxCellBuilder.getTextLayoutMode()). Values form 0 to 1 represents width between 0% and 100%.
        Specified by:
        getTextBorderSizeFactor in interface FxCellBuilder
        Returns:
        The factor being used relative to the size of the cell.
      • setTextBorderArcFactor

        public void setTextBorderArcFactor​(double aTextBorderArcFactor)
        Sets the arc of the text border relative to the arc of the cell (as of FxCellBuilder.getTextLayoutMode()). Values form 0 to 1 represents width between 0% and 100%.
        Specified by:
        setTextBorderArcFactor in interface FxCellBuilder
        Parameters:
        aTextBorderArcFactor - The factor to be used relative to the arc of the cell.
      • getTextBorderArcFactor

        public double getTextBorderArcFactor​()
        Returns the arc of the text border relative to the arc of the cell (as of FxCellBuilder.getTextLayoutMode()). Values form 0 to 1 represents width between 0% and 100%.
        Specified by:
        getTextBorderArcFactor in interface FxCellBuilder
        Returns:
        The factor being used relative to the arc of the cell.
      • setTextBorderColor

        public void setTextBorderColor​(javafx.scene.paint.Paint aTextBorderColor)
        Sets the color of the text border.
        Specified by:
        setTextBorderColor in interface FxCellBuilder
        Parameters:
        aTextBorderColor - The color of the text border inside the cell.
      • getTextBorderColor

        public javafx.scene.paint.Paint getTextBorderColor​()
        Returns the color of the text border.
        Specified by:
        getTextBorderColor in interface FxCellBuilder
        Returns:
        The color of the text border inside the cell.
      • setImage

        public void setImage​(javafx.scene.image.Image aImage)
        Sets the image of the cell.
        Specified by:
        setImage in interface FxCellBuilder
        Parameters:
        aImage - The image of the cell.
      • getImage

        public javafx.scene.image.Image getImage​()
        Returns the image of the cell.
        Specified by:
        getImage in interface FxCellBuilder
        Returns:
        The image of the cell.
      • redraw

        protected void redraw​()
        Recalculates the metrics of the elements of this node.