com.hp.lft.sdk.te

Class FieldDescription

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


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

      • Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

        properties
    • Constructor Detail

      • 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 Detail

      • 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(java.lang.Integer row,
                                     java.lang.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(java.lang.Integer id)
        Sets the id value of the field.
        Parameters:
        id - the id value of the field
      • getId

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

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

        public java.lang.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(java.lang.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(java.lang.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(java.lang.Boolean visible)
        Sets the Visible attribute for TeField.
        Parameters:
        visible - true if visible.
      • isVisible

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

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

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

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

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