Package com.storedobject.vaadin
Interface HasStyle
- All Superinterfaces:
com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,Serializable
- All Known Implementing Classes:
AbstractQuantityField,AngleField,AreaField,BadgeIcon,BigDecimalField,ClassNameField,CountField,CSSGrid,CustomTextField,Dashboard,DaysField,DistanceField,DoubleField,FractionalCountField,FreeFormatField,GeolocationField,GridLayout,Icon,ImageButton,IntegerField,JSONField,LongField,MinutesField,MoneyField,NumericField,ObjectCodeField,PercentageField,PressureField,QuantityField,SecondsField,SpeedField,TemperatureField,TimeDurationField,ToggleButton,VolumeField,VolumeRateField,WeightField,WeightOrVolumeField,WeightRateField
public interface HasStyle
extends com.vaadin.flow.component.HasStyle
Same as
HasStyle but can be applied to an "internal element" specified.- Author:
- Syam
-
Method Summary
Modifier and TypeMethodDescriptiondefault Stringdefault com.vaadin.flow.dom.ClassListdefault com.vaadin.flow.dom.ElementGet the internal element to which style will be applied.default com.vaadin.flow.dom.StylegetStyle()default voidsetClassName(String className) Methods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, hasClassName, removeClassName, removeClassNames, setClassName
-
Method Details
-
getInternalElement
default com.vaadin.flow.dom.Element getInternalElement()Get the internal element to which style will be applied.- Returns:
- The internal element.
-
setClassName
- Specified by:
setClassNamein interfacecom.vaadin.flow.component.HasStyle
-
getClassName
- Specified by:
getClassNamein interfacecom.vaadin.flow.component.HasStyle
-
getClassNames
default com.vaadin.flow.dom.ClassList getClassNames()- Specified by:
getClassNamesin interfacecom.vaadin.flow.component.HasStyle
-
getStyle
default com.vaadin.flow.dom.Style getStyle()- Specified by:
getStylein interfacecom.vaadin.flow.component.HasStyle
-