Package io.jmix.ui.component
Interface AttachNotifier
- All Known Implementing Classes:
- AbstractActionsHolderComponent,- AbstractBox,- AbstractCanvasLayout,- AbstractComponent,- AbstractDataGrid,- AbstractField,- AbstractFileStorageUploadField,- AbstractOrderedLayout,- AbstractPagination,- AbstractResourceView,- AbstractSelectList,- AbstractSingleFileUploadField,- AbstractSingleFilterComponent,- AbstractSuggestionField,- AbstractTable,- AbstractTextArea,- AbstractValueComponent,- AbstractViewComponent,- AccordionImpl,- AngularGaugeChartImpl,- AppMenuImpl,- AppWorkAreaImpl,- BpmnModelerImpl,- BpmnViewerImpl,- BrowserFrameImpl,- ButtonImpl,- ButtonsPanelImpl,- CalendarImpl,- CanvasCssLayout,- CanvasGridLayout,- CanvasHorizontalLayout,- CanvasResponsiveLayout,- CanvasRootLayout,- CanvasVerticalLayout,- CanvasWidgetLayout,- CapsLockIndicatorImpl,- ChartImpl,- CheckBoxGroupImpl,- CheckBoxImpl,- ColorPickerImpl,- ComboBoxImpl,- CompositeComponent,- CoordinateChartImpl,- CssLayoutImpl,- CurrencyFieldImpl,- CustomChartImpl,- DashboardImpl,- DataGridImpl,- DateFieldImpl,- DatePickerImpl,- DrawerImpl,- DynamicAttributesPanel,- EntityComboBoxImpl,- EntityLinkFieldImpl,- EntityPickerImpl,- EntitySuggestionFieldImpl,- FileMultiUploadFieldImpl,- FileStorageUploadFieldImpl,- FileUploadFieldImpl,- FilterImpl,- FlowBoxLayoutImpl,- FormImpl,- FragmentImpl,- FullTextFilterImpl,- FunnelChartImpl,- GanttChartImpl,- GeoMapImpl,- GrapesJsHtmlEditorImpl,- GrapesJsNewsletterHtmlEditorImpl,- GrapesJsWebpageHtmlEditorImpl,- GridLayoutImpl,- GroupBoxImpl,- GroupFilterImpl,- GroupTableImpl,- HBoxLayoutImpl,- HtmlBoxLayoutImpl,- ImageImpl,- JavaScriptComponentImpl,- JpqlFilterImpl,- LabelImpl,- LinkButtonImpl,- LinkImpl,- LogoutButtonImpl,- MaskedFieldImpl,- MultiSelectListImpl,- NewWindowButtonImpl,- NotificationsIndicatorImpl,- OutcomesPanelImpl,- PaginationImpl,- PaletteButton,- PasswordFieldImpl,- PieChartImpl,- PivotTableImpl,- PopupButtonImpl,- PopupViewImpl,- ProgressBarImpl,- PropertyFilterImpl,- RadarChartImpl,- RadioButtonGroupImpl,- RectangularChartImpl,- RelatedEntitiesImpl,- ResizableTextAreaImpl,- ResponsiveGridLayoutImpl,- RichTextAreaImpl,- ScrollBoxLayoutImpl,- SearchFieldImpl,- SerialChartImpl,- SeriesBasedChartImpl,- SideMenuImpl,- SimplePaginationImpl,- SingleSelectListImpl,- SlicedChartImpl,- SliderImpl,- SourceCodeEditorImpl,- SplitPanelImpl,- StockChartImpl,- SuggestionFieldImpl,- TableImpl,- TabSheetImpl,- TagFieldImpl,- TagPickerImpl,- TextAreaImpl,- TextFieldImpl,- TimeFieldImpl,- TimeZoneIndicatorImpl,- TreeDataGridImpl,- TreeImpl,- TreeTableImpl,- TwinColumnImpl,- UserActionsButtonImpl,- UserIndicatorImpl,- ValuePickerImpl,- ValuesPickerImpl,- VBoxLayoutImpl,- WebdavDocumentLinkImpl,- WebdavDocumentUploadFieldImpl,- WebdavDocumentVersionLinkImpl,- XYChartImpl
public interface AttachNotifier
Component that fires 
AttachEvent and DetachEvent events.- 
Method SummaryModifier and TypeMethodDescriptionaddAttachListener(Consumer<AttachEvent> listener) Registers a new attached listener.addDetachListener(Consumer<DetachEvent> listener) Registers a new detached listener.voidattached()Notifies all listeners that component has been attached.voiddetached()Notifies all listeners that component has been detached.boolean
- 
Method Details- 
isAttachedboolean isAttached()- Returns:
- whether a component is attached to a window
 
- 
attachedvoid attached()Notifies all listeners that component has been attached.
- 
detachedvoid detached()Notifies all listeners that component has been detached.
- 
addAttachListenerRegisters a new attached listener.- Parameters:
- listener- a listener to add
- Returns:
- a registration object for removing an event listener added to a source
 
- 
addDetachListenerRegisters a new detached listener.- Parameters:
- listener- a listener to add
- Returns:
- a registration object for removing an event listener added to a source
 
 
-