Class TextElement

    • Field Detail

      • lineHeight

        protected float lineHeight
      • wrapLines

        protected boolean wrapLines
      • padding

        protected Spacing padding
    • Constructor Detail

      • TextElement

        public TextElement​(java.lang.String dataKey)
      • TextElement

        public TextElement​(java.lang.String dataKey,
                           int row,
                           int column)
      • TextElement

        public TextElement​(java.lang.String dataKey,
                           int row,
                           int column,
                           int rowSpan,
                           int colSpan)
    • Method Detail

      • mapTextElementAttributesToUiElement

        protected void mapTextElementAttributesToUiElement​(org.teamapps.dto.UiTextElement uiTextElement)
      • setFontStyle

        public TextElement setFontStyle​(float relativeFontSize)
      • setFontStyle

        public TextElement setFontStyle​(float relativeFontSize,
                                        org.teamapps.common.format.Color fontColor)
      • setLineHeight

        public TextElement setLineHeight​(float lineHeight)
      • setWrapLines

        public TextElement setWrapLines​(boolean wrapLines)
      • getFontStyle

        public FontStyle getFontStyle()
      • getLineHeight

        public float getLineHeight()
      • isWrapLines

        public boolean isWrapLines()
      • getPadding

        public Spacing getPadding()