org.jmol.g3d
final class Awt3D extends Platform3D implements ImageProducer
Implementation of Platform3D when using AWT on 1.1 JVMs.
Uses the AWT imaging routines to convert an int[] of ARGB values into an Image by implementing the ImageProducer interface.
This is used by MSFT Internet Explorer with the MSFT JVM, and Netscape 4.* on both Win32 and MacOS 9.
| Field Summary | |
|---|---|
| ColorModel | colorModelRGB |
| Component | component |
| ImageConsumer | ic |
| Constructor Summary | |
|---|---|
| Awt3D(Component component) | |
| Method Summary | |
|---|---|
| void | addConsumer(ImageConsumer ic) |
| Image | allocateImage() |
| Image | allocateOffscreenImage(int width, int height) |
| Graphics | getGraphics(Image image) |
| boolean | isConsumer(ImageConsumer ic) |
| void | notifyEndOfRendering() |
| void | removeConsumer(ImageConsumer ic) |
| void | requestTopDownLeftRightResend(ImageConsumer ic) |
| void | startProduction(ImageConsumer ic) |