Painter
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 | Description |
---|---|
SwingPainter(java.lang.String winTitle) |
Constructor.
|
Modifier and Type | Method | 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)
Painter
paintPicture
in interface Painter
picture
- graphics to exportpublic void postComponent(java.awt.Component comp)
comp
- screen componentCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.