Package io.jmix.ui
Interface Dialogs.HasSize<T>
- Type Parameters:
T
- return type of fluent API methods
- All Known Subinterfaces:
Dialogs.DialogBuilder<T>
,Dialogs.InputDialogBuilder
,Dialogs.MessageDialogBuilder
,Dialogs.OptionDialogBuilder
- All Known Implementing Classes:
DialogsImpl.InputDialogBuilderImpl
,DialogsImpl.MessageDialogBuilderImpl
,DialogsImpl.OptionDialogBuilderImpl
- Enclosing interface:
- Dialogs
public static interface Dialogs.HasSize<T>
Marker interface for Dialog Builders that have size setting.
-
Method Summary
Modifier and TypeMethodDescriptionfloat
float
getWidth()
withHeight
(String height) Sets dialog height.Sets dialog width.
-
Method Details
-
withWidth
Sets dialog width.- Parameters:
width
- width- Returns:
- builder
-
getWidth
float getWidth()- Returns:
- dialog width value
-
getWidthSizeUnit
SizeUnit getWidthSizeUnit()- Returns:
- dialog width unit
-
withHeight
Sets dialog height.- Parameters:
height
- height- Returns:
- builder
-
getHeight
float getHeight()- Returns:
- dialog height value
-
getHeightSizeUnit
SizeUnit getHeightSizeUnit()- Returns:
- dialog height unit
-