|
||||||||||
| 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.appsystem.contentsystem.jme.items.utils.controlbar.ControlBarMover
public class ControlBarMover
The Class ControlBarMover.
| Nested Class Summary | |
|---|---|
static interface |
ControlBarMover.ControlBarMoverListener
The listener interface for receiving controlBarMover events. |
| Field Summary |
|---|
| Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement |
|---|
AXIS_Z, DIRECTION_UP |
| Constructor Summary | |
|---|---|
ControlBarMover(com.jme.scene.Spatial pickingAndTargetSpatial)
Instantiates a new control bar mover. |
|
ControlBarMover(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial)
Instantiates a new control bar mover. |
|
| Method Summary | |
|---|---|
void |
addControlBarMoverListener(ControlBarMover.ControlBarMoverListener l)
Adds the control bar mover 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. |
float |
getBarLength()
Gets the bar length. |
boolean |
isEnabled()
Checks if is enabled. |
void |
removeControlBarMoverListener(ControlBarMover.ControlBarMoverListener l)
Removes the control bar mover listener. |
void |
setBarLength(float barLength)
Sets the bar length. |
void |
setEnabled(boolean enabled)
Sets the enabled. |
| 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 ControlBarMover(com.jme.scene.Spatial pickingAndTargetSpatial)
pickingAndTargetSpatial - the picking and target spatial
public ControlBarMover(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial)
pickingSpatial - the picking spatialtargetSpatial - the target spatial| Method Detail |
|---|
public void addControlBarMoverListener(ControlBarMover.ControlBarMoverListener 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 float getBarLength()
public boolean isEnabled()
public void removeControlBarMoverListener(ControlBarMover.ControlBarMoverListener l)
l - the lpublic void setBarLength(float barLength)
barLength - the new bar lengthpublic void setEnabled(boolean enabled)
enabled - the new enabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||