FileDocCategorySizeDatePackage
CanvasLF.javaAPI DocphoneME MR2 API (J2ME)2426Wed May 02 18:00:22 BST 2007javax.microedition.lcdui

CanvasLF

public interface CanvasLF implements DisplayableLF
Look and Feel interface used by Canvas.

See Naming Conventions for information about method naming conventions.

Fields Summary
Constructors Summary
Methods Summary
public voidlRepaint(int x, int y, int width, int height, java.lang.Object target)
Notifies look and feel object that repaint of a (x, y, width, height) area is needed.

param
x The x coordinate of the region to repaint
param
y The y coordinate of the region to repaint
param
width The width of the region to repaint
param
height The height of the region to repaint
param
target an optional paint target to receive the paint request when it returns via callPaint()

public voidlRepaint()
Notifies that repaint of the entire Canvas look&feel is needed.

public intuGetKeyMask()
Display calls to get key mask of all the keys that were pressed.

return
keyMask The key mask of all the keys that were pressed.

public voiduServiceRepaints()
Request serviceRepaints from current Display. SYNC NOTE: unlike most other methods, no locking is held when this function is called because Display.serviceRepaints() needs to handle its own locking.