apps.projectmanagement.gesture
Class PeriodBarControl

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.PeriodBarControl

public class PeriodBarControl
extends OrthoControlPointRotateTranslateScale

The Class PeriodBarControl.


Nested Class Summary
static interface PeriodBarControl.ScheduleBarListener
          The listener interface for receiving scheduleBar 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
PeriodBarControl(com.jme.scene.Spatial pickingSpatial, com.jme.scene.Spatial targetSpatial, int length, int unitLength)
          Instantiates a new period bar control.
 
Method Summary
 void addScheduleBarListener(PeriodBarControl.ScheduleBarListener l)
          Adds the schedule bar listener.
 void removeScheduleBarListener(PeriodBarControl.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
 

Constructor Detail

PeriodBarControl

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

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

addScheduleBarListener

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

Parameters:
l - the l

removeScheduleBarListener

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

Parameters:
l - the l