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 class
This class can be used to construct an instance of the ScreenDescription class using the builder pattern.protected static class
ScreenDescription.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.protected
ScreenDescription
(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.void
setCursorPosition
(Position position) Sets the position of the cursor in the emulator screen.void
setCursorPosition
(PositionProperty position) Sets the position of the cursor in the emulator screen.void
setCursorPosition
(Integer row, Integer column) Sets the position of the cursor in the emulator screen.void
Sets the value id of the screen.void
setInputFieldCount
(Integer handle) Sets the number of input fields on the emulator screen.void
setLabel
(StringProperty label) Sets the label of the Terminal Emulator screen.void
Sets the label of the Terminal Emulator screen.void
setProtectedFieldCount
(Integer protectedFieldCount) Sets the number of protected fields on the emulator screen.void
Sets the total number of rows and columns in the emulator screen.void
setSize
(SizeProperty size) Sets the total number of rows and columns in the emulator screen.void
Sets 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, setVRI
Methods inherited from class com.hp.lft.sdk.PropertiesDescription
clone
Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValue
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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.
-