com.yobotics.simulationconstructionset.gui
Class KeyPoints

java.lang.Object
  extended by com.yobotics.simulationconstructionset.gui.KeyPoints

public class KeyPoints
extends java.lang.Object

Author:
jcarff

Constructor Summary
KeyPoints()
           
 
Method Summary
 int getNextTime(int time, int inPoint, int outPoint)
           
 java.util.ArrayList<java.lang.Integer> getPoints()
           
 int getPreviousTime(int time, int inPoint, int outPoint)
           
 void removeKeyPoint(int time)
           
 boolean setKeyPoint(int time)
           
 void setUseKeyPoints(boolean use)
           
 void trim(int inPoint, int outPoint)
           
 boolean useKeyPoints()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyPoints

public KeyPoints()
Method Detail

setKeyPoint

public boolean setKeyPoint(int time)

removeKeyPoint

public void removeKeyPoint(int time)

getNextTime

public int getNextTime(int time,
                       int inPoint,
                       int outPoint)

getPreviousTime

public int getPreviousTime(int time,
                           int inPoint,
                           int outPoint)

trim

public void trim(int inPoint,
                 int outPoint)

setUseKeyPoints

public void setUseKeyPoints(boolean use)

useKeyPoints

public boolean useKeyPoints()

getPoints

public java.util.ArrayList<java.lang.Integer> getPoints()