|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.ui.hud.utils.CursorSet
public class CursorSet
A CursorSet holds references to Cursors for all different
Cursor.Types. They can be null, which means, that the
default system cursor is used.
| Constructor Summary | |
|---|---|
CursorSet()
|
|
CursorSet(CursorSet template)
|
|
| Method Summary | |
|---|---|
CursorSet |
clone()
|
void |
convertMeasurementToHUD(HUD hud)
|
Cursor |
get(Cursor.Type cursorType)
|
Cursor |
getCrosshair()
|
Cursor |
getHelpCursor()
|
HUDUnitsMeasurement |
getMeasurement()
|
Cursor |
getPointer1()
|
Cursor |
getPointer2()
|
Cursor |
getTextCursor()
|
Cursor |
getWaitCursor()
|
void |
set(Cursor.Type type,
Cursor cursor)
Sets the Cursor for the given cursor. |
void |
set(CursorSet template)
|
void |
setCrosshair(Cursor cursor)
Sets the Cursor for thTexturee CROSSHAIR cursor. |
void |
setHelpCursor(Cursor cursor)
Sets the Cursor for the HELP cursor. |
void |
setMeasurement(HUDUnitsMeasurement measurement)
|
void |
setPointer1(Cursor cursor)
Sets the Cursor for the (default) POINTER1 cursor. |
void |
setPointer2(Cursor cursor)
Sets the Cursor for the POINTER2 cursor. |
void |
setTextCursor(Cursor cursor)
Sets the Cursor for the TEXT cursor. |
void |
setWaitCursor(Cursor cursor)
Sets the Cursor for the WAIT cursor. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CursorSet(CursorSet template)
public CursorSet()
| Method Detail |
|---|
public final void setMeasurement(HUDUnitsMeasurement measurement)
public HUDUnitsMeasurement getMeasurement()
public final void convertMeasurementToHUD(HUD hud)
public final void set(Cursor.Type type,
Cursor cursor)
Cursor for the given cursor.
type - cursor - public final Cursor get(Cursor.Type cursorType)
cursorType -
Cursor for the given cursor.public final void setPointer1(Cursor cursor)
Cursor for the (default) POINTER1 cursor.
cursor - public final Cursor getPointer1()
Cursor for the (default) POINTER1 cursor.public final void setPointer2(Cursor cursor)
Cursor for the POINTER2 cursor.
cursor - public final Cursor getPointer2()
Cursor for the POINTER2 cursor.public final void setCrosshair(Cursor cursor)
Cursor for thTexturee CROSSHAIR cursor.
cursor - public final Cursor getCrosshair()
Cursor for the CROSSHAIR cursor.public final void setTextCursor(Cursor cursor)
Cursor for the TEXT cursor.
cursor - public final Cursor getTextCursor()
public final void setWaitCursor(Cursor cursor)
Cursor for the WAIT cursor.
cursor - public final Cursor getWaitCursor()
Cursor for the WAIT cursor.public final void setHelpCursor(Cursor cursor)
Cursor for the HELP cursor.
cursor - public final Cursor getHelpCursor()
Cursor for the HELP cursor.public void set(CursorSet template)
public final CursorSet clone()
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||