Package com.hp.lft.sdk.te
Class PositionProperty
java.lang.Object
com.hp.lft.sdk.te.PositionProperty
- All Implemented Interfaces:
CloneableObject
,com.hp.lft.sdk.internal.GroupedProperty
,Cloneable
public class PositionProperty
extends Object
implements com.hp.lft.sdk.internal.GroupedProperty, CloneableObject
The position properties of a Terminal Emulator object.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the PositionProperty class.PositionProperty
(Position position) Initializes a new instance of the PositionProperty class with the provided Position.PositionProperty
(PositionProperty positionToCopy) Initializes a new instance of the PositionProperty class by copying the values of the provided PositionProperty.PositionProperty
(Integer row, Integer column) Initializes a new instance of the PositionProperty class with the specified row and column values. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a clone of this instance.Returns the column component of the test object position.getRow()
Returns the row component of the test object position.Sets the column component of the test object position.Returns the row component of the test object position.toString()
-
Field Details
-
row
The row attribute of the test object position. -
column
The column attribute of the test object position.
-
-
Constructor Details
-
PositionProperty
public PositionProperty()Initializes a new instance of the PositionProperty class. -
PositionProperty
Initializes a new instance of the PositionProperty class with the provided Position.- Parameters:
position
- thePosition
to use.
-
PositionProperty
Initializes a new instance of the PositionProperty class with the specified row and column values.- Parameters:
row
- the row to initialize the PositionProperty with.column
- the column to initialize the PositionProperty with.
-
PositionProperty
Initializes a new instance of the PositionProperty class by copying the values of the provided PositionProperty.- Parameters:
positionToCopy
- a PositionProperty 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
-
getColumn
Returns the column component of the test object position.- Returns:
- the column component of the test object position.
-
setColumn
Sets the column component of the test object position.- Parameters:
column
- the column component of the test object position.- Returns:
- the PositionProperty instance with the updated state (builder pattern).
-
getRow
Returns the row component of the test object position.- Returns:
- the row component of the test object position.
-
setRow
Returns the row component of the test object position.- Parameters:
row
- the row component of the test object position.- Returns:
- the PositionProperty instance with the updated state (builder pattern).
-
toString
-