Services Builder for CICS(R) 3270 Bridge v2.0.0.0

com.attachmate.cicsbridge.j2ee.outputs
Class CursorPosition

java.lang.Object
  extended bycom.attachmate.cicsbridge.j2ee.outputs.CursorPosition
All Implemented Interfaces:
java.io.Serializable

public final class CursorPosition
extends java.lang.Object
implements java.io.Serializable

Return object that holds return code and cursor position on the current host screen.

See Also:
BridgeAPI_EJB.getCursorPosition(), Serialized Form

Constructor Summary
CursorPosition(int returnCode, int row, int column)
          Creates a CursorPosition object and sets member variables.
 
Method Summary
 int getColumn()
          Returns the cursor column position.
 int getReturnCode()
          Returns zero for success.
 int getRow()
          Returns the cursor row position.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CursorPosition

public CursorPosition(int returnCode,
                      int row,
                      int column)
Creates a CursorPosition object and sets member variables.

Parameters:
returnCode - - zero for success. For possible failure values, see the getReturnCodeMessage method.
row - - The cursor row position.
column - - The cursor column position.
Method Detail

getReturnCode

public int getReturnCode()
Returns zero for success. For possible failure values, see the getReturnCodeMessage method.

Returns:
int value

getRow

public int getRow()
Returns the cursor row position.

Returns:
An int value.

getColumn

public int getColumn()
Returns the cursor column position.

Returns:
An int value.

Services Builder for CICS(R) 3270 Bridge v2.0.0.0