com.livescribe.ui
Class VolumeIndicator
java.lang.Object
com.livescribe.display.Displayable
com.livescribe.display.Canvas
com.livescribe.ui.VolumeIndicator
public class VolumeIndicator
- extends Canvas
|
Method Summary |
protected void |
paint(Graphics g)
Paints this VolumeIndicator. |
void |
show(int volume)
Set the Volume level and update the display correspondingly. |
| Methods inherited from class com.livescribe.display.Canvas |
repaint |
VolumeIndicator
public VolumeIndicator(Image icon)
- Creates an initialized
VolumeIndicator.
- Parameters:
icon - the image to depict the Volume Indicator.
paint
protected void paint(Graphics g)
- Paints this VolumeIndicator.
- Specified by:
paint in class Displayable
- Parameters:
g - the specified Graphics context.
show
public void show(int volume)
- Set the Volume level and update the display correspondingly.
- Parameters:
volume - the Volume level which varies from 0 to 100.
Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.