|
jfract V1.0a | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--org.jfract.util.PictureProcessor
This class is a thread. The goal is to compute the graphics with a thread that give a time for the processor
| Field Summary | |
private AbstractFractalBean |
fractalBean
|
private java.awt.Graphics |
gfx
|
private java.awt.image.BufferedImage |
img
|
private CompletionListener |
listener
|
private static org.apache.log4j.Category |
log4j_category
|
private boolean |
repaint
|
private static java.lang.String[] |
rmiList
|
| Fields inherited from class java.lang.Thread |
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ |
| Constructor Summary | |
PictureProcessor(AbstractFractalBean fractalBean,
java.awt.image.BufferedImage img,
CompletionListener listener,
boolean repaint)
the constructor |
|
| Method Summary | |
void |
run()
If this thread was constructed using a separate Runnable run object, then that
Runnable object's run method is called;
otherwise, this method does nothing and returns.
|
| Methods inherited from class java.lang.Thread |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final org.apache.log4j.Category log4j_category
private AbstractFractalBean fractalBean
private CompletionListener listener
private java.awt.Graphics gfx
private java.awt.image.BufferedImage img
private boolean repaint
private static java.lang.String[] rmiList
| Constructor Detail |
public PictureProcessor(AbstractFractalBean fractalBean,
java.awt.image.BufferedImage img,
CompletionListener listener,
boolean repaint)
fractalBean - the fractal beanimg - the bufferedImage to paint onlistener - the completion listener to tell the completionrepaint - reapint the componant at the end| Method Detail |
public void run()
Runnable run object, then that
Runnable object's run method is called;
otherwise, this method does nothing and returns.
Subclasses of Thread should override this method.
run in class java.lang.ThreadThread.start(),
Thread.stop(),
Thread.Thread(java.lang.ThreadGroup,
java.lang.Runnable, java.lang.String),
Runnable.run()
|
jfract V1.0a | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||