FileDocCategorySizeDatePackage
PaintServer.javaAPI DocphoneME MR2 API (J2ME)2026Wed May 02 18:00:34 BST 2007com.sun.perseus.j2d

PaintServer

public interface PaintServer
The PaintServer interface is used to allow the notion of both paint values (sush as RGB colors) and more sophisticated paint servers.
version
$Id: PaintServer.java,v 1.3 2006/04/21 06:35:01 st125089 Exp $

Fields Summary
Constructors Summary
Methods Summary
public voiddispose()
Called when the PaintServer is no longer used

public PaintDefgetPaintDef()

return
the PaintDef generated by the server.

public voidsetPaintTarget(java.lang.String paintType, PaintTarget paintTarget)

param
paintType a key that the PaintTarget can use to characterize its interest in the PaintServer. For example, a PaintTarget may be interested in the Paint both for stroking and filling purposes.
param
paintTarget the PaintTarget listening to changes to the paint generated by this PaintServer.