Package com.vaadin.flow.component
Interface HasElement
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Focusable<T>,HasAriaLabel,HasComponents,HasEnabled,HasHelper,HasLabel,HasOrderedComponents,HasPlaceholder,HasSize,HasStyle,HasText,HasTheme,HasValueAndElement<E,,V> RouterLayout
- All Known Implementing Classes:
AbstractCompositeField,AbstractField,AbstractRouteNotFoundError,AbstractSinglePropertyField,Component,Composite,Html,HtmlComponent,HtmlContainer,InternalServerError,RouteAccessDeniedError,RouteNotFoundError,RouterLink,Svg,Text,UI,UI.ClientViewPlaceholder,WebComponentUI,WebComponentWrapper
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Marker interface for any class which is based on an
Element.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionGets the element associated with this instance.
-
Method Details
-
getElement
Element getElement()Gets the element associated with this instance.- Returns:
- the element associated with this instance
-