Package com.hp.lft.sdk.te
Class ScreenDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.te.ScreenDescription
- All Implemented Interfaces:
CloneableObject,Description,com.hp.lft.sdk.internal.DescriptionWithVri,Cloneable
A terminal emulator screen that fully supports HLLAPI.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the ScreenDescription class using the builder pattern.protected static classScreenDescription.Init<T extends ScreenDescription.Init<T>>Helper class for ScreenDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs a new ScreenDescription.protectedScreenDescription(ScreenDescription.Init<?> init) Initializes a new instance of the ScreenDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the position of the cursor in the emulator screen.getId()Returns the value id of the screen.Returns the number of input fields on the emulator screen.getLabel()Returns the label of the Terminal Emulator screen.Returns the number of protected fields on the emulator screen.getSize()Returns the total number of rows and columns in the emulator screen.voidsetCursorPosition(Position position) Sets the position of the cursor in the emulator screen.voidsetCursorPosition(PositionProperty position) Sets the position of the cursor in the emulator screen.voidsetCursorPosition(Integer row, Integer column) Sets the position of the cursor in the emulator screen.voidSets the value id of the screen.voidsetInputFieldCount(Integer handle) Sets the number of input fields on the emulator screen.voidsetLabel(StringProperty label) Sets the label of the Terminal Emulator screen.voidSets the label of the Terminal Emulator screen.voidsetProtectedFieldCount(Integer protectedFieldCount) Sets the number of protected fields on the emulator screen.voidSets the total number of rows and columns in the emulator screen.voidsetSize(SizeProperty size) Sets the total number of rows and columns in the emulator screen.voidSets the total number of rows and columns in the emulator screen.Methods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescription
cloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
ScreenDescription
public ScreenDescription()Constructs a new ScreenDescription. -
ScreenDescription
Initializes a new instance of the ScreenDescription class using the Builder pattern.- Parameters:
init- the Builder pattern.
-
-
Method Details
-
setSize
Sets the total number of rows and columns in the emulator screen.- Parameters:
size- the size
-
setSize
Sets the total number of rows and columns in the emulator screen.- Parameters:
size- the size
-
setSize
Sets the total number of rows and columns in the emulator screen.- Parameters:
row- in pixelscolumn- in pixels
-
getSize
Returns the total number of rows and columns in the emulator screen.- Returns:
- the size
-
setCursorPosition
Sets the position of the cursor in the emulator screen.- Parameters:
position- the position
-
setCursorPosition
Sets the position of the cursor in the emulator screen.- Parameters:
position- the position
-
setCursorPosition
Sets the position of the cursor in the emulator screen.- Parameters:
row- in pixelscolumn- in pixels
-
getCursorPosition
Returns the position of the cursor in the emulator screen.- Returns:
- the position
-
setLabel
Sets the label of the Terminal Emulator screen.- Parameters:
label- a StringProperty(or RegExpProperty) representing the short name of the Terminal Emulator screen.
-
setLabel
Sets the label of the Terminal Emulator screen.- Parameters:
label- the label of the Terminal Emulator screen.
-
getLabel
Returns the label of the Terminal Emulator screen.- Returns:
- the label of the Terminal Emulator screen.
-
setInputFieldCount
Sets the number of input fields on the emulator screen.- Parameters:
handle- the number of input fields on the emulator screen.
-
getInputFieldCount
Returns the number of input fields on the emulator screen.- Returns:
- the number of input fields on the emulator screen.
-
setId
Sets the value id of the screen.- Parameters:
id- the value id of the screen.
-
getId
Returns the value id of the screen.- Returns:
- the value id of the screen.
-
setProtectedFieldCount
Sets the number of protected fields on the emulator screen.- Parameters:
protectedFieldCount- the number of protected fields on the emulator screen.
-
getProtectedFieldCount
Returns the number of protected fields on the emulator screen.- Returns:
- the number of protected fields on the emulator screen.
-