Package adams.gui.visualization.sequence
Interface PaintletWithCustomDataSupport
-
- All Superinterfaces:
Paintlet,ShallowCopySupporter<Paintlet>,XYSequencePaintlet
- All Known Implementing Classes:
BarPaintlet,CirclePaintlet,CrossPaintlet,DotPaintlet,ErrorCirclePaintlet,ErrorCrossPaintlet,IncrementalSumPaintlet,LinePaintlet,MeanOverlayPaintlet,MedianOverlayPaintlet,MetaDataValuePaintlet,PercentileOverlayPaintlet,SquarePaintlet,StdDevOverlayPaintlet,StickPaintlet,TrianglePaintlet
public interface PaintletWithCustomDataSupport extends XYSequencePaintlet
Interface for paintlets that support drawing of custom data.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddrawCustomData(Graphics g, PaintEvent.PaintMoment moment, XYSequence data, Color color)Draws the custom data with the given color.-
Methods inherited from interface adams.gui.visualization.core.Paintlet
canPaint, getPaintMoment, getPanel, getPlot, getRepaintOnChange, hasPanel, isEnabled, paint, performPaint, setEnabled, setPanel, setPanel, setRepaintOnChange
-
Methods inherited from interface adams.core.ShallowCopySupporter
shallowCopy, shallowCopy
-
Methods inherited from interface adams.gui.visualization.sequence.XYSequencePaintlet
getSequencePanel, newHitDetector
-
-
-
-
Method Detail
-
drawCustomData
void drawCustomData(Graphics g, PaintEvent.PaintMoment moment, XYSequence data, Color color)
Draws the custom data with the given color.- Parameters:
g- the graphics contextmoment- the paint momentdata- the data to drawcolor- the color to draw in
-
-