Class FieldDescription

java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

public class FieldDescription extends DescriptionBase
The description of a terminal emulator field that fully supports HLLAPI.
  • Constructor Details

    • FieldDescription

      public FieldDescription()
      Constructs a new FieldDescription.
    • FieldDescription

      protected FieldDescription(FieldDescription.Init<?> init)
      Initializes a new instance of the FieldDescription class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
  • Method Details

    • setStartPosition

      public void setStartPosition(PositionProperty position)
      Sets the 'start row' and 'start column' attributes for TeField.
      Parameters:
      position - the 'start row' and 'start column' attributes for TeField.
    • setStartPosition

      public void setStartPosition(Position position)
      Sets the'start row' and 'start column' attributes for TeField.
      Parameters:
      position - the 'start row' and 'start column' attributes for TeField.
    • setStartPosition

      public void setStartPosition(Integer row, Integer column)
      Sets the 'start row' and 'start column' attributes for TeField.
      Parameters:
      row - in pixels.
      column - in pixels.
    • getStartPosition

      public PositionProperty getStartPosition()
      Returns the 'start row' and 'start column' attributes for TeField.
      Returns:
      the 'start row' and 'start column' attributes for TeField.
    • setId

      public void setId(Integer id)
      Sets the id value of the field.
      Parameters:
      id - the id value of the field
    • getId

      public Integer getId()
      Returns the id value of the field.
      Returns:
      the id value of the field.
    • setLength

      public void setLength(Integer length)
      Sets the field length in characters.
      Parameters:
      length - the field length in characters.
    • getLength

      public Integer getLength()
      Returns the field length in characters.
      Returns:
      the field length in characters.
    • setAttachedText

      public void setAttachedText(StringProperty attachedText)
      Sets the attached text attribute for TeField.
      Parameters:
      attachedText - a StringProperty(or RegExpProperty) representing the attached text attribute for TeField.
    • setAttachedText

      public void setAttachedText(String attachedText)
      Sets the attached text attribute for TeField.
      Parameters:
      attachedText - the attached text attribute for TeField.
    • getAttachedText

      public StringProperty getAttachedText()
      Sets the attached text attribute for TeField.
      Returns:
      the attached text attribute for TeField.
    • setText

      public void setText(StringProperty text)
      Sets the content of TeField.
      Parameters:
      text - a StringProperty(or RegExpProperty) representing the content of TeField.
    • setText

      public void setText(String text)
      Sets the content of TeField.
      Parameters:
      text - the content of TeField.
    • getText

      public StringProperty getText()
      Sets the content of TeField.
      Returns:
      the content of TeField.
    • setVisible

      public void setVisible(Boolean visible)
      Sets the Visible attribute for TeField.
      Parameters:
      visible - true if visible.
    • isVisible

      public Boolean isVisible()
      Indicates whether the TeField is visible.
      Returns:
      true if visible.
    • setNumeric

      public void setNumeric(Boolean numeric)
      Sets the numeric attribute for TeField.
      Parameters:
      numeric - true if numeric.
    • isNumeric

      public Boolean isNumeric()
      Indicates whether the TeField is numeric.
      Returns:
      true if numeric.
    • setProtected

      public void setProtected(Boolean isProtected)
      Sets the protected attribute for TeField.
      Parameters:
      isProtected - true if protected.
    • isProtected

      public Boolean isProtected()
      Indicates whether the TeField is protected.
      Returns:
      true if protected.