- Enclosing class:
- ThreadedOSGraphics
public static interface ThreadedOSGraphics.GraphicsWriter
Interface to be implemented by classes used as components of
subclasses of ThreadedOSGraphics.
This interface provides a single method that will trigger operations
that ultimate call a paint method of a subclass of ThreadedOSGraphics.
a Class implementing this interface will have its constructor called
by the
newGraphicsWriter
method of a subclass of ThreadedOSGraphics, which in turn is called
by the constructor of ThreadedOSGraphics
,
Note: if an object implementing this interface is dependent on
whether or not an alpha channel is present, the implementation
of ThreadedOSGraphics.newGraphicsWriter()
is
responsible for setting up the GraphicsWriter appropriately.
-
Method Summary
-
Method Details
-
writeGraphics
Write to a graphics file or stream. This method is required to call a ThreadedOSGraphics paint method and is called by the constructor of a ThreadedOSGraphics.- Throws:
Exception
- an error occurred
-