Class WindowDescription.Init<T extends WindowDescription.Init<T>>

Direct Known Subclasses:
DialogDescription.Init, InternalFrameDescription.Init, WindowDescription.Builder
Enclosing class:
WindowDescription

protected abstract static class WindowDescription.Init<T extends WindowDescription.Init<T>> extends UiObjectBaseDescription.Init<T>
Helper class for WindowDescription.Builder.
  • Constructor Details

    • Init

      protected Init()
  • Method Details

    • build

      public WindowDescription build()
      Description copied from class: DescriptionBase.Init
      Returns the built description instance (builder pattern).
      Overrides:
      build in class DescriptionBase.Init<T extends WindowDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • javaWindow

      public T javaWindow(Boolean isJavaWindow)
      Initializes whether the object is a Java window.
      Parameters:
      isJavaWindow - sets whether the object is a Java window.
      Returns:
      the description instance with the update state (builder pattern).
    • maximizable

      public T maximizable(Boolean isMaximizable)
      Initializes whether this window can be maximized.
      Parameters:
      isMaximizable - sets whether this window can be maximized.
      Returns:
      the description instance with the update state (builder pattern).
    • minimizable

      public T minimizable(Boolean isMinimizable)
      Initializes whether this window can be minimized.
      Parameters:
      isMinimizable - sets whether this window can be minimized.
      Returns:
      the description instance with the update state (builder pattern).
    • resizable

      public T resizable(Boolean isResizable)
      Initializes whether this window can be resized.
      Parameters:
      isResizable - true if can be resized.
      Returns:
      the description instance with the update state (builder pattern).
    • title

      public T title(StringProperty title)
      Initializes the window title.
      Parameters:
      title - a StringProperty or RegExpProperty.
      Returns:
      the description instance with the update state (builder pattern).
    • title

      public T title(String title)
      Initializes the window title.
      Parameters:
      title - the window title.
      Returns:
      the description instance with the update state (builder pattern).