Package com.storedobject.vaadin
Interface HasSize
- All Superinterfaces:
com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasSize,Serializable
- All Known Implementing Classes:
AbstractResourcedComponent,Audio,Audio,AudioCapture,ContentWithHeader,CSSGrid,Dashboard,DetailComponent,DocumentViewer,ELabel,GridLayout,Media,ModelViewer,PDFViewer,StyledText,Video,Video,VideoCapture
public interface HasSize
extends com.vaadin.flow.component.HasSize
Enhancement to Vaadin's
HasSize interface.
Vaadin's HasSize sets width/height as "styles"
whereas this interface's default methods set it as "attributes" too.- Author:
- Syam
-
Method Summary
Methods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFull
-
Method Details
-
setWidth
- Specified by:
setWidthin interfacecom.vaadin.flow.component.HasSize
-
setHeight
- Specified by:
setHeightin interfacecom.vaadin.flow.component.HasSize
-