Class GeneratedVaadinDialog<R extends GeneratedVaadinDialog<R>>

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, Serializable
    Direct Known Subclasses:
    Dialog

    @Deprecated
    @Tag("vaadin-dialog")
    @NpmPackage(value="@vaadin/polymer-legacy-adapter",version="23.3.8") @NpmPackage(value="@vaadin/dialog",version="23.3.8") @NpmPackage(value="@vaadin/vaadin-dialog",version="23.3.8")
    @JsModule("@vaadin/polymer-legacy-adapter/style-modules.js") @JsModule("@vaadin/dialog/src/vaadin-dialog.js") @JsModule("@vaadin/polymer-legacy-adapter/template-renderer.js")
    public abstract class GeneratedVaadinDialog<R extends GeneratedVaadinDialog<R>>
    extends com.vaadin.flow.component.Component
    Deprecated.
    since v23.3, generated classes will be removed in v24.

    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>

    Styling

    See <vaadin-overlay> documentation for <vaadin-dialog-overlay> parts.

    See ThemableMixin – how to apply styles for shadow parts

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected com.vaadin.flow.shared.Registration addOpenedChangeListener​(com.vaadin.flow.component.ComponentEventListener<Dialog.OpenedChangeEvent<Dialog>> listener)
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      protected String getAriaLabelString()
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      protected boolean isOpenedBoolean()
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      protected void setAriaLabel​(String ariaLabel)
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      protected void setOpened​(boolean opened)
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
    • Constructor Detail

      • GeneratedVaadinDialog

        public GeneratedVaadinDialog()
        Deprecated.
    • Method Detail

      • isOpenedBoolean

        @Deprecated
        @Synchronize(property="opened",
                     value="opened-changed")
        protected boolean isOpenedBoolean()
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        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.

        Returns:
        the opened property from the webcomponent
      • setOpened

        @Deprecated
        protected void setOpened​(boolean opened)
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        Description copied from corresponding location in WebComponent:

        True if the overlay is currently displayed.

        Parameters:
        opened - the boolean value to set
      • getAriaLabelString

        @Deprecated
        protected String getAriaLabelString()
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        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.

        Returns:
        the ariaLabel property from the webcomponent
      • setAriaLabel

        @Deprecated
        protected void setAriaLabel​(String ariaLabel)
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        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.

        Parameters:
        ariaLabel - the String value to set
      • addOpenedChangeListener

        @Deprecated
        protected com.vaadin.flow.shared.Registration addOpenedChangeListener​(com.vaadin.flow.component.ComponentEventListener<Dialog.OpenedChangeEvent<Dialog>> listener)
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Adds a listener for opened-changed events fired by the webcomponent.
        Parameters:
        listener - the listener
        Returns:
        a Registration for removing the event listener