edu.swri.swiftvis.plot
Interface DataPlotStyle

All Superinterfaces:
Bounded, java.io.Serializable
All Known Implementing Classes:
AveragedStreamlines, AveragedSurface, BarStyle, HistogramStyle, ImageAdder, IsoLineSurface, OrbitStyle, PiePointsStyle, PolygonStyle, RectangleGridSurface, ScatterStyle, SchemeStyle, ScriptStyle, VectorFieldStyle

public interface DataPlotStyle
extends java.io.Serializable, Bounded


Method Summary
 DataPlotStyle copy(PlotArea2D pa)
           
 void drawToGraphics(java.awt.Graphics2D g, PlotTransform trans)
          This draws the plot into the specified Graphics object.
 PlotLegend getLegendInformation()
          This method should return the legend information for this plot style.
 javax.swing.JComponent getPropertiesPanel()
           
 void redoBounds()
           
 
Methods inherited from interface edu.swri.swiftvis.plot.Bounded
getBounds
 

Method Detail

redoBounds

void redoBounds()

getPropertiesPanel

javax.swing.JComponent getPropertiesPanel()

getLegendInformation

PlotLegend getLegendInformation()
This method should return the legend information for this plot style. If there is no legend information for this type of plot, then it should return null.

Returns:
The legend information or null if none.

drawToGraphics

void drawToGraphics(java.awt.Graphics2D g,
                    PlotTransform trans)
This draws the plot into the specified Graphics object. It assumes that the transform and clipping for that Graphics object have all been set up so that the markers can be drawn at their normal locations. The xSize and ySize are passed in so that it can figure out how large to make the markers if needed.


copy

DataPlotStyle copy(PlotArea2D pa)