Class ScreenDescription.Init<T extends ScreenDescription.Init<T>>

java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.te.ScreenDescription.Init<T>
Direct Known Subclasses:
ScreenDescription.Builder
Enclosing class:
ScreenDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T size(Size size)
      Initializes the size of the Terminal Emulator screen.
      Parameters:
      size - the size of the Terminal Emulator screen.
      Returns:
      the description instance with the update state (builder pattern).
    • size

      public T size(Integer rowCount, Integer columnCount)
      Initializes the size of the Terminal Emulator screen.
      Parameters:
      rowCount - the rowCount of the Terminal Emulator screen.
      columnCount - the columnCount of the Terminal Emulator screen.
      Returns:
      the description instance with the update state (builder pattern)
    • size

      public T size(SizeProperty size)
      Initializes the size of the Terminal Emulator screen.
      Parameters:
      size - a SizeProperty representing the size of the Terminal Emulator screen.
      Returns:
      the description instance with the update state (builder pattern).
    • cursorPosition

      public T cursorPosition(Position position)
      Initializes the position of the Terminal Emulator screen.
      Parameters:
      position - the position of the Terminal Emulator screen.
      Returns:
      the description instance with the update state (builder pattern).
    • cursorPosition

      public T cursorPosition(Integer row, Integer column)
      Initializes the position of the Terminal Emulator screen.
      Parameters:
      row - the row of the Terminal Emulator screen.
      column - the column of the Terminal Emulator screen.
      Returns:
      the description instance with the update state (builder pattern)
    • cursorPosition

      public T cursorPosition(PositionProperty position)
      Initializes the position of the Terminal Emulator screen.
      Parameters:
      position - a PositionProperty representing the position of the Terminal Emulator screen.
      Returns:
      the description instance with the update state (builder pattern).
    • label

      public T label(String label)
      Initializes the label attribute for TeScreen.
      Parameters:
      label - the label attribute for TeScreen.
      Returns:
      the description instance with the update state (builder pattern).
    • label

      public T label(StringProperty label)
      Initializes the label attribute for TeScreen.
      Parameters:
      label - a StringProperty(or RegExpProperty) representing the label attribute for TeScreen.
      Returns:
      the description instance with the update state (builder pattern).
    • inputFieldCount

      public T inputFieldCount(Integer inputFieldCount)
      Initializes the number of input fields on the emulator screen.
      Parameters:
      inputFieldCount - the number of input fields on the emulator screen.
      Returns:
      the description instance with the update state (builder pattern).
    • id

      public T id(Integer id)
      Initializes a value id of the screen.
      Parameters:
      id - the value id of the screen.
      Returns:
      the description instance with the update state (builder pattern).
    • protectedFieldCount

      public T protectedFieldCount(Integer protectedFieldCount)
      Initializes the number of protected fields on the emulator screen.
      Parameters:
      protectedFieldCount - the number of protected fields on the emulator screen.
      Returns:
      the description instance with the update state (builder pattern).