@Generated(value={"Generator: com.vaadin.generator.ComponentGenerator#1.1-SNAPSHOT","WebComponent: Vaadin.DialogElement#null","Flow#1.1-SNAPSHOT"}) @Tag(value="vaadin-dialog") @NpmPackage(value="@vaadin/vaadin-dialog", version="2.5.0") @JsModule(value="@vaadin/vaadin-dialog/src/vaadin-dialog.js") public abstract class GeneratedVaadinDialog<R extends GeneratedVaadinDialog<R>> extends Component
Description copied from corresponding location in WebComponent:
<vaadin-dialog>
is a Web Component 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 String |
getAriaLabelString()
Description copied from corresponding location in WebComponent:
|
protected boolean |
isOpenedBoolean()
Description copied from corresponding location in WebComponent:
|
protected void |
setAriaLabel(String ariaLabel)
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 String getAriaLabelString()
Description copied from corresponding location in WebComponent:
Set the aria-label
attribute for assistive technologies like
screen readers. An undefined
value for this property (the
default) means that the aria-label
attribute is not present at
all.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
ariaLabel
property from the webcomponentprotected void setAriaLabel(String ariaLabel)
Description copied from corresponding location in WebComponent:
Set the aria-label
attribute for assistive technologies like
screen readers. An undefined
value for this property (the
default) means that the aria-label
attribute is not present at
all.
ariaLabel
- the String 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 © 2020. All rights reserved.