|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdevs.musicpackage.LevelMeter
public class LevelMeter
a user interface component to show an amplitude value
| Constructor Summary | |
|---|---|
LevelMeter(java.awt.image.BufferedImage bi,
int index,
int width,
int height,
int min,
int max)
constructor |
|
| Method Summary | |
|---|---|
void |
paintInitially()
paint this level meter without showing a value |
void |
setOffscreenImage(java.awt.image.BufferedImage bi)
set the offscreen image this component should draw to |
void |
setSize(int width,
int height)
set the size of this component |
void |
setValue(double value)
set the decibel value this component should display |
void |
setWidth(int width)
set the width of this component |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LevelMeter(java.awt.image.BufferedImage bi,
int index,
int width,
int height,
int min,
int max)
bi - BufferedImage the offscreen image to use for paintingindex - int index inside a group of level meterswidth - int width of this level meterheight - int height of this level metermin - int minimum value to display by this level metermax - int maximum value to display by this level meter| Method Detail |
|---|
public void setSize(int width,
int height)
width - int the widthheight - int the heightpublic void setValue(double value)
value - double the decibel value to displaypublic void setWidth(int width)
width - int the widthpublic void paintInitially()
public void setOffscreenImage(java.awt.image.BufferedImage bi)
bi - BufferedImage the offscreen image to draw to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||