com.sun.lwuit
Interface Painter

All Known Implementing Classes:
BackgroundPainter, PainterChain, Timeline

public interface Painter

Painter can be used to draw on components backgrounds. The use of such painter allows reuse of a background painters for various components. Note in order to view the painter drawing, component need to have some level of transparency.


Method Summary
 void paint(Graphics g, Rectangle rect)
          Draws inside the given rectangle clipping area.
 

Method Detail

paint

void paint(Graphics g,
           Rectangle rect)
Draws inside the given rectangle clipping area.

Parameters:
g - the Graphics object
rect - the given rectangle cliping area