apps.projectmanagement.gesture
Class ScrollBarControl
java.lang.Object
synergynetframework.jme.cursorsystem.MultiTouchElement
synergynetframework.jme.cursorsystem.TwoDMultiTouchElement
synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale
apps.projectmanagement.gesture.ScrollBarControl
public class ScrollBarControl
- extends OrthoControlPointRotateTranslateScale
The Class ScrollBarControl.
Field Summary |
com.jme.scene.Spatial |
parentSpatial
The parent spatial. |
Constructor Summary |
ScrollBarControl(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial,
int length,
int barLength,
int contentLength,
int orgin,
ScrollBar.Direction direction)
Instantiates a new scroll bar control. |
Methods inherited from class synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale |
addRotateTranslateScaleListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, cursorChanged, cursorClicked, cursorPressed, cursorReleased, getScaleMax, getScaleMin, removeRotateTranslateScaleListener, setRotateLimits, setScaleLimits |
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 |
parentSpatial
public com.jme.scene.Spatial parentSpatial
- The parent spatial.
ScrollBarControl
public ScrollBarControl(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial,
int length,
int barLength,
int contentLength,
int orgin,
ScrollBar.Direction direction)
- Instantiates a new scroll bar control.
- Parameters:
pickingSpatial
- the picking spatialtargetSpatial
- the target spatiallength
- the lengthbarLength
- the bar lengthcontentLength
- the content lengthorgin
- the orgindirection
- the direction
addScrollBarListener
public void addScrollBarListener(ScrollBarControl.ScrollBarListener l)
- Adds the scroll bar listener.
- Parameters:
l
- the l
removeScrollBarListener
public void removeScrollBarListener(ScrollBarControl.ScrollBarListener l)
- Removes the scroll bar listener.
- Parameters:
l
- the l