|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.ui.hud.utils.Cursor
public class Cursor
The Cursor class encapsulates a Texture and
zero-point-coordinates for a HUD-Cursor.
| Nested Class Summary | |
|---|---|
static class |
Cursor.Type
|
| Constructor Summary | |
|---|---|
Cursor(java.lang.String texture)
Creates a new Cursor. |
|
Cursor(java.lang.String texture,
float zeroX,
float zeroY)
Creates a new Cursor. |
|
Cursor(java.lang.String texture,
org.openmali.vecmath2.Tuple2f zeroPoint)
Creates a new Cursor. |
|
Cursor(Texture texture)
Creates a new Cursor. |
|
Cursor(Texture texture,
float zeroX,
float zeroY)
Creates a new Cursor. |
|
Cursor(Texture texture,
org.openmali.vecmath2.Tuple2f zeroPoint)
Creates a new Cursor. |
|
| Method Summary | |
|---|---|
Texture |
getTexture()
|
org.openmali.vecmath2.Tuple2f |
getZeroPoint()
|
float |
getZeroPointX()
|
float |
getZeroPointY()
|
void |
setTexture(java.lang.String texture)
Sets this Cursor's Texture. |
void |
setTexture(Texture texture)
Sets this Cursor's Texture. |
void |
setZeroPoint(float zeroPointX,
float zeroPointY)
Sets this Cursor's zero-point cursor-local HUD coordinates. |
void |
setZeroPoint(org.openmali.vecmath2.Tuple2f zeroPoint)
Sets this Cursor's zero-point cursor-local HUD coordinates. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Cursor(Texture texture,
float zeroX,
float zeroY)
texture - zeroX - zeroY -
public Cursor(Texture texture,
org.openmali.vecmath2.Tuple2f zeroPoint)
texture - zeroPoint - public Cursor(Texture texture)
texture -
public Cursor(java.lang.String texture,
float zeroX,
float zeroY)
texture - zeroX - zeroY -
public Cursor(java.lang.String texture,
org.openmali.vecmath2.Tuple2f zeroPoint)
texture - zeroPoint - public Cursor(java.lang.String texture)
texture - | Method Detail |
|---|
public final void setTexture(Texture texture)
texture - public final void setTexture(java.lang.String texture)
texture - public final Texture getTexture()
public final void setZeroPoint(float zeroPointX,
float zeroPointY)
zeroPointX - zeroPointY - public final void setZeroPoint(org.openmali.vecmath2.Tuple2f zeroPoint)
zeroPoint - public final org.openmali.vecmath2.Tuple2f getZeroPoint()
public final float getZeroPointX()
public final float getZeroPointY()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||