Package com.storedobject.vaadin
Interface HasSquareElement
- All Superinterfaces:
HasElement
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasSize
,HasThemeStyle
,Serializable
- All Known Implementing Classes:
BadgeIcon
,ButtonIcon
,Icon
,ImageButton
Element that has a square shape (equal width and height).
- Author:
- Syam
-
Method Summary
Methods inherited from interface com.storedobject.vaadin.HasElement
getAttribute, getStyle, setAttribute, setStyle
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
Methods inherited from interface com.storedobject.vaadin.HasThemeStyle
addTheme, asPrimary, asSmall, clearThemes, getInternalElement, removeTheme, setTheme
-
Method Details
-
setSize
Set the size (Width and height)- Parameters:
size
- Width/height of the square. Null value will remove the width/height styles.
-
getSize
-