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, AnalyticParticle, Arrow, AutoTracker, AutoTracker.Corner, AutoTracker.Handle, AutoTracker.Target, BinaryLattice, BoundedImage, BoundedShape, BoundedTextLine, ByteRaster, Calibration, CalibrationStep.Position, Carpet, CartesianInteractive, CartesianType1, CartesianType2, CartesianType3, CellLattice, CellLatticeOSX, CellLatticePC, CenterOfMass, Circle, ComplexCarpet, ComplexContourPlot, ComplexDataset, ComplexGridPlot, ComplexInterpolatedPlot, ComplexSurfacePlot, ContourPlot, CoordAxes, CustomAxes, DataColumn, DataFunction, DataRaster, Dataset, DatasetManager, DrawableBuffer, DrawableGroup, DrawableShape, DrawableTextLine, DynamicParticle, DynamicParticleConvertible, DynamicParticlePolar, DynamicSystem, FunctionDrawer, GifVideo, GrayscalePlot, Grid, GridPlot, HighlightableDataset, Histogram, HistogramDataset, ImageVideo, IntegerRaster, InteractiveArrow, InteractiveCenteredArrow, InteractiveCircle, InteractiveImage, InteractiveLabel, InteractiveShape, InteractiveTextLine, InterpolatedPlot, LineProfile, MeasuredCircle, MeasuredImage, OffsetOrigin, OffsetOriginStep.Position, ParticleModel, PointMass, PolarType1, PolarType2, PositionStep.Position, Protractor, Protractor, Protractor.Tip, QTVideo, RGBRegion, RGBStep.Position, SiteLattice, Spring, Stripchart, SurfacePlot, TapeMeasure, TCircle, TCoordAxes, TextBox, TitleText, TLine, TLineProfile, TMat, TPoint, TrackableCircle, Trail, TrailBezier, TrailSmart, TriangularBinaryLattice, TriangularByteLattice, TShape, TTrack, TVector, Vector, VectorPlot, VectorSum, VideoAdapter, XAxis, XuggleVideo, 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 -