Interface HasElement

All Superinterfaces:
Serializable
All Known Subinterfaces:
DragSource<T>, DropTarget<T>, FlexComponent, Focusable<T>, HasAllowedCharPattern, HasAriaLabel, HasAutocapitalize, HasAutocomplete, HasAutocorrect, HasAutoOpen, HasClearButton, HasComponents, HasEnabled, HasHelper, HasItemComponents<T>, HasItemComponents.ItemComponent<T>, HasItemsAndComponents<T>, HasLabel, HasOrderedComponents, HasOverlayClassName, HasPrefix, HasPrefixAndSuffix, HasSize, HasStyle, HasSuffix, HasText, HasTheme, HasThemeVariant<TVariantEnum>, HasTooltip, HasValidationProperties, HasValueAndElement<E,V>, InputField<E,V>, MultiSelect<C,T>, RouterLayout, SingleSelect<C,T>, ThemableLayout
All Known Implementing Classes:
AbstractCompositeField, AbstractField, AbstractIcon, AbstractLogin, AbstractNumberField, AbstractSinglePropertyField, Accordion, AccordionPanel, Anchor, AppLayout, Article, Aside, Avatar, AvatarGroup, BigDecimalField, Board, Button, Chart, Checkbox, CheckboxGroup, CollaborationAvatarGroup, CollaborationMessageInput, CollaborationMessageList, ComboBox, ComboBoxBase, Component, Composite, ConfirmDialog, ContextMenu, ContextMenuBase, CookieConsent, Crud, CrudGrid, CustomField, DatePicker, DateTimePicker, DescriptionList, DescriptionList.Description, DescriptionList.Term, Details, Dialog, Div, DrawerToggle, EmailField, Emphasis, FlexLayout, FontIcon, Footer, FormLayout, FormLayout.FormItem, Grid, Grid.Column, GridContextMenu, GridMenuItem, GridPro, GridPro.EditColumn, GridSelectionColumn, H1, H2, H3, H4, H5, H6, Header, HorizontalLayout, Hr, Html, HtmlComponent, HtmlContainer, HtmlObject, Icon, IFrame, Image, Input, IntegerField, InternalServerError, Label, ListBox, ListBoxBase, ListItem, LitTemplate, LoginForm, LoginOverlay, Main, Map, MapBase, MenuBar, MenuItem, MenuItemBase, MessageInput, MessageList, MultiSelectComboBox, MultiSelectListBox, NativeButton, NativeDetails, NativeDetails.Summary, NativeLabel, Nav, Notification, NumberField, OrderedList, Paragraph, Param, PasswordField, Pre, ProgressBar, RadioButtonGroup, RichTextEditor, RouteNotFoundError, RouterLink, Row, Scroller, Section, Select, SideNav, SideNavItem, Span, SplitLayout, Svg, SvgIcon, Tab, Tabs, TabSheet, Text, TextArea, TextField, TextFieldBase, TimePicker, TreeGrid, UI, UI.ClientViewPlaceholder, UnorderedList, Upload, VerticalLayout, VirtualList, 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 an Element.
Since:
1.0
Author:
Vaadin Ltd
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets 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