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

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

protected abstract static class WindowDescription.Init<T extends WindowDescription.Init<T>> extends UiObjectWithLayoutInfoDescription.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).
    • active

      public T active(Boolean isActive)
      Initializes whether this window is the foreground object
      Parameters:
      isActive - sets whether this window is the foreground object
      Returns:
      the description instance with the update state (builder pattern).
    • border

      public T border(Boolean hasBorder)
      Initializes whether this window has a thin-line border.
      Parameters:
      hasBorder - sets whether this window has a thin-line border.
      Returns:
      the description instance with the update state (builder pattern).
    • caption

      public T caption(Boolean hasCaption)
      Initializes whether this window has a title bar.
      Parameters:
      hasCaption - sets whether this window has a title bar.
      Returns:
      the description instance with the update state (builder pattern).
    • sizebox

      public T sizebox(Boolean hasSizebox)
      Initializes whether this window has a sizing border.
      Parameters:
      hasSizebox - whether this window has a sizing border.
      Returns:
      the description instance with the update state (builder pattern).
    • systemMenu

      public T systemMenu(Boolean hasSystemMenu)
      Initializes whether this window has a window menu on its title bar.
      Parameters:
      hasSystemMenu - sets whether this window has a window menu on its title bar.
      Returns:
      the description instance with the update state (builder pattern).
    • childWindow

      public T childWindow(Boolean isChildWindow)
      Initializes whether this window is a child window.
      Parameters:
      isChildWindow - sets whether this window is a child window..
      Returns:
      the description instance with the update state (builder pattern).
    • ownedWindow

      public T ownedWindow(Boolean isOwnedWindow)
      Initializes whether this window has an owner window.
      Parameters:
      isOwnedWindow - sets whether this window has an owner window.
      Returns:
      the description instance with the update state (builder pattern).
    • mdiChildWindow

      public T mdiChildWindow(Boolean isMdiChildWindow)
      Initializes whether this window is a multiple-document interface (MDI) child window.
      Parameters:
      isMdiChildWindow - whether this window is a multiple-document interface (MDI) child window.
      Returns:
      the description instance with the update state (builder pattern).
    • popupWindow

      public T popupWindow(Boolean isPopupWindow)
      Initializes whether this window is a pop-up window.
      Parameters:
      isPopupWindow - sets whether this window is a pop-up window.
      Returns:
      the description instance with the update state (builder pattern).
    • toolWindow

      public T toolWindow(Boolean isToolWindow)
      Initializes whether this window is a tool window (a window intended to be used as a floating toolbar).
      Parameters:
      isToolWindow - sets whether this window is a tool window (a window intended to be used as a floating toolbar).
      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).
    • topmost

      public T topmost(Boolean isTopmost)
      Initializes whether this object is placed above all non-topmost windows and remains in place, even when the object is deactivated.
      Parameters:
      isTopmost - sets whether this window is placed above all non-topmost windows and remains in place, even when the object is deactivated.
      Returns:
      the description instance with the update state (builder pattern).