|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectt3.hrd.state.Cursor
public class Cursor
A Cursor represents a cursor on the display surface. Create new Cursors by calling the appropriate method on the a StateManager object.
Threading notes: this class is not thread-safe. You must use some kind of locking scheme if you use it in a multithreaded environment.
Nested Class Summary | |
---|---|
static class |
Cursor.CursorShapePolygons
Experimental. |
static class |
Cursor.CursorTrailPoint
Data structure representing a point in time on the cursor's trail. |
Field Summary | |
---|---|
static int |
DISPLAYTYPE_INVISIBLE
|
static int |
DISPLAYTYPE_SHAPE
|
static int |
DISPLAYTYPE_TRAIL
|
static long |
TRAIL_PERIOD
|
Method Summary | |
---|---|
java.awt.Color |
getColor()
|
int |
getCursorId()
|
int |
getDisplayType()
|
Cursor.CursorTrailPoint |
getMostRecentPosition()
|
boolean |
isDestroyed()
|
void |
oglDrawCursor(javax.media.opengl.GL gl,
Projector p)
|
void |
opCursorPos(double DESKx,
double DESKy,
boolean visible)
Sets the cursor position and visibility. |
void |
opCursorShape(Cursor.CursorShapePolygons polygonsForShapeCursor)
|
void |
opSetCursorOptions(java.awt.Color col,
int displayType)
Sets the cursor colour and display type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final long TRAIL_PERIOD
public static final int DISPLAYTYPE_INVISIBLE
public static final int DISPLAYTYPE_TRAIL
public static final int DISPLAYTYPE_SHAPE
Method Detail |
---|
public int getCursorId()
public Cursor.CursorTrailPoint getMostRecentPosition()
public java.awt.Color getColor()
public int getDisplayType()
public boolean isDestroyed()
public void opCursorPos(double DESKx, double DESKy, boolean visible)
DESKx
- DESKy
- visible
- public void opCursorShape(Cursor.CursorShapePolygons polygonsForShapeCursor)
public void opSetCursorOptions(java.awt.Color col, int displayType)
col
- displayType
- public void oglDrawCursor(javax.media.opengl.GL gl, Projector p)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |