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

com.attachmate.cicsbridge.j2ee.outputs
Class ScreenSize

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

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

Return object that holds return code and current screen size.

See Also:
BridgeAPI_EJB.getScreenSize(String), BridgeAPI_EJB.getScreenSize(int), Serialized Form

Constructor Summary
ScreenSize(int returnCode, int rows, int columns)
          Creates a ScreenSize object and sets member variables.
 
Method Summary
 int getColumns()
          Returns the number of columns for the current screen.
 int getReturnCode()
          Returns zero for success.
 int getRows()
          Returns the number of rows for the current screen.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenSize

public ScreenSize(int returnCode,
                  int rows,
                  int columns)
Creates a ScreenSize object and sets member variables.

Parameters:
returnCode - - zero for success. For possible failure values, see the getReturnCodeMessage method.
rows - - The returned number of rows for the current screen.
columns - - The returned number of columns for the current screen.
Method Detail

getReturnCode

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

Returns:
int value

getRows

public int getRows()
Returns the number of rows for the current screen.

Returns:
int value

getColumns

public int getColumns()
Returns the number of columns for the current screen.

Returns:
int value

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