org.opensourcephysics.display
Interface Drawable

All Known Subinterfaces:
ByteLattice, CartesianAxes, DrawableAxes, DrawableImage, Interactive, InteractiveImage, LogMeasurable, Measurable, Plot2D, PolarAxes, Selectable, Trackable, Video
All Known Implementing Classes:
AbstractAxes, AbstractInteractive, AbstractPolarAxis, AbstractTrail, Arrow, BinaryLattice, BoundedImage, BoundedShape, BoundedTextLine, ByteRaster, Carpet, CartesianInteractive, CartesianType1, CartesianType2, CartesianType3, CellLattice, CellLatticeOSX, CellLatticePC, Circle, ComplexCarpet, ComplexContourPlot, ComplexDataset, ComplexGridPlot, ComplexInterpolatedPlot, ComplexSurfacePlot, ContourPlot, CustomAxes, DataColumn, DataFunction, DataRaster, Dataset, DatasetManager, DrawableBuffer, DrawableGroup, DrawableShape, DrawableTextLine, FunctionDrawer, GifVideo, GrayscalePlot, Grid, GridPlot, HighlightableDataset, Histogram, HistogramDataset, ImageVideo, IntegerRaster, InteractiveArrow, InteractiveCenteredArrow, InteractiveCircle, InteractiveImage, InteractiveLabel, InteractiveShape, InteractiveTextLine, InterpolatedPlot, MeasuredCircle, MeasuredImage, PolarType1, PolarType2, Protractor, Protractor.Tip, SiteLattice, Spring, Stripchart, SurfacePlot, TCircle, TCoordAxes, TextBox, TitleText, TLine, TLineProfile, TPoint, TrackableCircle, Trail, TrailBezier, TrailSmart, TriangularBinaryLattice, TriangularByteLattice, TShape, TVector, VectorPlot, VideoAdapter, XAxis, XYAxis, YAxis

public interface Drawable

Drawable objects draw themselves in a DrawingPanel.

Version:
1.0
Author:
Wolfgang Christian

Method Summary
 void draw(DrawingPanel panel, java.awt.Graphics g)
          Draws a representation of an object in a drawing panel.
 

Method Detail

draw

void draw(DrawingPanel panel,
          java.awt.Graphics g)
Draws a representation of an object in a drawing panel.

Parameters:
panel -
g -