|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.cics.server.Cursor
public class Cursor
This class provides a set of methods and variables that correspond to the CURSOR of a CICS terminal.
Constructor Summary | |
---|---|
Cursor(int width,
int height)
Construct a cursor for a screen of the supplied width and height and an initial position of (1,1). |
|
Cursor(int width,
int height,
int column,
int row)
Construct a cursor for a screen of the supplied width and height and a supplied initial position. |
Method Summary | |
---|---|
void |
decrement()
Decrement the cursor position. |
int |
getColumn()
Get the current cursor column position. |
int |
getRow()
Get the current cursor row position. |
void |
increment()
Increment the cursor position. |
void |
increment(int extra)
Increment the cursor position by the supplied amount. |
void |
incrementRow()
Increment the row of the cursor (by 1). |
void |
setColumn(int newColumn)
Set the column of the cursor to the supplied value. |
void |
setRow(int newRow)
Set the row of the cursor to the supplied value. |
int |
toBinary()
Convert the Cursor to a binary value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cursor(int width, int height)
width
- The width of the display.height
- The height of the display.public Cursor(int width, int height, int column, int row)
width
- The width of the display.height
- The height of the display.column
- The column where the cursor is.row
- The row where the cursor is.Method Detail |
---|
public void decrement()
public void increment()
public void increment(int extra)
extra
- the amount by which to move the cursor.public void incrementRow()
public void setColumn(int newColumn)
newColumn
- The new column of the cursor.public void setRow(int newRow)
newRow
- The new row of the cursor.public int getColumn()
public int getRow()
public int toBinary()
Cursor
to a binary value.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |