Package repast.simphony.ui
Class ImageableJComponentAdapter
- java.lang.Object
-
- repast.simphony.ui.ImageableJComponentAdapter
-
-
Constructor Summary
Constructors Constructor Description ImageableJComponentAdapter(JComponent comp)
Constructs a ImageableJComponentAdapter that adapts the specified JComponent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImage
getImage()
Gets a BufferedImage that displays the contents of the JComponent.
-
-
-
Constructor Detail
-
ImageableJComponentAdapter
public ImageableJComponentAdapter(JComponent comp)
Constructs a ImageableJComponentAdapter that adapts the specified JComponent.- Parameters:
comp
- the component to adapt.
-
-
Method Detail
-
getImage
public BufferedImage getImage()
Gets a BufferedImage that displays the contents of the JComponent.
-
-