Package io.jmix.flowui
Interface Dialogs.Resizable<T>
- Type Parameters:
T
- return type of fluent API methods
- All Known Subinterfaces:
Dialogs.MessageDialogBuilder
,Dialogs.OptionDialogBuilder
- All Known Implementing Classes:
DialogsImpl.MessageDialogBuilderImpl
,DialogsImpl.OptionDialogBuilderImpl
- Enclosing interface:
- Dialogs
public static interface Dialogs.Resizable<T>
Represents Dialog Builders that can be resized.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
withMaxHeight
(String maxHeight) Sets a dialog max height.withMaxWidth
(String maxWidth) Sets a dialog max width.withMinHeight
(String minHeight) Sets a dialog min height.withMinWidth
(String minWidth) Sets a dialog min width.withResizable
(boolean resizable) Sets whether dialog can be resized by user or not.
-
Method Details
-
withResizable
Sets whether dialog can be resized by user or not.By default, the dialog is not resizable.
- Parameters:
resizable
-true
to enabled resizing of the dialog,false
otherwise.- Returns:
- builder
-
isResizable
boolean isResizable()- Returns:
true
if resizing is enabled,false
otherwise
-
withMinWidth
Sets a dialog min width.- Parameters:
minWidth
- a dialog min width- Returns:
- builder
-
getMinWidth
String getMinWidth()- Returns:
- dialog min width value
-
withMinHeight
Sets a dialog min height.- Parameters:
minHeight
- a dialog min height- Returns:
- builder
-
getMinHeight
String getMinHeight()- Returns:
- dialog min height value
-
withMaxWidth
Sets a dialog max width.- Parameters:
maxWidth
- a dialog max width- Returns:
- builder
-
getMaxWidth
String getMaxWidth()- Returns:
- dialog max width value
-
withMaxHeight
Sets a dialog max height.- Parameters:
maxHeight
- a dialog max height- Returns:
- builder
-
getMaxHeight
String getMaxHeight()- Returns:
- dialog max height value
-