uk.ac.starlink.ttools.plot2.layer
Class SpectrogramPlotter.SpectroStyle

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

public static class SpectrogramPlotter.SpectroStyle
extends Object
implements Style

Style subclass for SpectrogramPlotter.


Constructor Summary
SpectrogramPlotter.SpectroStyle(Shader shader, Scaling scaling, Color nullColor, SpectrogramPlotter.ChannelGrid grid)
          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

SpectrogramPlotter.SpectroStyle

public SpectrogramPlotter.SpectroStyle(Shader shader,
                                       Scaling scaling,
                                       Color nullColor,
                                       SpectrogramPlotter.ChannelGrid grid)
Constructor.

Parameters:
shader - shader
scaling - maps data values to shader ramp
nullColor - colour to use for blank spectral values
grid - channel bounds grid
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.