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 booleanwrapLines-
Fields inherited from class org.teamapps.dto.AbstractUiTemplateElement
backgroundColor, colSpan, column, horizontalAlignment, margin, property, row, rowSpan, verticalAlignment
-
-
Constructor Summary
Constructors Constructor Description UiTextElement()Deprecated.Only for Jackson deserialization.UiTextElement(java.lang.String property, int row, int column)
-
Method Summary
All Methods Instance Methods Concrete Methods 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, getHorizontalAlignment, getMargin, getProperty, getRow, getRowSpan, getVerticalAlignment
-
-
-
-
Field Detail
-
fontStyle
protected UiFontStyle fontStyle
-
lineHeight
protected float lineHeight
-
wrapLines
protected boolean wrapLines
-
padding
protected UiSpacing padding
-
textAlignment
protected UiTextAlignment textAlignment
-
-
Method Detail
-
getUiObjectType
public UiObjectType getUiObjectType()
- Specified by:
getUiObjectTypein interfaceUiObject
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractUiTemplateElement
-
getFontStyle
public UiFontStyle getFontStyle()
-
getLineHeight
public float getLineHeight()
-
getWrapLines
public boolean getWrapLines()
-
getPadding
public UiSpacing getPadding()
-
getTextAlignment
public UiTextAlignment getTextAlignment()
-
setRowSpan
public UiTextElement setRowSpan(int rowSpan)
- Overrides:
setRowSpanin classAbstractUiTemplateElement
-
setColSpan
public UiTextElement setColSpan(int colSpan)
- Overrides:
setColSpanin classAbstractUiTemplateElement
-
setHorizontalAlignment
public UiTextElement setHorizontalAlignment(UiHorizontalElementAlignment horizontalAlignment)
- Overrides:
setHorizontalAlignmentin classAbstractUiTemplateElement
-
setVerticalAlignment
public UiTextElement setVerticalAlignment(UiVerticalElementAlignment verticalAlignment)
- Overrides:
setVerticalAlignmentin classAbstractUiTemplateElement
-
setMargin
public UiTextElement setMargin(UiSpacing margin)
- Overrides:
setMarginin classAbstractUiTemplateElement
-
setBackgroundColor
public UiTextElement setBackgroundColor(java.lang.String backgroundColor)
- Overrides:
setBackgroundColorin classAbstractUiTemplateElement
-
setFontStyle
public UiTextElement setFontStyle(UiFontStyle fontStyle)
-
setLineHeight
public UiTextElement setLineHeight(float lineHeight)
-
setWrapLines
public UiTextElement setWrapLines(boolean wrapLines)
-
setPadding
public UiTextElement setPadding(UiSpacing padding)
-
setTextAlignment
public UiTextElement setTextAlignment(UiTextAlignment textAlignment)
-
-