transformation

Class SynthesisHaarPanel

Implemented Interfaces:
ActionListener

public class SynthesisHaarPanel
extends SynthesisPanel

A SynthesisHaarPanel is a SynthesisPanel on which the synthesis-animation with the Haar-Filter 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

Constructor Summary

SynthesisHaarPanel()
standard constructor

Method Summary

void
actionPerformed(ActionEvent e)
Handling of the ActionEvents
void
drawNecessaryGrids(Graphics g)
this method draws the starting signal transformed[3] and all at the current level of transformation necessary synthesized signals
void
paintComponent(Graphics g)
painting the Component
void
startTransformation(Graphics g)
this method prepares the animation of the synthesis by starting the Timer-object timer which now will fire ActionEvents every speed*milliseconds causing the synthesis to develop
void
transform(Graphics g, int i, Color color)

Methods inherited from class transformation.SynthesisPanel

drawAnimGrid, startTransformation, transform

Methods inherited from class transformation.TransformationPanel

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

Constructor Details

SynthesisHaarPanel

public SynthesisHaarPanel()
standard constructor

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)
Handling of the ActionEvents

drawNecessaryGrids

public void drawNecessaryGrids(Graphics g)
this method draws the starting signal transformed[3] and all at the current level of transformation necessary synthesized signals
Overrides:
drawNecessaryGrids in interface TransformationPanel
Parameters:
g - Graphics object of paintComponent(...)

paintComponent

public void paintComponent(Graphics g)
painting the Component
Overrides:
paintComponent in interface TransformationPanel

startTransformation

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

transform

public void transform(Graphics g,
                      int i,
                      Color color)
Overrides:
transform in interface SynthesisPanel