Open topic with navigation

com.hp.lft.sdk.te

## Class SizeProperty

- java.lang.Object
- - com.hp.lft.sdk.te.SizeProperty

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

      public class SizeProperty
      extends java.lang.Object
      implements com.hp.lft.sdk.internal.GroupedProperty, CloneableObject

  The size properties of a Terminal Emulator object.

- - ### Field Summary

    Modifier and Type | Field and Description
    --- | ---
    `java.lang.Integer` | `columnCount` The total number of columns in the emulator screen.
    `java.lang.Integer` | `rowCount` The total number of rows (lines) in the emulator screen.

  - ### Constructor Summary

    Constructor and Description
    `SizeProperty()` Initializes a new instance of the SizeProperty class.
    `SizeProperty(java.lang.Integer rowCount, java.lang.Integer columnCount)` Initializes a new instance of the SizeProperty class with the specified rowCount and columnCount values.
    `SizeProperty(Size size)` Initializes a new instance of the SizeProperty class with the provided Size.
    `SizeProperty(SizeProperty sizeToCopy)` Initializes a new instance of the SizeProperty class by copying the values of the provided SizeProperty.

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `clone()` Returns a clone of this instance.
    `java.lang.Integer` | `getColumnCount()` Returns the columnCount component of the test object size.
    `java.util.Map<java.lang.String,java.lang.Object>` | `getProperties()`
    `java.lang.Integer` | `getRowCount()` Returns the rowCount component of the test object size.
    `SizeProperty` | `setColumnCount(java.lang.Integer columnCount)` Sets the columnCount component of the test object size.
    `SizeProperty` | `setRowCount(java.lang.Integer rowCount)` Returns the rowCount component of the test object size.
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### columnCount

          public java.lang.Integer columnCount

      The total number of columns in the emulator screen.

    - #### rowCount

          public java.lang.Integer rowCount

      The total number of rows (lines) in the emulator screen.

  - ### Constructor Detail

    - #### SizeProperty

          public SizeProperty()

      Initializes a new instance of the SizeProperty class.

    - #### SizeProperty

          public SizeProperty(Size size)

      Initializes a new instance of the SizeProperty class with the provided Size.
      Parameters:
        `size` - the `Size` to use.

    - #### SizeProperty

          public SizeProperty(java.lang.Integer rowCount,
                              java.lang.Integer columnCount)

      Initializes a new instance of the SizeProperty class with the specified rowCount and columnCount values.
      Parameters:
        `rowCount` - the rowCount to initialize the SizeProperty with.
        `columnCount` - the columnCount to initialize the SizeProperty with.

    - #### SizeProperty

          public SizeProperty(SizeProperty sizeToCopy)

      Initializes a new instance of the SizeProperty class by copying the values of the provided SizeProperty.
      Parameters:
        `sizeToCopy` - a SizeProperty 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`

    - #### getColumnCount

          public java.lang.Integer getColumnCount()

      Returns the columnCount component of the test object size.
      Returns:
        the columnCount component of the test object size.

    - #### setColumnCount

          public SizeProperty setColumnCount(java.lang.Integer columnCount)

      Sets the columnCount component of the test object size.
      Parameters:
        `columnCount` - the columnCount component of the test object size.
      Returns:
        the SizeProperty instance with the updated state (builder pattern).

    - #### getRowCount

          public java.lang.Integer getRowCount()

      Returns the rowCount component of the test object size.
      Returns:
        the rowCount component of the test object size.

    - #### setRowCount

          public SizeProperty setRowCount(java.lang.Integer rowCount)

      Returns the rowCount component of the test object size.
      Parameters:
        `rowCount` - the rowCount component of the test object size.
      Returns:
        the SizeProperty instance with the updated state (builder pattern).

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`