apps.projectmanagement.gesture
Class ScheduleBarControl

java.lang.Object
  extended by synergynetframework.jme.cursorsystem.MultiTouchElement
      extended by synergynetframework.jme.cursorsystem.TwoDMultiTouchElement
          extended by synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale
              extended by apps.projectmanagement.gesture.ScheduleBarControl

public class ScheduleBarControl
extends OrthoControlPointRotateTranslateScale

The Class ScheduleBarControl.


Nested Class Summary
static interface ScheduleBarControl.ScheduleBarListener
          The listener interface for receiving scheduleBar events.
 
Nested classes/interfaces inherited from class synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale
OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener
 
Field Summary
 com.jme.scene.Spatial parentSpatial
          The parent spatial.
 
Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement
AXIS_Z, DIRECTION_UP
 
Constructor Summary
ScheduleBarControl(com.jme.scene.Spatial pickingSpatial, com.jme.scene.Spatial targetSpatial, int length, int unitLength)
          Instantiates a new schedule bar control.
 
Method Summary
 void addScheduleBarListener(ScheduleBarControl.ScheduleBarListener l)
          Adds the schedule bar listener.
 void removeScheduleBarListener(ScheduleBarControl.ScheduleBarListener l)
          Removes the schedule bar listener.
 
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.TwoDMultiTouchElement
getCursorScreenPositionAtPick, getPickDataForCursorID, getPickResultFromCursorIndex, getSpatial2DWorldPositionAtPick, registerScreenCursor
 
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
 

Field Detail

parentSpatial

public com.jme.scene.Spatial parentSpatial
The parent spatial.

Constructor Detail

ScheduleBarControl

public ScheduleBarControl(com.jme.scene.Spatial pickingSpatial,
                          com.jme.scene.Spatial targetSpatial,
                          int length,
                          int unitLength)
Instantiates a new schedule bar control.

Parameters:
pickingSpatial - the picking spatial
targetSpatial - the target spatial
length - the length
unitLength - the unit length
Method Detail

addScheduleBarListener

public void addScheduleBarListener(ScheduleBarControl.ScheduleBarListener l)
Adds the schedule bar listener.

Parameters:
l - the l

removeScheduleBarListener

public void removeScheduleBarListener(ScheduleBarControl.ScheduleBarListener l)
Removes the schedule bar listener.

Parameters:
l - the l