Uses of Enum Class
com.vaadin.flow.component.Unit
Packages that use Unit
Package
Description
-
Uses of Unit in com.vaadin.flow.component
Methods in com.vaadin.flow.component that return UnitModifier and TypeMethodDescriptionstatic UnitUnit.getUnitFromSymbol(String symbol) Convert unit string symbol to Unit.static UnitReturns the enum constant of this class with the specified name.static Unit[]Unit.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.vaadin.flow.component that return types with arguments of type UnitModifier and TypeMethodDescriptionHasSize.getHeightUnit()Gets the height unit of the component, if defined.Gives size unit of the css string representing a size.HasSize.getWidthUnit()Gets the width unit of the component, if defined.Methods in com.vaadin.flow.component with parameters of type UnitModifier and TypeMethodDescriptionstatic StringHasSize.getCssSize(float size, Unit unit) Utility method for internal use.default voidSets the height of the component.default voidHasSize.setMaxHeight(float maxHeight, Unit unit) Sets the max-height of the component.default voidHasSize.setMaxWidth(float maxWidth, Unit unit) Sets the max-width of the component.default voidHasSize.setMinHeight(float minHeight, Unit unit) Sets the min-height of the component.default voidHasSize.setMinWidth(float minWidth, Unit unit) Sets the min-width of the component.default voidSets the width of the component. -
Uses of Unit in com.vaadin.flow.component.combobox
Methods in com.vaadin.flow.component.combobox with parameters of type UnitModifier and TypeMethodDescriptionvoidComboBox.setOverlayWidth(float width, Unit unit) Sets the dropdown overlay width.voidMultiSelectComboBox.setOverlayWidth(float width, Unit unit) Sets the dropdown overlay width. -
Uses of Unit in com.vaadin.flow.component.formlayout
Methods in com.vaadin.flow.component.formlayout with parameters of type UnitModifier and TypeMethodDescriptionvoidFormLayout.setColumnSpacing(float columnSpacing, Unit unit) Sets the gap between the columns.voidFormLayout.setColumnWidth(float columnWidth, Unit unit) Sets the width of columns that the component should use whenFormLayout.setAutoResponsive(boolean)is enabled.voidFormLayout.setLabelSpacing(float labelSpacing, Unit unit) Sets the gap between the label and the field which is used when labels are positioned aside.voidFormLayout.setLabelWidth(float width, Unit unit) Sets the width of side-positioned label.voidFormLayout.setRowSpacing(float rowSpacing, Unit unit) Sets the gap between the rows. -
Uses of Unit in com.vaadin.flow.component.masterdetaillayout
Methods in com.vaadin.flow.component.masterdetaillayout with parameters of type UnitModifier and TypeMethodDescriptionvoidMasterDetailLayout.setDetailMinSize(float minSize, Unit unit) Sets the minimum size of the detail area in CSS length units.voidMasterDetailLayout.setDetailSize(float size, Unit unit) Sets the size of the detail area in CSS length units.voidMasterDetailLayout.setMasterMinSize(float minSize, Unit unit) Sets the minimum size of the master area in CSS length units.voidMasterDetailLayout.setMasterSize(float size, Unit unit) Sets the size of the master area in CSS length units. -
Uses of Unit in com.vaadin.flow.component.orderedlayout
Methods in com.vaadin.flow.component.orderedlayout with parameters of type UnitModifier and TypeMethodDescriptiondefault voidThemableLayout.setSpacing(float spacing, Unit unit) Sets the spacing between the components inside the layout. -
Uses of Unit in com.vaadin.flow.component.select
Methods in com.vaadin.flow.component.select with parameters of type UnitModifier and TypeMethodDescriptionvoidSelect.setOverlayWidth(float width, Unit unit) Sets the dropdown overlay width.