public class SwingPainter extends java.lang.Object implements Painter
postComponent(java.awt.Component) method additional to the
Painter interface which allows a component to be submitted directly,
if one is available.| Constructor and Description |
|---|
SwingPainter(java.lang.String winTitle)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
paintPicture(Picture picture)
Export the graphics contained in a Picture.
|
void |
postComponent(java.awt.Component comp)
Displays a screen component directly.
|
public SwingPainter(java.lang.String winTitle)
winTitle - window title to use for the container framepublic void paintPicture(Picture picture)
PainterpaintPicture in interface Painterpicture - graphics to exportpublic void postComponent(java.awt.Component comp)
comp - screen componentCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.