|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plottask.SwingPainter
public class SwingPainter
Painter subclass which can paint to the screen.
It has a postComponent(java.awt.Component)
method additional to the
Painter interface which allows a component to be submitted directly,
if one is available.
Constructor Summary | |
---|---|
SwingPainter(String winTitle)
Constructor. |
Method Summary | |
---|---|
void |
paintPicture(Picture picture)
Export the graphics contained in a Picture. |
void |
postComponent(Component comp)
Displays a screen component directly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwingPainter(String winTitle)
winTitle
- window title to use for the container frameMethod Detail |
---|
public void paintPicture(Picture picture)
Painter
paintPicture
in interface Painter
picture
- graphics to exportpublic void postComponent(Component comp)
comp
- screen component
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |