transformation

Class AnalysePanel

Implemented Interfaces:
ActionListener
Known Direct Subclasses:
AnalyseDaub2Panel, AnalyseHaarPanel

public abstract class AnalysePanel
extends TransformationPanel

A TransformationPanel is a JPanel on which the multiresolution-animation is painted

Field Summary

Fields inherited from class transformation.TransformationPanel

FAST, MEDIUM, SLOW, animGrid, animateGrid, arrow, arrowCheckTime, backGreen, backRed, counter, depth, filter, filterCheckTime, fm, font, gridCheckTime, height, signal, startTransform, timer, transformed, transformedCheckTime, width

Method Summary

void
drawAnimGrid(Graphics g)
draws an animated Grid
void
startTransformation(Graphics g)
this method prepares the actual transformation and starts it the animation by starting the Timer-object timer which now will fire ActionEvents every speed*milliseconds causing the transformation to develop
abstract void
transform(Graphics g, int i, int pos, Color color)

Methods inherited from class transformation.TransformationPanel

drawAnimGrid, drawNecessaryGrids, paintComponent, reset, restartTimer, setColors, setFilter, setSpeed, startTimer, startTransform, startTransformation, stopTimer

Method Details

drawAnimGrid

public void drawAnimGrid(Graphics g)
draws an animated Grid
Overrides:
drawAnimGrid in interface TransformationPanel

startTransformation

public void startTransformation(Graphics g)
this method prepares the actual transformation and starts it the animation by starting the Timer-object timer which now will fire ActionEvents every speed*milliseconds causing the transformation to develop
Overrides:
startTransformation in interface TransformationPanel
Parameters:
g - Graphics object of paintComponent(...)
See Also:
actionPerformed(ActionEvent e)

transform

public abstract void transform(Graphics g,
                               int i,
                               int pos,
                               Color color)