|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.livescribe.display.Displayable
com.livescribe.display.Canvas
com.livescribe.ui.BatteryIndicator
public class BatteryIndicator
A battery indicator component.
| Constructor Summary | |
|---|---|
BatteryIndicator()
Creates a new battery indicator. |
|
| Method Summary | |
|---|---|
void |
drawMiniBattery(Graphics g,
int x,
int y)
Draw a miniature battery at the designated coordinates |
protected void |
notifyHidden(Display d)
When called indicates that this Displayable is no longer
shown on the display device due to another Displayable being
set to current. |
protected void |
notifyShown(Display d)
When called by the system, indicates that this Canvas is
current. |
protected void |
paint(Graphics g)
Paints this BatteryIndicator |
| Methods inherited from class com.livescribe.display.Canvas |
|---|
repaint |
| Methods inherited from class com.livescribe.display.Displayable |
|---|
getSurface, isCurrent, notifySystemTrayHidden, notifySystemTrayShown |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BatteryIndicator()
| Method Detail |
|---|
public void drawMiniBattery(Graphics g,
int x,
int y)
g - the handle to the Graphics object.x - the x coordinate of the image.y - the y coordinate of the image.protected void notifyShown(Display d)
Canvas is
current.
notifyShown in class Displayabled - The Display on which this Canvas is
current.protected void notifyHidden(Display d)
Displayable is no longer
shown on the display device due to another Displayable being
set to current.
notifyHidden in class Displayabled - The Display on which this Canvas is
current.protected void paint(Graphics g)
paint in class Displayableg - the specified Graphics context
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||