Package org.teamapps.dto
Class UiTextElement
java.lang.Object
org.teamapps.dto.AbstractUiTemplateElement
org.teamapps.dto.UiTextElement
- All Implemented Interfaces:
UiObject
- Direct Known Subclasses:
UiBadgeElement
public class UiTextElement extends AbstractUiTemplateElement implements UiObject
THIS IS GENERATED CODE!
PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
-
Field Summary
Fields Modifier and Type Field Description protected UiFontStylefontStyleprotected floatlineHeightprotected UiSpacingpaddingprotected UiTextAlignmenttextAlignmentprotected booleanwrapLinesFields inherited from class org.teamapps.dto.AbstractUiTemplateElement
backgroundColor, colSpan, column, dataKey, horizontalAlignment, margin, row, rowSpan, verticalAlignment -
Constructor Summary
Constructors Constructor Description UiTextElement()Deprecated.Only for Jackson deserialization.UiTextElement(java.lang.String dataKey, int row, int column) -
Method Summary
Modifier and Type Method Description UiFontStylegetFontStyle()floatgetLineHeight()UiSpacinggetPadding()UiTextAlignmentgetTextAlignment()UiObjectTypegetUiObjectType()booleangetWrapLines()UiTextElementsetBackgroundColor(java.lang.String backgroundColor)UiTextElementsetColSpan(int colSpan)UiTextElementsetFontStyle(UiFontStyle fontStyle)UiTextElementsetHorizontalAlignment(UiHorizontalElementAlignment horizontalAlignment)UiTextElementsetLineHeight(float lineHeight)UiTextElementsetMargin(UiSpacing margin)UiTextElementsetPadding(UiSpacing padding)UiTextElementsetRowSpan(int rowSpan)UiTextElementsetTextAlignment(UiTextAlignment textAlignment)UiTextElementsetVerticalAlignment(UiVerticalElementAlignment verticalAlignment)UiTextElementsetWrapLines(boolean wrapLines)java.lang.StringtoString()Methods inherited from class org.teamapps.dto.AbstractUiTemplateElement
getBackgroundColor, getColSpan, getColumn, getDataKey, getHorizontalAlignment, getMargin, getRow, getRowSpan, getVerticalAlignment
-
Field Details
-
fontStyle
-
lineHeight
protected float lineHeight -
wrapLines
protected boolean wrapLines -
padding
-
textAlignment
-
-
Constructor Details
-
UiTextElement
@Deprecated public UiTextElement()Deprecated.Only for Jackson deserialization. Use the other constructor instead. -
UiTextElement
public UiTextElement(java.lang.String dataKey, int row, int column)
-
-
Method Details
-
getUiObjectType
- Specified by:
getUiObjectTypein interfaceUiObject
-
toString
public java.lang.String toString()- Overrides:
toStringin classAbstractUiTemplateElement
-
getFontStyle
-
getLineHeight
public float getLineHeight() -
getWrapLines
public boolean getWrapLines() -
getPadding
-
getTextAlignment
-
setRowSpan
- Overrides:
setRowSpanin classAbstractUiTemplateElement
-
setColSpan
- Overrides:
setColSpanin classAbstractUiTemplateElement
-
setHorizontalAlignment
- Overrides:
setHorizontalAlignmentin classAbstractUiTemplateElement
-
setVerticalAlignment
- Overrides:
setVerticalAlignmentin classAbstractUiTemplateElement
-
setMargin
- Overrides:
setMarginin classAbstractUiTemplateElement
-
setBackgroundColor
- Overrides:
setBackgroundColorin classAbstractUiTemplateElement
-
setFontStyle
-
setLineHeight
-
setWrapLines
-
setPadding
-
setTextAlignment
-