|
||||||||||
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.ThreeDMultiTouchElement
apps.threedmanipulation.gestures.ObjectRightClick
public class ObjectRightClick
The Class ObjectRightClick.
Nested Class Summary | |
---|---|
static interface |
ObjectRightClick.CursorEventListener
The listener interface for receiving cursorEvent events. |
Field Summary |
---|
Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement |
---|
AXIS_Z, DIRECTION_UP |
Constructor Summary | |
---|---|
ObjectRightClick(com.jme.scene.Spatial pickingAndTargetSpatial)
Instantiates a new object right click. |
|
ObjectRightClick(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial)
Instantiates a new object right click. |
Method Summary | |
---|---|
void |
addMultiTouchListener(ObjectRightClick.CursorEventListener 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(ObjectRightClick.CursorEventListener l)
Removes the multi touch listener. |
void |
setRightClickDistance(float rightClickDistance)
Sets the right click distance. |
Methods inherited from class synergynetframework.jme.cursorsystem.ThreeDMultiTouchElement |
---|
getPickDataForCursorID, getPickResultFromCursorIndex, registerScreenCursor |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectRightClick(com.jme.scene.Spatial pickingAndTargetSpatial)
pickingAndTargetSpatial
- the picking and target spatialpublic ObjectRightClick(com.jme.scene.Spatial pickingSpatial, com.jme.scene.Spatial targetSpatial)
pickingSpatial
- the picking spatialtargetSpatial
- the target spatialMethod Detail |
---|
public void addMultiTouchListener(ObjectRightClick.CursorEventListener l)
l
- the lpublic void cursorChanged(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorChanged
in class MultiTouchElement
c
- the cevent
- the eventpublic void cursorClicked(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorClicked
in class MultiTouchElement
c
- the cevent
- the eventpublic void cursorPressed(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorPressed
in class MultiTouchElement
c
- the cevent
- the eventpublic void cursorReleased(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorReleased
in class MultiTouchElement
c
- the cevent
- the eventpublic void removeMultiTouchListener(ObjectRightClick.CursorEventListener 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 |