Package org.jumpmind.vaadin.ui.common
Class ResizableDialog
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.dialog.Dialog
org.jumpmind.vaadin.ui.common.ResizableDialog
- 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
- Direct Known Subclasses:
DbExportDialog,DbFillDialog,DbImportDialog,NotifyDialog,ReadOnlyTextAreaDialog,SettingsDialog,SqlEntryDialog,SqlHistoryDialog
public class ResizableDialog
extends com.vaadin.flow.component.dialog.Dialog
- See Also:
-
Nested Class Summary
Nested ClassesNested 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 -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.component.ShortcutRegistrationprotected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected final org.slf4j.Logger -
Constructor Summary
ConstructorsConstructorDescriptionResizableDialog(String caption) ResizableDialog(String caption, boolean addEscapeShortcut) ResizableDialog(String caption, boolean addEscapeShortcut, boolean addCloseIcon) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadd(com.vaadin.flow.component.Component component) protected voidadd(com.vaadin.flow.component.Component component, int expandRatio) protected voidaddComponents(com.vaadin.flow.component.Component... components) voidprotected voidbuildButtonFooter(com.vaadin.flow.component.Component... toTheRightButtons) protected voidbuildButtonFooter(com.vaadin.flow.component.Component[] toTheLeftButtons, com.vaadin.flow.component.Component... toTheRightButtons) protected voidbuildButtonFooter(List<com.vaadin.flow.component.Component> toTheLeftButtons, com.vaadin.flow.component.Component... toTheRightButtons) protected com.vaadin.flow.component.button.Buttonprotected com.vaadin.flow.component.icon.Iconprotected voidenableEscapeShortcut(boolean enable) protected booleanonClose()voidshow()voidshowAtSize(double percentOfBrowserSize) 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, getStyle, getWidth, isCloseOnEsc, isCloseOnOutsideClick, isDraggable, isModal, isOpened, isResizable, onAttach, open, setAriaLabel, setClassName, setCloseOnEsc, setCloseOnOutsideClick, setDraggable, setHeaderTitle, setHeight, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setModal, setOpened, setResizable, setVisible, setWidthMethods 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, setIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, remove, remove, removeAllMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasSize
getHeightUnit, getWidthUnit, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, hasClassName, removeClassName, removeClassNames, setClassNameMethods inherited from interface com.vaadin.flow.component.HasTheme
addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant
addThemeVariants, removeThemeVariants
-
Field Details
-
log
protected final org.slf4j.Logger log -
innerContent
protected com.vaadin.flow.component.orderedlayout.VerticalLayout innerContent -
escapeShortcutRegistration
protected com.vaadin.flow.component.ShortcutRegistration escapeShortcutRegistration
-
-
Constructor Details
-
ResizableDialog
public ResizableDialog() -
ResizableDialog
-
ResizableDialog
-
ResizableDialog
-
-
Method Details
-
add
protected void add(com.vaadin.flow.component.Component component, int expandRatio) -
add
protected void add(com.vaadin.flow.component.Component component) -
addComponents
protected void addComponents(com.vaadin.flow.component.Component... components) -
buildCloseIcon
protected com.vaadin.flow.component.icon.Icon buildCloseIcon() -
buildCloseButton
protected com.vaadin.flow.component.button.Button buildCloseButton() -
onClose
protected boolean onClose() -
show
public void show() -
showAtSize
public void showAtSize(double percentOfBrowserSize) -
bringToFront
public void bringToFront() -
enableEscapeShortcut
protected void enableEscapeShortcut(boolean enable)
-