|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--TObject | +--TVCpn | +--TCursor
Type Cursor:
Class TCursor
manages a graphical cursor.
Field Summary | |
java.lang.String |
cursorType
The cursor's graphic. |
int |
speedX
The horizontal speed. |
int |
speedY
The vertical speed. |
Fields inherited from class TVCpn |
height, visible, width, x, y |
Constructor Summary | |
TCursor()
Instanciates a new Type Cursor. |
Method Summary | |
void |
activate()
Activates the cursor, moved by arrows and enterupted by enter key. |
java.lang.String |
getCursor()
Returns the cursor's graphic. |
int |
getSpeedX()
Returns the horizontal speed of the cursor. |
int |
getSpeedY()
Returns the vertical speed of the cursor. |
void |
setCursor(java.lang.String cursor)
Sets the cursor's graphic. |
void |
setSpeedX(int speed)
Sets the horizontal speed of the cursor. |
void |
setSpeedY(int speed)
Sets the vertical speed of the cursor. |
Methods inherited from class TVCpn |
getHeight, getVisible, getWidth, getX, getY, move, setDim, setHeight, setVisible, setWidth, setX, setY |
Methods inherited from class TObject |
clone, Destroy, equals, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int speedX
public int speedY
public java.lang.String cursorType
Constructor Detail |
public TCursor()
Method Detail |
public void setSpeedX(int speed)
speed
- The horizontal speed.public void setSpeedY(int speed)
speed
- The vertical speed.public void setCursor(java.lang.String cursor)
cursor
- The cursor's graphic. (options: crDefault(Arrow), crPlus, crCross, crHourGlass, crPoint)public int getSpeedX()
public int getSpeedY()
public java.lang.String getCursor()
public void activate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |