|
||||||||||
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.OrthoControlPointRotateTranslateScale
synergynetframework.appsystem.contentsystem.jme.items.utils.KeyboardWrapper
public class KeyboardWrapper
The Class KeyboardWrapper.
Nested Class Summary | |
---|---|
static interface |
KeyboardWrapper.KeyboardEvenListener
The listener interface for receiving keyboardEven events. |
Nested classes/interfaces inherited from class synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale |
---|
OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener |
Field Summary |
---|
Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement |
---|
AXIS_Z, DIRECTION_UP |
Constructor Summary | |
---|---|
KeyboardWrapper(JMEKeyboard keyboardGeom,
java.awt.Rectangle interactArea)
Instantiates a new keyboard wrapper. |
|
KeyboardWrapper(JMEKeyboard keyboardGeom,
com.jme.scene.Spatial targetSpatial,
java.awt.Rectangle interactArea)
Instantiates a new keyboard wrapper. |
Method Summary | |
---|---|
void |
cursorChanged(ScreenCursor c,
MultiTouchCursorEvent event)
Cursor changed. |
void |
cursorPressed(ScreenCursor c,
MultiTouchCursorEvent event)
Cursor pressed. |
void |
cursorReleased(ScreenCursor c,
MultiTouchCursorEvent event)
Cursor released. |
java.awt.Point |
getCurrentElement2DCoordsForCursor(ScreenCursor cursor)
Gets the current element2 d coords for cursor. |
Methods inherited from class synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale |
---|
addRotateTranslateScaleListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, cursorClicked, getScaleMax, getScaleMin, removeRotateTranslateScaleListener, setRotateLimits, setScaleLimits |
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 KeyboardWrapper(JMEKeyboard keyboardGeom, java.awt.Rectangle interactArea)
keyboardGeom
- the keyboard geominteractArea
- the interact areapublic KeyboardWrapper(JMEKeyboard keyboardGeom, com.jme.scene.Spatial targetSpatial, java.awt.Rectangle interactArea)
keyboardGeom
- the keyboard geomtargetSpatial
- the target spatialinteractArea
- the interact areaMethod Detail |
---|
public void cursorChanged(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorChanged
in class OrthoControlPointRotateTranslateScale
c
- the cevent
- the eventpublic void cursorPressed(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorPressed
in class OrthoControlPointRotateTranslateScale
c
- the cevent
- the eventpublic void cursorReleased(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorReleased
in class OrthoControlPointRotateTranslateScale
c
- the cevent
- the eventpublic java.awt.Point getCurrentElement2DCoordsForCursor(ScreenCursor cursor)
cursor
- the cursor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |