Open topic with navigation

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 Type | Field and Description
    --- | ---
    `java.lang.Integer` | `column` The column attribute of the test object position.
    `java.lang.Integer` | `row` 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 Type | Method and Description
    --- | ---
    `java.lang.Object` | `clone()` Returns a clone of this instance.
    `java.lang.Integer` | `getColumn()` Returns the column component of the test object position.
    `java.util.Map<java.lang.String,java.lang.Object>` | `getProperties()`
    `java.lang.Integer` | `getRow()` Returns the row component of the test object position.
    `PositionProperty` | `setColumn(java.lang.Integer column)` Sets the column component of the test object position.
    `PositionProperty` | `setRow(java.lang.Integer row)` Returns the row component of the test object position.
    `java.lang.String` | `toString()`

    - ### 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`