|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--MathSystem
MathSystem Class: this class represents a generic mathematical system. Subclass this to make use of its interface.
Field Summary | |
int |
n
Current Iteration Number |
int |
subit
Current Subiteration Number |
Constructor Summary | |
MathSystem()
The Constructor. |
Method Summary | |
int |
animateNum()
Override this function if you want the system to hava an animation. |
abstract void |
draw(int sizeX,
int sizeY,
Graphics gb)
Draws the current state of the sytem on the graphics buffer. |
void |
drawAnimate(int sizeX,
int sizeY,
Graphics gb,
int animate)
Override this function if you want the system to hava an animation. |
String |
getInfo()
Returns a long string describing some info about current state. |
abstract void |
iterate(int iterations)
Iterates the system. |
abstract void |
reset()
Restarts the system. |
abstract void |
subiterate(int subiterations)
Does a subiteration, if applicable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int n
public int subit
Constructor Detail |
public MathSystem()
Method Detail |
public abstract void draw(int sizeX, int sizeY, Graphics gb)
sizeX
- is the x size of region on which to draw.sizeY
- is the y size of region on which to draw.gb
- is the graphics buffer on which to draw. It
may be from an image or a canvas.public abstract void iterate(int iterations)
iterations
- is the number of iterations. Usually 1.public abstract void subiterate(int subiterations)
subiterations
- is the number of subiterations. Usually 1.public abstract void reset()
public String getInfo()
public int animateNum()
public void drawAnimate(int sizeX, int sizeY, Graphics gb, int animate)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |