|
||||||||||
| 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()
Default no-arg constructor. |
|
CursorSet(CursorSet template)
Constructor. |
|
| Method Summary | |
|---|---|
CursorSet |
clone()
Returns a new CursorSet based on this CursorSet. |
Cursor |
get(Cursor.Type cursorType)
Returns the Cursor for the given cursor type. |
Cursor |
getCrosshair()
Return the Cursor for the CROSSHAIR cursor. |
Cursor |
getHelpCursor()
Return the Cursor for the HELP cursor. |
Cursor |
getPointer1()
Return the Cursor for the (default) POINTER1 cursor. |
Cursor |
getPointer2()
Return the Cursor for the POINTER2 cursor. |
Cursor |
getTextCursor()
Return the Cursor for the TEXT cursor. |
Cursor |
getWaitCursor()
Return the Cursor for the WAIT cursor. |
void |
set(Cursor.Type type,
Cursor cursor)
Sets the Cursor for the given cursor. |
void |
set(CursorSet template)
Sets the CursorSet based on the given template CursorSet. |
void |
setCrosshair(Cursor cursor)
Sets the Cursor for the CROSSHAIR cursor. |
void |
setHelpCursor(Cursor cursor)
Sets the Cursor for the HELP cursor. |
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)
CursorSet based on the given template CursorSet.
template - the template CursorSet to usepublic CursorSet()
| Method Detail |
|---|
public final void set(Cursor.Type type,
Cursor cursor)
Cursor for the given cursor.
type - the Cursor.Type to usecursor - the Cursor to usepublic final Cursor get(Cursor.Type cursorType)
Cursor for the given cursor type.
cursorType - the Cursor.Type
Cursorpublic final void setPointer1(Cursor cursor)
Cursor for the (default) POINTER1 cursor.
cursor - the Cursor to usepublic final Cursor getPointer1()
Cursor for the (default) POINTER1 cursor.
Cursor for the (default) POINTER1 cursorpublic final void setPointer2(Cursor cursor)
Cursor for the POINTER2 cursor.
cursor - the Cursor to usepublic final Cursor getPointer2()
Cursor for the POINTER2 cursor.
Cursor for the POINTER2 cursorpublic final void setCrosshair(Cursor cursor)
Cursor for the CROSSHAIR cursor.
cursor - the Cursor to usepublic final Cursor getCrosshair()
Cursor for the CROSSHAIR cursor.
Cursor for the CROSSHAIR cursorpublic final void setTextCursor(Cursor cursor)
Cursor for the TEXT cursor.
cursor - the Cursor to usepublic final Cursor getTextCursor()
Cursor for the TEXT cursor.
Cursor for the TEXT cursorpublic final void setWaitCursor(Cursor cursor)
Cursor for the WAIT cursor.
cursor - the Cursor to usepublic final Cursor getWaitCursor()
Cursor for the WAIT cursor.
Cursor for the WAIT cursorpublic final void setHelpCursor(Cursor cursor)
Cursor for the HELP cursor.
cursor - the Cursor to usepublic final Cursor getHelpCursor()
Cursor for the HELP cursor.
Cursor for the HELP cursorpublic void set(CursorSet template)
CursorSet based on the given template CursorSet.
template - the template CursorSet to usepublic final CursorSet clone()
CursorSet based on this CursorSet.
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||