Class PositionProperty

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

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

    • row

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

      public Integer column
      The column attribute of the test object position.
  • Constructor Details

    • 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(Integer row, 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 Details

    • clone

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

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

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

      public PositionProperty setColumn(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 Integer getRow()
      Returns the row component of the test object position.
      Returns:
      the row component of the test object position.
    • setRow

      public PositionProperty setRow(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 String toString()
      Overrides:
      toString in class Object