Package org.opensourcephysics.display
Interface Renderable
- All Known Implementing Classes:
DataToolTab.DataToolPlotter
,DrawingPanel
,DrawingPanel3D
,FrameApplet
,InteractivePanel
,PlottingPanel
,TrackerPanel
,TrackPlottingPanel
,TTrack.TextLineLabel
,VideoPanel
public interface Renderable
Renderable objects draw themselves onscreen onto an image in the calling thread.
- Version:
- 1.0
- Author:
- Wolfgang Christian
-
Method Summary
Modifier and TypeMethodDescriptionrender()
Renders a representation of the object onscreen.render
(BufferedImage image) Renders a representation of the object onto an image.
-
Method Details
-
render
BufferedImage render()Renders a representation of the object onscreen. -
render
Renders a representation of the object onto an image.- Parameters:
image
-- Returns:
- the image buffer
-