Package com.dkt.graphics.extras.formula
Class CalculableTimer
java.lang.Object
com.dkt.graphics.elements.GraphicE
com.dkt.graphics.extras.formula.AbstractTimer<Calculable>
com.dkt.graphics.extras.formula.CalculableTimer
- All Implemented Interfaces:
Cloneable
- Author:
- Federico Vera <[email protected]>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.dkt.graphics.extras.formula.AbstractTimer
AbstractTimer.Action -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voiddraw(Graphics2D g) Draws the component on the given graphicsprotected PThreadgetThread(Calculable calculable, int threadNumber, int threadsTotal, boolean drawPen) voidtraslate(int x, int y) Traslates this element on X and YMethods inherited from class com.dkt.graphics.extras.formula.AbstractTimer
drawAsPath, getCalculable, isPaused, isRunning, pause, removeThread, resume, setActions, setDrawAsPath, setDrawPen, setNumberOfThreads, start, stop, threadsEnded
-
Constructor Details
-
CalculableTimer
-
-
Method Details
-
getThread
protected PThread getThread(Calculable calculable, int threadNumber, int threadsTotal, boolean drawPen) - Specified by:
getThreadin classAbstractTimer<Calculable>
-
traslate
public void traslate(int x, int y) Description copied from class:GraphicETraslates this element on X and Y -
draw
Description copied from class:GraphicEDraws the component on the given graphics -
clone
-