Package com.hp.lft.sdk.te
Class Size
java.lang.Object
com.hp.lft.sdk.te.Size
Represents the rows and columns of the Terminal Emulator Screen.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintReturns the total number of columns in the emulator screen.intReturns the total number of rows (lines) in the emulator screen.
- 
Constructor SummaryConstructorsConstructorDescriptionSize(int rowCount, int columnCount) Constructs aSizeand initializes it to the specified columnCount and specified rowCount.
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the total number of columns in the emulator screen.intReturns the total number of rows (lines) in the emulator screen.voidsetSize(int rowCount, int columnCount) Sets the size of thisSizeobject to the specified rowCount and columnCount.toString()Returns a string representation of the values of thisSizeobject'scolumnCountandrowCountfields.
- 
Field Details- 
columnCountpublic int columnCountReturns the total number of columns in the emulator screen.
- 
rowCountpublic int rowCountReturns the total number of rows (lines) in the emulator screen.
 
- 
- 
Constructor Details- 
Sizepublic Size(int rowCount, int columnCount) Constructs aSizeand initializes it to the specified columnCount and specified rowCount.- Parameters:
- rowCount- The value of the rows in the emulator screen.
- columnCount- The values of the columns in the emulator screen.
 
 
- 
- 
Method Details- 
getColumnCountpublic int getColumnCount()Returns the total number of columns in the emulator screen.- Returns:
- the total number of columns in the emulator screen.
 
- 
getRowCountpublic int getRowCount()Returns the total number of rows (lines) in the emulator screen.- Returns:
- the total number of rows (lines) in the emulator screen.
 
- 
setSizepublic void setSize(int rowCount, int columnCount) Sets the size of thisSizeobject to the specified rowCount and columnCount. Note that ifrowCountorcolumnCountare larger thanInteger.MAX_VALUE, they will be reset toInteger.MAX_VALUE.- Parameters:
- columnCount- the new rowCount for the- Sizeobject
- rowCount- the new columnCount for the- Sizeobject
 
- 
toStringReturns a string representation of the values of thisSizeobject'scolumnCountandrowCountfields. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not benull.
 
-