Class SizeProperty

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

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

    • columnCount

      public Integer columnCount
      The total number of columns in the emulator screen.
    • rowCount

      public Integer rowCount
      The total number of rows (lines) in the emulator screen.
  • Constructor Details

    • 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(Integer rowCount, 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 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
    • getColumnCount

      public Integer getColumnCount()
      Returns the columnCount component of the test object size.
      Returns:
      the columnCount component of the test object size.
    • setColumnCount

      public SizeProperty setColumnCount(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 Integer getRowCount()
      Returns the rowCount component of the test object size.
      Returns:
      the rowCount component of the test object size.
    • setRowCount

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