Package io.jmix.flowui
Interface Dialogs.Resizable<T>
- Type Parameters:
T- return type of fluent API methods
- All Known Subinterfaces:
Dialogs.BackgroundTaskDialogBuilder<T,,V> Dialogs.MessageDialogBuilder,Dialogs.OptionDialogBuilder
- All Known Implementing Classes:
DialogsImpl.BackgroundTaskDialogBuilderImpl,DialogsImpl.MessageDialogBuilderImpl,DialogsImpl.OptionDialogBuilderImpl
- Enclosing interface:
- Dialogs
public static interface Dialogs.Resizable<T>
Represents Dialog Builders that can be resized.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanwithMaxHeight(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-trueto enabled resizing of the dialog,falseotherwise.- Returns:
- builder
-
isResizable
boolean isResizable()- Returns:
trueif resizing is enabled,falseotherwise
-
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
-