Class ImageElement
java.lang.Object
org.teamapps.ux.component.template.gridtemplate.AbstractTemplateElement
org.teamapps.ux.component.template.gridtemplate.ImageElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Borderprotected intprotected ImageSizingprotected Spacingprotected Shadowprotected intFields inherited from class org.teamapps.ux.component.template.gridtemplate.AbstractTemplateElement
backgroundColor, colSpan, column, horizontalAlignment, margin, propertyName, row, rowSpan, verticalAlignment -
Constructor Summary
ConstructorsConstructorDescriptionImageElement(String propertyName, int width, int height) ImageElement(String propertyName, int row, int column, int width, int height) ImageElement(String propertyName, int row, int column, int rowSpan, int colSpan, int width, int height) ImageElement(String propertyName, int row, int column, int rowSpan, int colSpan, int width, int height, Border border, Spacing padding, Shadow shadow) ImageElement(String propertyName, int row, int column, int width, int height, Border border, Spacing padding, Shadow shadow) ImageElement(String propertyName, int row, int column, int rowSpan, int colSpan, HorizontalElementAlignment horizontalAlignment, VerticalElementAlignment verticalAlignment, int width, int height) ImageElement(String propertyName, int width, int height, Border border, Spacing padding, Shadow shadow) -
Method Summary
Modifier and TypeMethodDescriptionintintgetWidth()setColSpan(int colSpan) setColumn(int column) setHeight(int height) setHorizontalAlignment(HorizontalElementAlignment horizontalAlignment) setImageSizing(ImageSizing imageSizing) setPadding(Spacing padding) setRow(int row) setRowSpan(int rowSpan) setVerticalAlignment(VerticalElementAlignment verticalAlignment) setWidth(int width) Methods inherited from class org.teamapps.ux.component.template.gridtemplate.AbstractTemplateElement
getBackgroundColor, getColSpan, getColumn, getHorizontalAlignment, getMargin, getPropertyNames, getRow, getRowSpan, getVerticalAlignment, mapAbstractTemplateElementAttributesToUiElement, setBackgroundColor, setPropertyName
-
Field Details
-
width
protected int width -
height
protected int height -
border
-
padding
-
shadow
-
imageSizing
-
-
Constructor Details
-
ImageElement
-
ImageElement
-
ImageElement
public ImageElement(String propertyName, int row, int column, int rowSpan, int colSpan, int width, int height) -
ImageElement
public ImageElement(String propertyName, int row, int column, int rowSpan, int colSpan, HorizontalElementAlignment horizontalAlignment, VerticalElementAlignment verticalAlignment, int width, int height) -
ImageElement
-
ImageElement
-
ImageElement
-
-
Method Details
-
setWidth
-
setHeight
-
setBorder
-
setPadding
-
setShadow
-
setHorizontalAlignment
- Overrides:
setHorizontalAlignmentin classAbstractTemplateElement
-
setVerticalAlignment
- Overrides:
setVerticalAlignmentin classAbstractTemplateElement
-
setMargin
- Overrides:
setMarginin classAbstractTemplateElement
-
createUiTemplateElement
- Specified by:
createUiTemplateElementin classAbstractTemplateElement
-
setRow
- Overrides:
setRowin classAbstractTemplateElement
-
setColumn
- Overrides:
setColumnin classAbstractTemplateElement
-
setRowSpan
- Overrides:
setRowSpanin classAbstractTemplateElement
-
setColSpan
- Overrides:
setColSpanin classAbstractTemplateElement
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getBorder
-
getPadding
-
getShadow
-
getImageSizing
-
setImageSizing
-