PenProfile 2.x

com.livescribe.display
Class Canvas

java.lang.Object
  extended by com.livescribe.display.Displayable
      extended by com.livescribe.display.Canvas
Direct Known Subclasses:
BatteryIndicator, ButtonPABDisplay, ScrollLabel, SlotMachine, VolumeIndicator

public abstract class Canvas
extends Displayable

This is a base class for applications that need to create their own display content. Components that extend from this class must provide a Displayable.paint(Graphics) implementation that knows how to draw onto the given graphics context.

See Also:
Displayable.paint(Graphics), Graphics

Constructor Summary
Canvas()
           
 
Method Summary
 void repaint()
          Request that the system schedule a call to the Displayable.paint(Graphics) method of this canvas.
 
Methods inherited from class com.livescribe.display.Displayable
getSurface, isCurrent, notifyHidden, notifyShown, notifySystemTrayHidden, notifySystemTrayShown, paint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Canvas

public Canvas()
Method Detail

repaint

public final void repaint()
Request that the system schedule a call to the Displayable.paint(Graphics) method of this canvas.


PenProfile 2.x

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