public abstract class AbstractAttachDetachEvent extends ComponentEvent<Component>
AttachEvent
and DetachEvent
.source
Constructor and Description |
---|
AbstractAttachDetachEvent(Component source)
Creates a new event with the given component as source.
|
Modifier and Type | Method and Description |
---|---|
VaadinSession |
getSession()
Gets the session the component is attached to.
|
UI |
getUI()
Gets the UI the component is attached to.
|
getSource, isFromClient, unregisterListener
toString
public AbstractAttachDetachEvent(Component source)
source
- the component that was attached or detachedpublic UI getUI()
public VaadinSession getSession()
Copyright © 2022. All rights reserved.