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 Details

    • withResizable

      T withResizable(boolean resizable)
      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

      T withMinWidth(String minWidth)
      Sets a dialog min width.
      Parameters:
      minWidth - a dialog min width
      Returns:
      builder
    • getMinWidth

      String getMinWidth()
      Returns:
      dialog min width value
    • withMinHeight

      T withMinHeight(String minHeight)
      Sets a dialog min height.
      Parameters:
      minHeight - a dialog min height
      Returns:
      builder
    • getMinHeight

      String getMinHeight()
      Returns:
      dialog min height value
    • withMaxWidth

      T withMaxWidth(String maxWidth)
      Sets a dialog max width.
      Parameters:
      maxWidth - a dialog max width
      Returns:
      builder
    • getMaxWidth

      String getMaxWidth()
      Returns:
      dialog max width value
    • withMaxHeight

      T withMaxHeight(String maxHeight)
      Sets a dialog max height.
      Parameters:
      maxHeight - a dialog max height
      Returns:
      builder
    • getMaxHeight

      String getMaxHeight()
      Returns:
      dialog max height value