Package com.vaadin.flow.component
Interface HasElement
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Focusable<T>,HasAriaLabel,HasComponents,HasEnabled,HasHelper,HasLabel,HasOrderedComponents,HasSize,HasStyle,HasText,HasTheme,HasValueAndElement<E,V>,RouterLayout
- All Known Implementing Classes:
AbstractCompositeField,AbstractField,AbstractSinglePropertyField,Component,Composite,Html,HtmlComponent,HtmlContainer,InternalServerError,JavaScriptBootstrapUI,JavaScriptBootstrapUI.ClientViewPlaceholder,RouteNotFoundError,RouterLink,Text,UI,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.
@FunctionalInterface public interface HasElement extends Serializable
Marker interface for any class which is based on anElement.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ElementgetElement()Gets the element associated with this instance.
-
-
-
Method Detail
-
getElement
Element getElement()
Gets the element associated with this instance.- Returns:
- the element associated with this instance
-
-