transformation
Class SynthesisDaub2Panel
- ActionListener
public class SynthesisDaub2Panel
A SynthesisDaub2Panel is a SynthesisPanel
on which the synthesis-animation with the Daubechies2-Filter is painted
FAST , MEDIUM , SLOW , animGrid , animateGrid , arrow , arrowCheckTime , backGreen , backRed , counter , depth , filter , filterCheckTime , fm , font , gridCheckTime , height , signal , startTransform , timer , transformed , transformedCheckTime , width |
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) - this method implements the actual synthesis-animation
|
drawAnimGrid , drawNecessaryGrids , paintComponent , reset , restartTimer , setColors , setFilter , setSpeed , startTimer , startTransform , startTransformation , stopTimer |
SynthesisDaub2Panel
public SynthesisDaub2Panel()
standard constructor
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
- drawNecessaryGrids in interface TransformationPanel
g
- Graphics object of paintComponent(...)
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
- startTransformation in interface SynthesisPanel
g
- Graphics object of paintComponent(...)
actionPerformed(ActionEvent e)
transform
public void transform(Graphics g,
int i,
Color color)
this method implements the actual synthesis-animation
- transform in interface SynthesisPanel
g
- Graphics Object for paintingi
- position where the filter is to be paintedcolor
- background color of the filter