Class SkyGridPlotter.GridStyle

  • All Implemented Interfaces:
    Style
    Enclosing class:
    SkyGridPlotter

    public static class SkyGridPlotter.GridStyle
    extends java.lang.Object
    implements Style
    Style for configuring the grid plot.
    • Constructor Summary

      Constructors 
      Constructor Description
      GridStyle​(Rotation rotation, java.awt.Color color, SkyAxisLabeller labeller, Captioner captioner, boolean sexagesimal, double loncrowd, double latcrowd, boolean antialias)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      javax.swing.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

      • GridStyle

        public GridStyle​(Rotation rotation,
                         java.awt.Color color,
                         SkyAxisLabeller labeller,
                         Captioner captioner,
                         boolean sexagesimal,
                         double loncrowd,
                         double latcrowd,
                         boolean antialias)
        Constructor.
        Parameters:
        rotation - rotation from plot basic orientation
        color - grid line colour
        labeller - grid line label positioner
        captioner - grid line label captioner
        sexagesimal - true for sexagesimal, false for decimal
        loncrowd - longitude grid line crowding, 1 is normal
        latcrowd - latitude grid line crowding, 1 is normal
        antialias - true for antialiased lines
    • Method Detail

      • getLegendIcon

        public javax.swing.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 java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object