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 SummaryFieldsModifier and TypeFieldDescriptionThe total number of columns in the emulator screen.The total number of rows (lines) in the emulator screen.
- 
Constructor SummaryConstructorsConstructorDescriptionInitializes 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 SummaryModifier 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- 
columnCountThe total number of columns in the emulator screen.
- 
rowCountThe total number of rows (lines) in the emulator screen.
 
- 
- 
Constructor Details- 
SizePropertypublic SizeProperty()Initializes a new instance of the SizeProperty class.
- 
SizePropertyInitializes a new instance of the SizeProperty class with the provided Size.- Parameters:
- size- the- Sizeto use.
 
- 
SizePropertyInitializes 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.
 
- 
SizePropertyInitializes 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- 
cloneDescription copied from interface:CloneableObjectReturns a clone of this instance.- Specified by:
- clonein interface- CloneableObject
- Overrides:
- clonein class- Object
- Returns:
- a clone of this instance.
- Throws:
- CloneNotSupportedException- if the instance cannot be cloned.
 
- 
getProperties- Specified by:
- getPropertiesin interface- com.hp.lft.sdk.internal.GroupedProperty
 
- 
getColumnCountReturns the columnCount component of the test object size.- Returns:
- the columnCount component of the test object size.
 
- 
setColumnCountSets 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).
 
- 
getRowCountReturns the rowCount component of the test object size.- Returns:
- the rowCount component of the test object size.
 
- 
setRowCountReturns 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
 
-