Package org.vaadin.firitin.fluency.ui
Interface FluentHasStyle<S extends FluentHasStyle<S>>
-
- All Superinterfaces:
com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,Serializable
- All Known Subinterfaces:
FluentHtmlContainer<S>,FluentVaadinTextField<S,F,T>
- All Known Implementing Classes:
DefaultButton,LocaleSelect,PagingGrid,UploadFileHandler,VAccordion,VAnchor,VArticle,VAside,VBigDecimalField,VButton,VCheckBox,VCheckboxGroup,VComboBox,VDatePicker,VDateTimePicker,VDescriptionList,VDiv,VEmailField,VEmphasis,VFlexLayout,VFooter,VFormLayout,VGrid,VH1,VH2,VH3,VH4,VH5,VH6,VHeader,VHorizontalLayout,VHr,VImage,VIntegerField,VIronList,VLabel,VListBox,VListItem,VMain,VMenuBar,VMultiSelectListBox,VNativeButton,VNav,VNumberField,VOrderedList,VParagaph,VPasswordField,VProgressBar,VRadioButtonGroup,VSection,VSelect,VSpan,VSplitLayout,VTab,VTabs,VTextArea,VTextField,VUnorderedList,VUpload,VVerticalLayout
public interface FluentHasStyle<S extends FluentHasStyle<S>> extends com.vaadin.flow.component.HasStyle
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SwithAddedClassName(String... classNames)Adds one or more CSS class names to this component.Multiple class names can be specified by using multiple parameters.default SwithClassName(String className)Sets the CSS class names of this component.This method overwrites any previous set class names.default SwithStyle(String name, String value)
-
-
-
Method Detail
-
withClassName
default S withClassName(String className)
Sets the CSS class names of this component.This method overwrites any previous set class names.- Parameters:
className- a space-separated string of class names to set, ornullto remove all class names- Returns:
- the configured component
-
withAddedClassName
default S withAddedClassName(String... classNames)
Adds one or more CSS class names to this component.Multiple class names can be specified by using multiple parameters.- Parameters:
classNames- the CSS class name or class names to be added to the component- Returns:
- the configured component
-
-