Class FieldDescription.Init<T extends FieldDescription.Init<T>>

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

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T startPosition(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 updated state (builder pattern).
    • startPosition

      public T startPosition(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 updated state (builder pattern).
    • startPosition

      public T startPosition(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 updated state (builder pattern).
    • text

      public T text(String text)
      Initializes the content of TeField.
      Parameters:
      text - the content of TeField.
      Returns:
      the description instance with the updated state (builder pattern).
    • text

      public T text(StringProperty text)
      Initializes the content of TeField.
      Parameters:
      text - the content of TeField.
      Returns:
      the description instance with the updated state (builder pattern).
    • attachedText

      public T attachedText(String attachedText)
      Initializes the attached text attribute for TeField.
      Parameters:
      attachedText - the attached text attribute for TeField.
      Returns:
      the description instance with the updated state (builder pattern).
    • attachedText

      public T attachedText(StringProperty attachedText)
      Initializes the attached text attribute for TeField.
      Parameters:
      attachedText - the attached text attribute for TeField.
      Returns:
      the description instance with the updated state (builder pattern).
    • length

      public T length(Integer length)
      Initializes a field length in characters.
      Parameters:
      length - the field length in characters.
      Returns:
      the description instance with the updated state (builder pattern).
    • id

      public T id(Integer id)
      Initializes the id value of the field.
      Parameters:
      id - the id value of the field.
      Returns:
      the description instance with the updated state (builder pattern).
    • visible

      public T visible(Boolean visible)
      Initializes the Visible attribute for TeField.
      Parameters:
      visible - true if visible.
      Returns:
      the description instance with the updated state (builder pattern).
    • numeric

      public T numeric(Boolean numeric)
      Initializes the numeric (only) attribute for TeField.
      Parameters:
      numeric - true if numeric.
      Returns:
      the description instance with the updated state (builder pattern).
    • isProtected

      public T isProtected(Boolean isProtected)
      Initializes the 'protected' attribute for TeField.
      Parameters:
      isProtected - true if protected.
      Returns:
      the description instance with the updated state (builder pattern).