com.hp.lft.sdk.te

Class PositionProperty

  • java.lang.Object
    • com.hp.lft.sdk.te.PositionProperty
  • All Implemented Interfaces:
    CloneableObject, com.hp.lft.sdk.internal.GroupedProperty, java.lang.Cloneable


    public class PositionProperty
    extends java.lang.Object
    implements com.hp.lft.sdk.internal.GroupedProperty, CloneableObject
    The position properties of a Terminal Emulator object.
    • Field Summary

      Modifier and TypeField and Description
      java.lang.Integercolumn
      The column attribute of the test object position.
      java.lang.Integerrow
      The row attribute of the test object position.
    • Constructor Summary

      Constructor and Description
      PositionProperty()
      Initializes a new instance of the PositionProperty class.
      PositionProperty(java.lang.Integer row, java.lang.Integer column)
      Initializes a new instance of the PositionProperty class with the specified row and column values.
      PositionProperty(Position position)
      Initializes a new instance of the PositionProperty class with the provided Position.
      PositionProperty(PositionProperty positionToCopy)
      Initializes a new instance of the PositionProperty class by copying the values of the provided PositionProperty.
    • Method Summary

      Modifier and TypeMethod and Description
      java.lang.Objectclone()
      Returns a clone of this instance.
      java.lang.IntegergetColumn()
      Returns the column component of the test object position.
      java.util.Map<java.lang.String,java.lang.Object>getProperties() 
      java.lang.IntegergetRow()
      Returns the row component of the test object position.
      PositionPropertysetColumn(java.lang.Integer column)
      Sets the column component of the test object position.
      PositionPropertysetRow(java.lang.Integer row)
      Returns the row component of the test object position.
      java.lang.StringtoString() 
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • row

        public java.lang.Integer row
        The row attribute of the test object position.
      • column

        public java.lang.Integer column
        The column attribute of the test object position.
    • Constructor Detail

      • PositionProperty

        public PositionProperty()
        Initializes a new instance of the PositionProperty class.
      • PositionProperty

        public PositionProperty(Position position)
        Initializes a new instance of the PositionProperty class with the provided Position.
        Parameters:
        position - the Position to use.
      • PositionProperty

        public PositionProperty(java.lang.Integer row,
                                java.lang.Integer column)
        Initializes a new instance of the PositionProperty class with the specified row and column values.
        Parameters:
        row - the row to initialize the PositionProperty with.
        column - the column to initialize the PositionProperty with.
      • PositionProperty

        public PositionProperty(PositionProperty positionToCopy)
        Initializes a new instance of the PositionProperty class by copying the values of the provided PositionProperty.
        Parameters:
        positionToCopy - a PositionProperty whose values will be copied to the new instance.
    • Method Detail

      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Description copied from interface: CloneableObject
        Returns a clone of this instance.
        Specified by:
        clone in interface CloneableObject
        Overrides:
        clone in class java.lang.Object
        Returns:
        a clone of this instance.
        Throws:
        java.lang.CloneNotSupportedException - if the instance cannot be cloned.
      • getProperties

        public java.util.Map<java.lang.String,java.lang.Object> getProperties()
        Specified by:
        getProperties in interface com.hp.lft.sdk.internal.GroupedProperty
      • getColumn

        public java.lang.Integer getColumn()
        Returns the column component of the test object position.
        Returns:
        the column component of the test object position.
      • setColumn

        public PositionProperty setColumn(java.lang.Integer column)
        Sets the column component of the test object position.
        Parameters:
        column - the column component of the test object position.
        Returns:
        the PositionProperty instance with the updated state (builder pattern).
      • getRow

        public java.lang.Integer getRow()
        Returns the row component of the test object position.
        Returns:
        the row component of the test object position.
      • setRow

        public PositionProperty setRow(java.lang.Integer row)
        Returns the row component of the test object position.
        Parameters:
        row - the row component of the test object position.
        Returns:
        the PositionProperty instance with the updated state (builder pattern).
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object