transformation

Class SynthesisPanel

Implemented Interfaces:
ActionListener
Known Direct Subclasses:
SynthesisDaub2Panel, SynthesisHaarPanel

public abstract class SynthesisPanel
extends TransformationPanel

A SynthesisPanel is a TransformationPanel on which the multiresolution-synthesis-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 animation of the synthesis
abstract void
transform(Graphics g, int i, Color color)
this method implements the actual synthesis-animation

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 animation of the synthesis
Overrides:
startTransformation in interface TransformationPanel
Parameters:
g - Graphics object of paintComponent(...)

transform

public abstract void transform(Graphics g,
                               int i,
                               Color color)
this method implements the actual synthesis-animation
Parameters:
g - Graphics Object for painting
i - position where the filter is to be painted
color - background color of the filter