synergynetframework.jme.cursorsystem.elements.twod
Class TwoDQuadWithMultiTouchInteraction
java.lang.Object
synergynetframework.jme.cursorsystem.MultiTouchElement
synergynetframework.jme.cursorsystem.TwoDMultiTouchElement
synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale
synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScaleWithListener
synergynetframework.jme.cursorsystem.elements.twod.TwoDQuadWithMultiTouchInteraction
public class TwoDQuadWithMultiTouchInteraction
- extends OrthoControlPointRotateTranslateScaleWithListener
The Class TwoDQuadWithMultiTouchInteraction.
Methods inherited from class synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScaleWithListener |
addMultiTouchListener, enableRotateTranslateScale, getDragDistanceFromCursorPressedEvent, getLastChangedEvent, getLastClickedEvent, getLastPressedEvent, getLastReleasedEvent, getProperty, isRotateTranslateScaleEnabled, removeMultiTouchListener, removeMultiTouchListeners, setLastChangedEvent, setLastClickedEvent, setLastPressedEvent, setLastReleasedEvent, setProperty |
Methods inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement |
addWorldCursorRecord, getCurrentScreenAngleDifferenceFromOrigin, getCurrentScreenCursorsAngle, getCurrentTargetSpatialRotationFromCursorChange, getName, getNumRegisteredCursors, getOriginScreenCursorsAngle, getPickingSpatial, getScaleAtOrigin, getScreenCursorByID, getScreenCursorByIndex, getScreenCursorOriginForCursorID, getTargetSpatial, getTranslationAtOrigin, getWorldLocations, isActive, isPickMeOnly, registerScreenCursor, setActive, setName, setPickMeOnly, unregisterScreenCursor |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TwoDQuadWithMultiTouchInteraction
public TwoDQuadWithMultiTouchInteraction(DrawableSpatialImage pickingAndTargetSpatial,
java.awt.Rectangle interactArea)
- Instantiates a new two d quad with multi touch interaction.
- Parameters:
pickingAndTargetSpatial
- the picking and target spatialinteractArea
- the interact area
cursorChanged
public void cursorChanged(ScreenCursor c,
MultiTouchCursorEvent event)
- Description copied from class:
MultiTouchElement
- Cursor changed.
- Overrides:
cursorChanged
in class OrthoControlPointRotateTranslateScaleWithListener
- Parameters:
c
- the cevent
- the event
cursorClicked
public void cursorClicked(ScreenCursor c,
MultiTouchCursorEvent event)
- Description copied from class:
MultiTouchElement
- Cursor clicked.
- Overrides:
cursorClicked
in class OrthoControlPointRotateTranslateScaleWithListener
- Parameters:
c
- the cevent
- the event
cursorPressed
public void cursorPressed(ScreenCursor c,
MultiTouchCursorEvent event)
- Description copied from class:
MultiTouchElement
- Cursor pressed.
- Overrides:
cursorPressed
in class OrthoControlPointRotateTranslateScaleWithListener
- Parameters:
c
- the cevent
- the event
cursorReleased
public void cursorReleased(ScreenCursor c,
MultiTouchCursorEvent event)
- Description copied from class:
MultiTouchElement
- Cursor released.
- Overrides:
cursorReleased
in class OrthoControlPointRotateTranslateScaleWithListener
- Parameters:
c
- the cevent
- the event
getCurrentElement2DCoordsForCursor
public java.awt.Point getCurrentElement2DCoordsForCursor(ScreenCursor cursor)
- Gets the current element2 d coords for cursor.
- Parameters:
cursor
- the cursor
- Returns:
- the current element2 d coords for cursor