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, BouncingBall, BoundedImage, BoundedShape, BoundedTextLine, Box, ByteRaster, Carpet, CartesianInteractive, CartesianType1, CartesianType2, CartesianType3, CCA, CellLattice, CellLatticeOSX, CellLatticePC, Charge, Circle, ComplexCarpet, ComplexContourPlot, ComplexDataset, ComplexGridPlot, ComplexInterpolatedPlot, ComplexSurfacePlot, ContourPlot, ContractedRing, CustomAxes, DataColumn, DataFunction, DataRaster, Dataset, DatasetManager, DrawableBuffer, DrawableGroup, DrawableShape, DrawableTextLine, FastLatticeGas, FieldLine, Freeway, FunctionDrawer, GalaxyApp, GenePool, GifVideo, GrayscalePlot, Grid, GridPlot, HardDisks, HighlightableDataset, Histogram, HistogramDataset, ImageVideo, IntegerRaster, InteractiveArrow, InteractiveCenteredArrow, InteractiveCircle, InteractiveImage, InteractiveLabel, InteractiveShape, InteractiveTextLine, InterpolatedPlot, KochApp, LatticeGas, LJParticles, ManyDemons, MeasuredCircle, MeasuredImage, Methane, ObservedRing, Oscillators, OscillatorsMode, Pendulum, PixelRectangle, Planet, Planet2, PolarType1, PolarType2, PreferentialAttachment, Projectile, Protractor, Protractor.Tip, RadiatingCharge, RectangularApproximation, SHOModel, SiteLattice, Spring, Stripchart, SurfacePlot, TCircle, TCoordAxes, TextBox, ThreeBody, TitleText, TLine, TLineProfile, TPoint, TrackableCircle, Trail, TrailBezier, TrailSmart, TriangularBinaryLattice, TriangularByteLattice, TShape, TVector, VectorPlot, VideoAdapter, WorldRectangle, XAxis, XYAxis, YAxis

public interface Drawable

Drawable objects draw themselves in a DrawingPanel.


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 -