Package repast.simphony.ui
Class ImageableJComponentAdapter
java.lang.Object
repast.simphony.ui.ImageableJComponentAdapter
- All Implemented Interfaces:
Imageable
Adapts a JComponent to an Imageable.
- Author:
- Nick Collier
-
Constructor Summary
ConstructorDescriptionConstructs a ImageableJComponentAdapter that adapts the specified JComponent. -
Method Summary
Modifier and TypeMethodDescriptiongetImage()
Gets a BufferedImage that displays the contents of the JComponent.
-
Constructor Details
-
ImageableJComponentAdapter
Constructs a ImageableJComponentAdapter that adapts the specified JComponent.- Parameters:
comp
- the component to adapt.
-
-
Method Details