Package 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
,Cloneable
public class SizeProperty
extends Object
implements com.hp.lft.sdk.internal.GroupedProperty, CloneableObject
The size properties of a Terminal Emulator object.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe total number of columns in the emulator screen.The total number of rows (lines) in the emulator screen. -
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the SizeProperty class.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.SizeProperty
(Integer rowCount, Integer columnCount) Initializes a new instance of the SizeProperty class with the specified rowCount and columnCount values. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a clone of this instance.Returns the columnCount component of the test object size.Returns the rowCount component of the test object size.setColumnCount
(Integer columnCount) Sets the columnCount component of the test object size.setRowCount
(Integer rowCount) Returns the rowCount component of the test object size.toString()
-
Field Details
-
columnCount
The total number of columns in the emulator screen. -
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
Initializes a new instance of the SizeProperty class with the provided Size.- Parameters:
size
- theSize
to use.
-
SizeProperty
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
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
Description copied from interface:CloneableObject
Returns a clone of this instance.- Specified by:
clone
in interfaceCloneableObject
- Overrides:
clone
in classObject
- Returns:
- a clone of this instance.
- Throws:
CloneNotSupportedException
- if the instance cannot be cloned.
-
getProperties
- Specified by:
getProperties
in interfacecom.hp.lft.sdk.internal.GroupedProperty
-
getColumnCount
Returns the columnCount component of the test object size.- Returns:
- the columnCount component of the test object size.
-
setColumnCount
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
Returns the rowCount component of the test object size.- Returns:
- the rowCount component of the test object size.
-
setRowCount
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
-