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 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 AbstractUiTemplateElementintintintgetRow()intprotected voidsetBackgroundColor(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
-
-
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
-
getBackgroundColor
-
setBackgroundColor
-
mapAbstractTemplateElementAttributesToUiElement
-