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

Direct Known Subclasses:
WindowDescription.Builder
Enclosing class:
WindowDescription

protected abstract static class WindowDescription.Init<T extends WindowDescription.Init<T>> extends ElementDescription.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 ElementDescription.Init<T extends WindowDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • text

      public T text(StringProperty text)
      Initializes the text associated with the window.
      Parameters:
      text - the text.
      Returns:
      the description instance with the update state (builder pattern).
    • text

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

      public T workingPaneSize(SizeProperty workingPaneSize)
      Initializes the window's working pane size in character metric. The working pane is the area between the toolbar and the status bar.
      Parameters:
      workingPaneSize - the working pane size.
      Returns:
      the description instance with the update state (builder pattern).
    • workingPaneSize

      public T workingPaneSize(Integer width, Integer height)
      Initializes the window's working pane size in character metric. The working pane is the area between the toolbar and the status bar.
      Parameters:
      width - in character metric.
      height - in character metric.
      Returns:
      the description instance with the update state (builder pattern).
    • workingPaneSize

      public T workingPaneSize(Dimension workingPaneSize)
      Initializes the window's working pane size in character metric. The working pane is the area between the toolbar and the status bar.
      Parameters:
      workingPaneSize - in character metric.
      Returns:
      the description instance with the update state (builder pattern).
    • minimized

      public T minimized(Boolean minimized)
      Initializes whether the window is minimized.
      Parameters:
      minimized - true if minimized.
      Returns:
      the description instance with the update state (builder pattern).
    • transaction

      public T transaction(StringProperty transaction)
      Initializes the transaction the user is currently executing.
      Parameters:
      transaction - the transaction name.
      Returns:
      the description instance with the update state (builder pattern).
    • transaction

      public T transaction(String transaction)
      Initializes the transaction the user is currently executing.
      Parameters:
      transaction - the transaction name.
      Returns:
      the description instance with the update state (builder pattern).
    • screenNumber

      public T screenNumber(Long screenNumber)
      Initializes the number of the currently displayed screen.
      Parameters:
      screenNumber - the screen number.
      Returns:
      the description instance with the update state (builder pattern).
    • program

      public T program(StringProperty program)
      Initializes the name of the SAP source program that is currently executing.
      Parameters:
      program - the program name.
      Returns:
      the description instance with the update state (builder pattern).
    • program

      public T program(String program)
      Initializes the name of the SAP source program that is currently executing.
      Parameters:
      program - the program name.
      Returns:
      the description instance with the update state (builder pattern).