|
||||||||||
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
synergynetframework.jme.cursorsystem.elements.threed.MultiTouchScale
public class MultiTouchScale
The Class MultiTouchScale.
Nested Class Summary | |
---|---|
static interface |
MultiTouchScale.ScaleChangeListener
The listener interface for receiving scaleChange events. |
Field Summary |
---|
Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement |
---|
AXIS_Z, DIRECTION_UP |
Constructor Summary | |
---|---|
MultiTouchScale(com.jme.scene.Spatial s,
float minScale)
Instantiates a new multi touch scale. |
|
MultiTouchScale(com.jme.scene.Spatial pickSpatial,
com.jme.scene.Spatial targetSpatial)
Instantiates a new multi touch scale. |
Method Summary | |
---|---|
void |
addScaleChangeListener(MultiTouchScale.ScaleChangeListener listener)
Adds the scale change 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. |
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 MultiTouchScale(com.jme.scene.Spatial s, float minScale)
s
- the sminScale
- the min scalepublic MultiTouchScale(com.jme.scene.Spatial pickSpatial, com.jme.scene.Spatial targetSpatial)
pickSpatial
- the pick spatialtargetSpatial
- the target spatialMethod Detail |
---|
public void addScaleChangeListener(MultiTouchScale.ScaleChangeListener listener)
listener
- the listenerpublic 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 event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |