|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.fraid.plugin.PaintAlgorithmThread
org.fraid.plugin.BufferedImagePaintAlgorithmThread
public abstract class BufferedImagePaintAlgorithmThread
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected java.awt.image.BufferedImage |
pixels
|
Fields inherited from class org.fraid.plugin.PaintAlgorithmThread |
---|
mFirstTime, mPlugIn, mProgressVar, mTime, owner, screenHeight, screenWidth, state |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
BufferedImagePaintAlgorithmThread(GraphicsUser aOwner,
BehaviorBean aPlugIn)
|
Method Summary | |
---|---|
protected void |
allocateNewImage()
Depending what the underlying image is (BufferedImage or int array) storrage is allocated. |
java.awt.image.BufferedImage |
createImage()
Turns its internal representation to a BufferedImage. |
void |
drawGridLines(DoublePoint aP)
Plots the grid (if there was created one). |
void |
fillBackground()
|
java.awt.image.BufferedImage |
getPixels()
|
Methods inherited from class org.fraid.plugin.PaintAlgorithmThread |
---|
applyAlgorithm, fillModel, getOwner, getProgressStatistics, getThreadName, getThreadState, goToWait, goToWork, printDebugMessage, requestStop, restart, run, subjectChanged |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.awt.image.BufferedImage pixels
Constructor Detail |
---|
public BufferedImagePaintAlgorithmThread(GraphicsUser aOwner, BehaviorBean aPlugIn)
Method Detail |
---|
public java.awt.image.BufferedImage getPixels()
protected void allocateNewImage()
PaintAlgorithmThread
allocateNewImage
in class PaintAlgorithmThread
public java.awt.image.BufferedImage createImage()
PaintAlgorithmThread
createImage
in class PaintAlgorithmThread
BufferedImage
valuepublic void drawGridLines(DoublePoint aP)
PaintAlgorithmThread
drawGridLines
in class PaintAlgorithmThread
aP
- a DoublePoint
valuepublic void fillBackground()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |