|
|||||||||
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
org.fraid.plugin.algorithm.SpectrumThread
public class SpectrumThread
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class org.fraid.plugin.BufferedImagePaintAlgorithmThread |
---|
pixels |
Fields inherited from class org.fraid.plugin.PaintAlgorithmThread |
---|
mFirstTime, mProgressVar, mTime, owner, screenHeight, screenWidth, state |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
SpectrumThread(GraphicsUser aOwner,
SpectrumPlugIn aPlugIn)
|
Method Summary | |
---|---|
void |
addFunction(ComplexFunction aF)
|
void |
applyAlgorithm()
This is the actual algorithm. |
void |
drawGridLines(DoublePoint aP)
Plots the grid (if there was created one). |
protected java.awt.Color |
getColor(double aValue)
|
java.util.Vector |
getFunctions()
|
java.util.Vector<Samples> |
getSamples()
|
boolean |
isDisplayingRecord()
|
protected void |
processFunction()
|
Methods inherited from class org.fraid.plugin.BufferedImagePaintAlgorithmThread |
---|
allocateNewImage, createImage, fillBackground, getPixels |
Methods inherited from class org.fraid.plugin.PaintAlgorithmThread |
---|
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 |
Constructor Detail |
---|
public SpectrumThread(GraphicsUser aOwner, SpectrumPlugIn aPlugIn)
Method Detail |
---|
public java.util.Vector<Samples> getSamples()
public void applyAlgorithm()
PaintAlgorithmThread
applyAlgorithm
in class PaintAlgorithmThread
protected void processFunction()
public boolean isDisplayingRecord()
protected java.awt.Color getColor(double aValue)
public void addFunction(ComplexFunction aF)
addFunction
in interface FunctionPlot
public java.util.Vector getFunctions()
getFunctions
in interface FunctionPlot
public void drawGridLines(DoublePoint aP)
PaintAlgorithmThread
drawGridLines
in class BufferedImagePaintAlgorithmThread
aP
- a DoublePoint
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |