uk.ac.starlink.ttools.plot2.layer
Class PixogramPlotter.PixoStyle

java.lang.Object
  extended by uk.ac.starlink.ttools.plot2.layer.PixogramPlotter.PixoStyle
All Implemented Interfaces:
Style
Enclosing class:
PixogramPlotter

public static class PixogramPlotter.PixoStyle
extends Object
implements Style

Style subclass for pixogram plots.


Constructor Summary
PixogramPlotter.PixoStyle(Color color, Stroke stroke, int width, boolean isCumulative, Normalisation norm)
          Constructor.
 
Method Summary
 boolean equals(Object o)
           
 Icon getLegendIcon()
          Returns an icon suitable for displaying in a legend for this style.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PixogramPlotter.PixoStyle

public PixogramPlotter.PixoStyle(Color color,
                                 Stroke stroke,
                                 int width,
                                 boolean isCumulative,
                                 Normalisation norm)
Constructor.

Parameters:
color - plot colour
stroke - line stroke, null for filled area
width - smoothing width in pixels
isCumulative - are bins painted cumulatively
norm - normalisation mode
Method Detail

getLegendIcon

public Icon getLegendIcon()
Description copied from interface: Style
Returns an icon suitable for displaying in a legend for this style.

Specified by:
getLegendIcon in interface Style

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


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