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 Details

    • withWidth

      T withWidth(String width)
      Sets dialog width.
      Parameters:
      width - width
      Returns:
      builder
    • getWidth

      float getWidth()
      Returns:
      dialog width value
    • getWidthSizeUnit

      SizeUnit getWidthSizeUnit()
      Returns:
      dialog width unit
    • withHeight

      T withHeight(String height)
      Sets dialog height.
      Parameters:
      height - height
      Returns:
      builder
    • getHeight

      float getHeight()
      Returns:
      dialog height value
    • getHeightSizeUnit

      SizeUnit getHeightSizeUnit()
      Returns:
      dialog height unit