@Generated(value={"Generator: com.vaadin.generator.ComponentGenerator#1.0-SNAPSHOT","WebComponent: Vaadin.DialogElement#null","Flow#1.0-SNAPSHOT"}) @Tag(value="vaadin-dialog") @HtmlImport(value="frontend://bower_components/vaadin-dialog/src/vaadin-dialog.html") public abstract class GeneratedVaadinDialog<R extends GeneratedVaadinDialog<R>> extends Component
Description copied from corresponding location in WebComponent:
<vaadin-dialog>
is a Polymer 2 element for customized modal dialogs.
<vaadin-dialog opened> <template> Sample dialog </template> </vaadin-dialog>
See <vaadin-overlay>
documentation for
<vaadin-dialog-overlay>
parts.
Modifier and Type | Class and Description |
---|---|
static class |
GeneratedVaadinDialog.OpenedChangeEvent<R extends GeneratedVaadinDialog<R>> |
Constructor and Description |
---|
GeneratedVaadinDialog() |
Modifier and Type | Method and Description |
---|---|
protected Registration |
addOpenedChangeListener(ComponentEventListener<GeneratedVaadinDialog.OpenedChangeEvent<R>> listener)
Adds a listener for
opened-changed events fired by the
webcomponent. |
protected boolean |
isOpenedBoolean()
Description copied from corresponding location in WebComponent:
|
protected void |
setOpened(boolean opened)
Description copied from corresponding location in WebComponent:
|
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttachListener
addDetachListener
@Synchronize(property="opened", value="opened-changed") protected boolean isOpenedBoolean()
Description copied from corresponding location in WebComponent:
True if the overlay is currently displayed.
This property is synchronized automatically from client side when a 'opened-changed' event happens.
opened
property from the webcomponentprotected void setOpened(boolean opened)
Description copied from corresponding location in WebComponent:
True if the overlay is currently displayed.
opened
- the boolean value to setprotected Registration addOpenedChangeListener(ComponentEventListener<GeneratedVaadinDialog.OpenedChangeEvent<R>> listener)
opened-changed
events fired by the
webcomponent.listener
- the listenerRegistration
for removing the event listenerCopyright © 2023. All rights reserved.