Package io.jmix.flowui.sys.event
Class UiEventsManager.ComponentListeners
java.lang.Object
io.jmix.flowui.sys.event.UiEventsManager.ComponentListeners
- Enclosing class:
- UiEventsManager
-
Field Summary
-
Constructor Summary
ConstructorDescriptionComponentListeners
(com.vaadin.flow.component.Component component, Consumer<UiEventsManager.ComponentListeners> uiDetachHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(org.springframework.context.ApplicationListener<?> listener) boolean
contains
(org.springframework.context.ApplicationListener<?> listener) com.vaadin.flow.component.Component
List<org.springframework.context.ApplicationListener<?>>
boolean
isEmpty()
boolean
boolean
isSameComponent
(com.vaadin.flow.component.Component component) void
removeListener
(org.springframework.context.ApplicationListener<?> listener)
-
Field Details
-
component
protected com.vaadin.flow.component.Component component -
listeners
-
-
Constructor Details
-
ComponentListeners
public ComponentListeners(com.vaadin.flow.component.Component component, Consumer<UiEventsManager.ComponentListeners> uiDetachHandler)
-
-
Method Details
-
getComponent
public com.vaadin.flow.component.Component getComponent() -
isSameComponent
public boolean isSameComponent(com.vaadin.flow.component.Component component) -
removeListener
public void removeListener(org.springframework.context.ApplicationListener<?> listener) -
addListener
public void addListener(org.springframework.context.ApplicationListener<?> listener) -
contains
public boolean contains(org.springframework.context.ApplicationListener<?> listener) -
isEmpty
public boolean isEmpty() -
getListeners
-
isEnabled
public boolean isEnabled()
-