The Source for Java Technology Collaboration


Drawing Model

Drawing model is a wrapper for storage of image data. It allows one to enumerate all the operations required for image rendering and to sort a given set of operations in such a way that all pairs of operations for which the execution order is important are arranged in the proper order. Drawing model is an object that implements the interface DrawingModel, which contains the following methods:

void addDrawingModelListener (DrawingModelListener listener);

void removeDrawingModelListener (DrawingModelListener listener);

Enumeration elements ();

void sortElements (Object [] elements);

The first two methods are used by Drawing Model Cache to be notified about changed data.

Topic DrawingModel . { Edit | Ref-By | Printable | Diffs r3 < r2 < r1 | More }
 XML java.net RSS

Revision r3 - 14 Sep 2004 - 07:13:46 - Main.mvladimirov
Parents: WebHome > JDrawing