uk.ac.starlink.ttools.plot
Interface Style

All Known Implementing Classes:
AbstractKernelDensityPlotter.KDenseStyle, BarStyle, ContourStyle, DefaultStyle, DensityStyle, DensogramPlotter.DensoStyle, FunctionPlotter.FunctionStyle, HistogramPlotter.HistoStyle, LabelStyle, LineStyle, MarkStyle, ShapeStyle, SpectrogramPlotter.SpectroStyle, SpotPlotter.SpotStyle

public interface Style

Defines a style for marking a set of data. This interface currently defines only a method for drawing an example marker for use in a legend, but plot-type-specific classes will probably have to define additional methods.

Note it is essential that Style implementations provide implementations of equals() (and hence also of hashCode()) for which equality means that styles look the same as each other. An equals implementation based on identity (inherited from the behaviour of Object) will lead to poor performance of the plotting classes.

Since:
16 Nov 2005
Author:
Mark Taylor

Method Summary
 Icon getLegendIcon()
          Returns an icon suitable for displaying in a legend for this style.
 

Method Detail

getLegendIcon

Icon getLegendIcon()
Returns an icon suitable for displaying in a legend for this style.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.