Package io.jmix.flowui.view
Annotation Interface DialogMode
Specifies parameters of
DialogWindow.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanSpecifies whether the dialog should close when the "Escape" key is pressed.booleanSpecifies whether the dialog should close when a click is detected outside of it.booleanSpecifies whether the dialog window can be dragged by the user.Specifies the height of the dialog window.Returns the left position of the overlay.Specifies the maximum height of the dialog window.Specifies the maximum width of the dialog window.Specifies the minimum height of the dialog window.Specifies the minimum width of the dialog window.booleanSpecifies whether the dialog window should be modal.booleanSpecifies whether the dialog window can be resized by the user.Returns the top position of the overlay.Specifies the width of the dialog window.
-
Element Details
-
width
String widthSpecifies the width of the dialog window. The value can be defined as a valid CSS width (e.g., "400px", "50%", "auto"). If not specified, it defaults to an empty string which implies no specific width is set.- Returns:
- the specified width of the dialog window
- Default:
- ""
-
maxWidth
String maxWidthSpecifies the maximum width of the dialog window. The value can be defined as a valid CSS width (e.g., "600px", "70%", "none"). If not specified, it defaults to an empty string, which implies no specific maximum width is set.- Returns:
- the maximum width of the dialog window
- Default:
- ""
-
minWidth
String minWidthSpecifies the minimum width of the dialog window. The value can be defined as a valid CSS width (e.g., "300px", "40%", "auto"). If not specified, it defaults to an empty string, which implies no specific minimum width is set.- Returns:
- the minimum width of the dialog window
- Default:
- ""
-
height
String heightSpecifies the height of the dialog window. The value can be defined as a valid CSS height (e.g., "200px", "50%", "auto"). If not specified, it defaults to an empty string, which implies no specific height is set.- Returns:
- the specified height of the dialog window
- Default:
- ""
-
maxHeight
String maxHeightSpecifies the maximum height of the dialog window. The value can be defined as a valid CSS height (e.g., "400px", "60%", "none"). If not specified, it defaults to an empty string, which implies no specific maximum height is set.- Returns:
- the maximum height of the dialog window
- Default:
- ""
-
minHeight
String minHeightSpecifies the minimum height of the dialog window. The value can be defined as a valid CSS height (e.g., "100px", "30%", "auto"). If not specified, it defaults to an empty string, which implies no specific minimum height is set.- Returns:
- the minimum height of the dialog window
- Default:
- ""
-
left
String leftReturns the left position of the overlay.- Returns:
- the left position of the overlay
- Default:
- ""
-
top
String topReturns the top position of the overlay.- Returns:
- the top position of the overlay
- Default:
- ""
-
modal
boolean modalSpecifies whether the dialog window should be modal. When set totrue, the dialog will disable interaction with elements outside of the dialog while it is open.- Returns:
trueif the dialog is modal, otherwisefalse
- Default:
- true
-
draggable
boolean draggableSpecifies whether the dialog window can be dragged by the user.- Returns:
trueif the dialog is draggable, otherwisefalse
- Default:
- true
-
resizable
boolean resizableSpecifies whether the dialog window can be resized by the user.- Returns:
trueif the dialog is resizable, otherwisefalse
- Default:
- false
-
closeOnOutsideClick
boolean closeOnOutsideClickSpecifies whether the dialog should close when a click is detected outside of it.- Returns:
trueif the dialog should close on outside click, otherwisefalse
- Default:
- false
-
closeOnEsc
boolean closeOnEscSpecifies whether the dialog should close when the "Escape" key is pressed.- Returns:
trueif the dialog should close on pressing the "Escape" key, otherwisefalse
- Default:
- false
-