|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.jme.cursorsystem.cursordata.ScreenCursor
public class ScreenCursor
Coordinate sytem for this class is jme screen coordinates.
Constructor Summary | |
---|---|
ScreenCursor(long id)
Instantiates a new screen cursor. |
Method Summary | |
---|---|
void |
addPositionItem(ScreenCursorRecord item)
Adds the position item. |
boolean |
equals(java.lang.Object obj)
|
ScreenCursorRecord |
getCurrentCursorScreenPosition()
Get current position in jME Screen Coordinates. |
int |
getCurrentPositionIndex()
Gets the current position index. |
long |
getCursorCreatedTime()
Gets the cursor created time. |
long |
getCursorLiveTime()
Gets the cursor live time. |
ScreenCursorRecord |
getCursorOrigin()
Gets the cursor origin. |
long |
getID()
Gets the id. |
int |
getNumPoints()
Gets the num points. |
ScreenCursorRecord |
getOldCursorScreenPosition()
Gets the old cursor screen position. |
PickResultData |
getPickResult()
Gets the pick result. |
java.util.ArrayList<ScreenCursorRecord> |
getPoints()
Gets the points. |
ScreenCursorRecord |
getPositionAtIndex(int i)
Get position at specified index in jME Screen Coordinates. |
int |
hashCode()
|
boolean |
isProbablyTheSameAs(ScreenCursor c)
Checks if is probably the same as. |
void |
setOldCursorScreenPosition(ScreenCursorRecord c)
Sets the old cursor screen position. |
void |
setPickResult(PickResultData pr)
Sets the pick result. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScreenCursor(long id)
id
- the idMethod Detail |
---|
public void addPositionItem(ScreenCursorRecord item)
item
- the itempublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public ScreenCursorRecord getCurrentCursorScreenPosition()
public int getCurrentPositionIndex()
public long getCursorCreatedTime()
public long getCursorLiveTime()
public ScreenCursorRecord getCursorOrigin()
public long getID()
public int getNumPoints()
public ScreenCursorRecord getOldCursorScreenPosition()
public PickResultData getPickResult()
public java.util.ArrayList<ScreenCursorRecord> getPoints()
public ScreenCursorRecord getPositionAtIndex(int i)
i
- the i
public int hashCode()
hashCode
in class java.lang.Object
public boolean isProbablyTheSameAs(ScreenCursor c)
c
- the c
public void setOldCursorScreenPosition(ScreenCursorRecord c)
c
- the new old cursor screen positionpublic void setPickResult(PickResultData pr)
pr
- the new pick resultpublic 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 |