PenProfile 2.x

com.livescribe.ui
Class VolumeIndicator

java.lang.Object
  extended by com.livescribe.display.Displayable
      extended by com.livescribe.display.Canvas
          extended by com.livescribe.ui.VolumeIndicator

public class VolumeIndicator
extends Canvas


Constructor Summary
VolumeIndicator(Image icon)
          Creates an initialized VolumeIndicator.
 
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
 
Methods inherited from class com.livescribe.display.Displayable
getSurface, isCurrent, notifyHidden, notifyShown, notifySystemTrayHidden, notifySystemTrayShown
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VolumeIndicator

public VolumeIndicator(Image icon)
Creates an initialized VolumeIndicator.

Parameters:
icon - the image to depict the Volume Indicator.
Method Detail

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.

PenProfile 2.x

Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.