Package com.dkt.graphics.extras.formula
Class ParametricCalculableTimer
java.lang.Object
com.dkt.graphics.elements.GraphicE
com.dkt.graphics.extras.formula.AbstractTimer<ParametricCalculable>
com.dkt.graphics.extras.formula.ParametricCalculableTimer
- 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
-
Method Summary
Modifier and TypeMethodDescriptionclone()
void
draw
(Graphics2D g) Draws the component on the given graphicsprotected PThread
getThread
(ParametricCalculable calculable, int threadNumber, int threadsTotal, boolean drawPen) void
traslate
(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
-
ParametricCalculableTimer
-
-
Method Details
-
getThread
protected PThread getThread(ParametricCalculable calculable, int threadNumber, int threadsTotal, boolean drawPen) - Specified by:
getThread
in classAbstractTimer<ParametricCalculable>
-
traslate
public void traslate(int x, int y) Description copied from class:GraphicE
Traslates this element on X and Y -
draw
Description copied from class:GraphicE
Draws the component on the given graphics -
clone
-