Class VDialog

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.dialog.Dialog
org.vaadin.firitin.components.dialog.VDialog
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasTheme, com.vaadin.flow.component.shared.HasThemeVariant<com.vaadin.flow.component.dialog.DialogVariant>, Serializable, FluentAttachNotifier<VDialog>, FluentComponent<VDialog>, FluentDetachNotifier<VDialog>, FluentHasComponents<VDialog>, FluentHasSize<VDialog>
Direct Known Subclasses:
ConfirmationDialog

public class VDialog extends com.vaadin.flow.component.dialog.Dialog implements FluentComponent<VDialog>, FluentHasSize<VDialog>, FluentHasComponents<VDialog>
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.flow.component.dialog.Dialog

    com.vaadin.flow.component.dialog.Dialog.DialogCloseActionEvent, com.vaadin.flow.component.dialog.Dialog.DialogFooter, com.vaadin.flow.component.dialog.Dialog.DialogHeader, com.vaadin.flow.component.dialog.Dialog.DialogResizeEvent, com.vaadin.flow.component.dialog.Dialog.OpenedChangeEvent
  • Constructor Summary

    Constructors
    Constructor
    Description
    VDialog(com.vaadin.flow.component.Component... components)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    withCloseOnEsc(boolean closeOnEsc)
     
    withCloseOnOutsideClick(boolean closeOnOutsideClick)
     
    withComponentAtIndex(int index, com.vaadin.flow.component.Component component)
     
    withDialogCloseActionListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.dialog.Dialog.DialogCloseActionEvent> listener)
     
    withDraggable(boolean draggable)
     
    withModal(boolean modal)
     
    withOpened(boolean opened)
     
    withOpenedChangeListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.dialog.Dialog.OpenedChangeEvent> listener)
     
    withResizable(boolean resizable)
     

    Methods inherited from class com.vaadin.flow.component.dialog.Dialog

    add, addAttachListener, addComponentAtIndex, addDetachListener, addDialogCloseActionListener, addOpenedChangeListener, addResizeListener, close, getAriaLabel, getClassNames, getFooter, getHeader, getHeaderTitle, getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOverlayRole, getStyle, getWidth, isCloseOnEsc, isCloseOnOutsideClick, isDraggable, isModal, isOpened, isResizable, onAttach, open, setAriaLabel, setClassName, setCloseOnEsc, setCloseOnOutsideClick, setDraggable, setHeaderTitle, setHeight, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setModal, setOpened, setOverlayRole, setResizable, setVisible, setWidth

    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, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

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

    addDetachListener

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentAttachNotifier

    withAttachListener

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent

    setId, setVisible, withId, withVisible

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier

    withDetachListener

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasComponents

    navigate, withComponentAsFirst, withComponents

    Methods inherited from interface com.vaadin.flow.component.HasComponents

    add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasEnabled

    isEnabled, setEnabled

    Methods inherited from interface com.vaadin.flow.component.HasSize

    getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, hasClassName, removeClassName, removeClassNames, setClassName

    Methods inherited from interface com.vaadin.flow.component.HasTheme

    addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName

    Methods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant

    addThemeVariants, removeThemeVariants
  • Constructor Details

    • VDialog

      public VDialog(com.vaadin.flow.component.Component... components)
  • Method Details

    • withCloseOnOutsideClick

      public VDialog withCloseOnOutsideClick(boolean closeOnOutsideClick)
    • withOpened

      public VDialog withOpened(boolean opened)
    • withOpenedChangeListener

      public VDialog withOpenedChangeListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.dialog.Dialog.OpenedChangeEvent> listener)
    • withDialogCloseActionListener

      public VDialog withDialogCloseActionListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.dialog.Dialog.DialogCloseActionEvent> listener)
    • withComponentAtIndex

      public VDialog withComponentAtIndex(int index, com.vaadin.flow.component.Component component)
      Specified by:
      withComponentAtIndex in interface FluentHasComponents<VDialog>
    • withCloseOnEsc

      public VDialog withCloseOnEsc(boolean closeOnEsc)
    • withModal

      public VDialog withModal(boolean modal)
    • withDraggable

      public VDialog withDraggable(boolean draggable)
    • withResizable

      public VDialog withResizable(boolean resizable)