Class SphereGridPlotter.GridStyle
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.layer.SphereGridPlotter.GridStyle
-
- All Implemented Interfaces:
Style
- Enclosing class:
- SphereGridPlotter
public static class SphereGridPlotter.GridStyle extends java.lang.Object implements Style
Style class for sphere grid plotter.
-
-
Constructor Summary
Constructors Constructor Description GridStyle(java.awt.Color color, double radius, int thick, int pixgap, int nlon, int nlat, double bgFade)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)javax.swing.IcongetLegendIcon()Returns an icon suitable for displaying in a legend for this style.inthashCode()
-
-
-
Constructor Detail
-
GridStyle
public GridStyle(java.awt.Color color, double radius, int thick, int pixgap, int nlon, int nlat, double bgFade)Constructor.- Parameters:
color- basic grid colourradius- radius of sphere in data unitsthick- line thicknesspixgap- pixel gap for dotted linesnlon- number of longitude linesnlat- number of latitude lines per hemispherebgFade- fading amount to generate background colour
-
-
Method Detail
-
getLegendIcon
public javax.swing.Icon getLegendIcon()
Description copied from interface:StyleReturns an icon suitable for displaying in a legend for this style.- Specified by:
getLegendIconin interfaceStyle
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-