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 SummaryModifier 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- 
withResizableSets 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
 
- 
isResizableboolean isResizable()- Returns:
- trueif resizing is enabled,- falseotherwise
 
- 
withMinWidthSets a dialog min width.- Parameters:
- minWidth- a dialog min width
- Returns:
- builder
 
- 
getMinWidthString getMinWidth()- Returns:
- dialog min width value
 
- 
withMinHeightSets a dialog min height.- Parameters:
- minHeight- a dialog min height
- Returns:
- builder
 
- 
getMinHeightString getMinHeight()- Returns:
- dialog min height value
 
- 
withMaxWidthSets a dialog max width.- Parameters:
- maxWidth- a dialog max width
- Returns:
- builder
 
- 
getMaxWidthString getMaxWidth()- Returns:
- dialog max width value
 
- 
withMaxHeightSets a dialog max height.- Parameters:
- maxHeight- a dialog max height
- Returns:
- builder
 
- 
getMaxHeightString getMaxHeight()- Returns:
- dialog max height value
 
 
-