public class Screen.Cursor
extends java.lang.Object
| Constructor and Description |
|---|
Cursor(int row,
int column)
Creates
Cursor object giving its position. |
Cursor(Screen.Cursor cursor)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
column()
Current column number.
|
Cell |
getCell()
Gives access to underlying
Cell object. |
void |
moveDown(int num)
Moves cursor down for giving row quantity.
|
void |
moveEnd()
Moves cursor to end position.
|
void |
moveHome()
Moves cursor to home position.
|
void |
moveLeft(int num)
Moves cursor left for giving column quantity.
|
void |
moveRight(int num)
Moves cursor right for giving column quantity.
|
void |
moveTo(int row,
int column)
Sets cursor position in the cells.
|
void |
moveUp(int num)
Moves cursor up for giving row quantity.
|
int |
row()
Current row number.
|
void |
scrollDown()
Moves cursor up for one row.
|
void |
scrollUp()
Moves cursor down for one row.
|
public Cursor(int row,
int column)
Cursor object giving its position.row - row number.column - column number.public Cursor(Screen.Cursor cursor)
cursor - Cursor object to be copied.public int row()
public int column()
public Cell getCell()
Cell object.Cell object.public void moveTo(int row,
int column)
row - row number.column - column numberpublic void moveDown(int num)
num - row quantity.public void moveUp(int num)
num - row quantity.public void moveLeft(int num)
num - column quantity.public void moveRight(int num)
num - column quantity.public void moveHome()
public void moveEnd()
public void scrollDown()
public void scrollUp()
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved