Package org.teamapps.dto
Class UiBadgeElement
- java.lang.Object
-
- org.teamapps.dto.AbstractUiTemplateElement
-
- org.teamapps.dto.UiTextElement
-
- org.teamapps.dto.UiBadgeElement
-
- All Implemented Interfaces:
UiObject
public class UiBadgeElement extends UiTextElement 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 UiColorborderColor-
Fields inherited from class org.teamapps.dto.UiTextElement
fontStyle, lineHeight, padding, textAlignment, wrapLines
-
Fields inherited from class org.teamapps.dto.AbstractUiTemplateElement
backgroundColor, colSpan, column, dataKey, horizontalAlignment, margin, row, rowSpan, verticalAlignment
-
-
Constructor Summary
Constructors Constructor Description UiBadgeElement()Deprecated.Only for Jackson deserialization.UiBadgeElement(java.lang.String dataKey, int row, int column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UiColorgetBorderColor()UiObjectTypegetUiObjectType()UiBadgeElementsetBackgroundColor(UiColor backgroundColor)UiBadgeElementsetBorderColor(UiColor borderColor)UiBadgeElementsetColSpan(int colSpan)UiBadgeElementsetFontStyle(UiFontStyle fontStyle)UiBadgeElementsetHorizontalAlignment(UiHorizontalElementAlignment horizontalAlignment)UiBadgeElementsetLineHeight(float lineHeight)UiBadgeElementsetMargin(UiSpacing margin)UiBadgeElementsetPadding(UiSpacing padding)UiBadgeElementsetRowSpan(int rowSpan)UiBadgeElementsetTextAlignment(UiTextAlignment textAlignment)UiBadgeElementsetVerticalAlignment(UiVerticalElementAlignment verticalAlignment)UiBadgeElementsetWrapLines(boolean wrapLines)java.lang.StringtoString()-
Methods inherited from class org.teamapps.dto.UiTextElement
getFontStyle, getLineHeight, getPadding, getTextAlignment, getWrapLines
-
Methods inherited from class org.teamapps.dto.AbstractUiTemplateElement
getBackgroundColor, getColSpan, getColumn, getDataKey, getHorizontalAlignment, getMargin, getRow, getRowSpan, getVerticalAlignment
-
-
-
-
Field Detail
-
borderColor
protected UiColor borderColor
-
-
Method Detail
-
getUiObjectType
public UiObjectType getUiObjectType()
- Specified by:
getUiObjectTypein interfaceUiObject- Overrides:
getUiObjectTypein classUiTextElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classUiTextElement
-
getBorderColor
public UiColor getBorderColor()
-
setRowSpan
public UiBadgeElement setRowSpan(int rowSpan)
- Overrides:
setRowSpanin classUiTextElement
-
setColSpan
public UiBadgeElement setColSpan(int colSpan)
- Overrides:
setColSpanin classUiTextElement
-
setHorizontalAlignment
public UiBadgeElement setHorizontalAlignment(UiHorizontalElementAlignment horizontalAlignment)
- Overrides:
setHorizontalAlignmentin classUiTextElement
-
setVerticalAlignment
public UiBadgeElement setVerticalAlignment(UiVerticalElementAlignment verticalAlignment)
- Overrides:
setVerticalAlignmentin classUiTextElement
-
setMargin
public UiBadgeElement setMargin(UiSpacing margin)
- Overrides:
setMarginin classUiTextElement
-
setBackgroundColor
public UiBadgeElement setBackgroundColor(UiColor backgroundColor)
- Overrides:
setBackgroundColorin classUiTextElement
-
setFontStyle
public UiBadgeElement setFontStyle(UiFontStyle fontStyle)
- Overrides:
setFontStylein classUiTextElement
-
setLineHeight
public UiBadgeElement setLineHeight(float lineHeight)
- Overrides:
setLineHeightin classUiTextElement
-
setWrapLines
public UiBadgeElement setWrapLines(boolean wrapLines)
- Overrides:
setWrapLinesin classUiTextElement
-
setPadding
public UiBadgeElement setPadding(UiSpacing padding)
- Overrides:
setPaddingin classUiTextElement
-
setTextAlignment
public UiBadgeElement setTextAlignment(UiTextAlignment textAlignment)
- Overrides:
setTextAlignmentin classUiTextElement
-
setBorderColor
public UiBadgeElement setBorderColor(UiColor borderColor)
-
-