hmi.elckerlyc.animationengine.motionunit
Class AbstractMotionUnit

java.lang.Object
  extended by hmi.elckerlyc.animationengine.motionunit.AbstractMotionUnit
All Implemented Interfaces:
KeyPositionManager, MotionUnit
Direct Known Subclasses:
PointingMU, TransitionMU

public abstract class AbstractMotionUnit
extends Object
implements MotionUnit


Field Summary
private  KeyPositionManager keyPositionManager
           
 
Constructor Summary
AbstractMotionUnit()
           
 
Method Summary
 void addKeyPosition(KeyPosition kp)
           
 KeyPosition getKeyPosition(String name)
           
 List<KeyPosition> getKeyPositions()
          Gets a sorted view of the list of keypositions
 void removeKeyPosition(String id)
           
 void setKeyPositions(List<KeyPosition> p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hmi.elckerlyc.animationengine.motionunit.MotionUnit
copy, createTMU, getParameterValue, getPredictor, getPreferedDuration, getReplacementGroup, play, setParameterValue, setParameterValue
 

Field Detail

keyPositionManager

private KeyPositionManager keyPositionManager
Constructor Detail

AbstractMotionUnit

public AbstractMotionUnit()
Method Detail

addKeyPosition

public void addKeyPosition(KeyPosition kp)
Specified by:
addKeyPosition in interface KeyPositionManager

getKeyPositions

public List<KeyPosition> getKeyPositions()
Description copied from interface: KeyPositionManager
Gets a sorted view of the list of keypositions

Specified by:
getKeyPositions in interface KeyPositionManager

setKeyPositions

public void setKeyPositions(List<KeyPosition> p)
Specified by:
setKeyPositions in interface KeyPositionManager

getKeyPosition

public KeyPosition getKeyPosition(String name)
Specified by:
getKeyPosition in interface KeyPositionManager

removeKeyPosition

public void removeKeyPosition(String id)
Specified by:
removeKeyPosition in interface KeyPositionManager