Interface FluentHasSize<S extends FluentHasSize<S>>
- All Superinterfaces:
com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasSize,Serializable
- All Known Subinterfaces:
FluentHtmlContainer<S>,FluentVaadinTextField<S,F, T>
- All Known Implementing Classes:
CommaSeparatedStringField,ConfirmationDialog,ConfirmButton,DefaultButton,DeleteButton,EnumSelect,HorizontalFloatLayout,LocaleSelect,PagingGrid,PopoverButton,TreeTable,UploadFileHandler,VAnchor,VArticle,VAside,VBigDecimalField,VButton,VCheckBox,VCheckboxGroup,VCode,VComboBox,VCustomField,VDatePicker,VDateTimePicker,VDescriptionList,VDialog,VDiv,VEmailField,VEmphasis,VFlexLayout,VFooter,VFormLayout,VGrid,VH1,VH2,VH3,VH4,VH5,VH6,VHeader,VHorizontalLayout,VHr,VImage,VIntegerField,VLabel,VListBox,VListItem,VMain,VMenuBar,VMultiSelectListBox,VNativeButton,VNav,VNumberField,VOrderedList,VParagaph,VPasswordField,VPopover,VProgressBar,VScroller,VSection,VSelect,VSpan,VSplitLayout,VTextArea,VTextField,VTimePicker,VUnorderedList,VUpload,VVerticalLayout
public interface FluentHasSize<S extends FluentHasSize<S>>
extends com.vaadin.flow.component.HasSize
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.vaadin.flow.shared.RegistrationaddResizeListener(com.vaadin.flow.component.ComponentEventListener<ResizeObserver.SizeChangeEvent> listener) Deprecated.Hoping to get this feature to the core soon, there might be API conflicts at that point.default SSets the height to 100%.default SSets the width to 100%.default SwithHeight(String height) default SwithMaxHeight(String maxHeight) default SwithMaxSize(String width, String height) default SwithMaxWidth(String maxWidth) default SwithMinHeight(String minHeight) default SwithMinSize(String width, String height) default SwithMinWidth(String minWidth) default Sdefault Sdefault Sdefault SMethods 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, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
-
Method Details
-
withHeight
-
withSizeFull
-
withSizeUndefined
-
withWidth
-
addResizeListener
@Deprecated default com.vaadin.flow.shared.Registration addResizeListener(com.vaadin.flow.component.ComponentEventListener<ResizeObserver.SizeChangeEvent> listener) Deprecated.Hoping to get this feature to the core soon, there might be API conflicts at that point. Use the lower levelResizeObserverdirectly if you are concerned about potential future API conflicts.Adds a listener that is notified when the size of the component changes on the client side. The listener is also notified when the dimensions of the component become available for the first time.- Parameters:
listener- the listener to add- Returns:
- a registration object for removing the listener
-
withFullWidth
-
withFullHeight
-
withSize
-
withMinWidth
-
withMaxWidth
-
withMinHeight
-
withMaxHeight
-
withMinSize
-
withMaxSize
-