|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.jme.cursorsystem.MultiTouchElement
synergynetframework.jme.cursorsystem.TwoDMultiTouchElement
synergynetframework.jme.cursorsystem.elements.twod.OrthoCursorEventDispatcher
public class OrthoCursorEventDispatcher
The Class OrthoCursorEventDispatcher.
| Nested Class Summary | |
|---|---|
static interface |
OrthoCursorEventDispatcher.CommonCursorEventListener
The listener interface for receiving commonCursorEvent events. |
| Field Summary |
|---|
| Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement |
|---|
AXIS_Z, DIRECTION_UP |
| Constructor Summary | |
|---|---|
OrthoCursorEventDispatcher(com.jme.scene.Spatial pickingAndTargetSpatial)
Instantiates a new ortho cursor event dispatcher. |
|
OrthoCursorEventDispatcher(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial)
Instantiates a new ortho cursor event dispatcher. |
|
| Method Summary | |
|---|---|
void |
addMultiTouchListener(OrthoCursorEventDispatcher.CommonCursorEventListener l)
Adds the multi touch listener. |
void |
cursorChanged(ScreenCursor c,
MultiTouchCursorEvent event)
Cursor changed. |
void |
cursorClicked(ScreenCursor c,
MultiTouchCursorEvent event)
Cursor clicked. |
void |
cursorPressed(ScreenCursor c,
MultiTouchCursorEvent event)
Cursor pressed. |
void |
cursorReleased(ScreenCursor c,
MultiTouchCursorEvent event)
Cursor released. |
void |
removeMultiTouchListener(OrthoCursorEventDispatcher.CommonCursorEventListener l)
Removes the multi touch listener. |
void |
setRightClickDistance(float rightClickDistance)
Sets the right click distance. |
| Methods inherited from class synergynetframework.jme.cursorsystem.TwoDMultiTouchElement |
|---|
getCursorScreenPositionAtPick, getPickDataForCursorID, getPickResultFromCursorIndex, getSpatial2DWorldPositionAtPick, registerScreenCursor |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrthoCursorEventDispatcher(com.jme.scene.Spatial pickingAndTargetSpatial)
pickingAndTargetSpatial - the picking and target spatial
public OrthoCursorEventDispatcher(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial)
pickingSpatial - the picking spatialtargetSpatial - the target spatial| Method Detail |
|---|
public void addMultiTouchListener(OrthoCursorEventDispatcher.CommonCursorEventListener l)
l - the l
public void cursorChanged(ScreenCursor c,
MultiTouchCursorEvent event)
MultiTouchElement
cursorChanged in class MultiTouchElementc - the cevent - the event
public void cursorClicked(ScreenCursor c,
MultiTouchCursorEvent event)
MultiTouchElement
cursorClicked in class MultiTouchElementc - the cevent - the event
public void cursorPressed(ScreenCursor c,
MultiTouchCursorEvent event)
MultiTouchElement
cursorPressed in class MultiTouchElementc - the cevent - the event
public void cursorReleased(ScreenCursor c,
MultiTouchCursorEvent event)
MultiTouchElement
cursorReleased in class MultiTouchElementc - the cevent - the eventpublic void removeMultiTouchListener(OrthoCursorEventDispatcher.CommonCursorEventListener l)
l - the lpublic void setRightClickDistance(float rightClickDistance)
rightClickDistance - the new right click distance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||