Interface AttachNotifier

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractCompositeField, AbstractField, AbstractIcon, AbstractLogin, AbstractNumberField, AbstractRouteNotFoundError, 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, RangeInput, RichTextEditor, RouteAccessDeniedError, 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

public interface AttachNotifier extends Serializable
Mixin interface for components that support adding attach listeners.
Since:
1.0
Author:
Vaadin Ltd
  • Method Details

    • addAttachListener

      default Registration addAttachListener(ComponentEventListener<AttachEvent> listener)
      Adds a attach listener to this component.
      Parameters:
      listener - the listener to add, not null
      Returns:
      a handle that can be used for removing the listener