Class AbstractTemplateElement<C extends AbstractTemplateElement>
java.lang.Object
org.teamapps.ux.component.template.gridtemplate.AbstractTemplateElement<C>
- Direct Known Subclasses:
FloatingElement,GlyphIconElement,IconElement,ImageElement,TextElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.teamapps.common.format.Colorprotected intprotected intprotected HorizontalElementAlignmentprotected Spacingprotected Stringprotected intprotected intprotected VerticalElementAlignment -
Constructor Summary
ConstructorsConstructorDescriptionAbstractTemplateElement(String propertyName) AbstractTemplateElement(String propertyName, int row, int column) AbstractTemplateElement(String propertyName, int row, int column, int rowSpan, int colSpan) AbstractTemplateElement(String propertyName, int row, int column, int rowSpan, int colSpan, HorizontalElementAlignment horizontalAlignment, VerticalElementAlignment verticalAlignment) -
Method Summary
Modifier and TypeMethodDescriptionabstract org.teamapps.dto.AbstractUiTemplateElementorg.teamapps.common.format.ColorintintintgetRow()intprotected voidmapAbstractTemplateElementAttributesToUiElement(org.teamapps.dto.AbstractUiTemplateElement uiElement) setBackgroundColor(org.teamapps.common.format.Color backgroundColor) setColSpan(int colSpan) setColumn(int column) setHorizontalAlignment(HorizontalElementAlignment horizontalAlignment) setPropertyName(String propertyName) setRow(int row) setRowSpan(int rowSpan) setVerticalAlignment(VerticalElementAlignment verticalAlignment)
-
Field Details
-
propertyName
-
row
protected int row -
column
protected int column -
rowSpan
protected int rowSpan -
colSpan
protected int colSpan -
horizontalAlignment
-
verticalAlignment
-
margin
-
backgroundColor
protected org.teamapps.common.format.Color backgroundColor
-
-
Constructor Details
-
AbstractTemplateElement
-
AbstractTemplateElement
-
AbstractTemplateElement
-
AbstractTemplateElement
public AbstractTemplateElement(String propertyName, int row, int column, int rowSpan, int colSpan, HorizontalElementAlignment horizontalAlignment, VerticalElementAlignment verticalAlignment)
-
-
Method Details
-
setRow
-
setColumn
-
setRowSpan
-
setColSpan
-
setPropertyName
-
getPropertyNames
-
getRow
public int getRow() -
getColumn
public int getColumn() -
getRowSpan
public int getRowSpan() -
getColSpan
public int getColSpan() -
getHorizontalAlignment
-
setHorizontalAlignment
public AbstractTemplateElement<C> setHorizontalAlignment(HorizontalElementAlignment horizontalAlignment) -
getVerticalAlignment
-
setVerticalAlignment
-
getMargin
-
setMargin
-
createUiTemplateElement
public abstract org.teamapps.dto.AbstractUiTemplateElement createUiTemplateElement() -
getBackgroundColor
public org.teamapps.common.format.Color getBackgroundColor() -
setBackgroundColor
public AbstractTemplateElement<C> setBackgroundColor(org.teamapps.common.format.Color backgroundColor) -
mapAbstractTemplateElementAttributesToUiElement
protected void mapAbstractTemplateElementAttributesToUiElement(org.teamapps.dto.AbstractUiTemplateElement uiElement)
-