|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.opengl.gui.Cursor
public class Cursor
Contains a cursor.
| Field Summary | |
|---|---|
protected Cursor |
_awtCursor
|
protected int |
_hx
|
protected int |
_hy
|
protected BufferedImage |
_image
|
protected Cursor |
_lwjglCursor
|
| Constructor Summary | |
|---|---|
Cursor(BufferedImage image,
int hx,
int hy)
Creates a new cursor. |
|
| Method Summary | |
|---|---|
protected Cursor |
createAWTCursor(Toolkit toolkit)
Creates an AWT cursor from the configured image and hotspot. |
protected Cursor |
createLWJGLCursor()
Creates an LWJGL cursor from the configured image and hotspot. |
Cursor |
getAWTCursor(Toolkit toolkit)
Retrieves the lazily-initialized AWT cursor using the supplied toolkit. |
Cursor |
getLWJGLCursor()
Retrieve the lazily-initialized LWJGL cursor. |
void |
show()
Display the LWJGL cursor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected BufferedImage _image
protected int _hx
protected int _hy
protected Cursor _lwjglCursor
protected Cursor _awtCursor
| Constructor Detail |
|---|
public Cursor(BufferedImage image,
int hx,
int hy)
| Method Detail |
|---|
public Cursor getLWJGLCursor()
public Cursor getAWTCursor(Toolkit toolkit)
public void show()
protected Cursor createLWJGLCursor()
protected Cursor createAWTCursor(Toolkit toolkit)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||