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
-
Method Summary
Modifier and TypeMethodDescriptionclone()
void
draw
(Graphics2D g) Draws the component on the given graphicsprotected PThread
getThread
(Calculable 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
-
CalculableTimer
-
-
Method Details
-
getThread
protected PThread getThread(Calculable calculable, int threadNumber, int threadsTotal, boolean drawPen) - Specified by:
getThread
in classAbstractTimer<Calculable>
-
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
-