Class DensogramPlotter.DensoStyle

  • All Implemented Interfaces:
    Style
    Enclosing class:
    DensogramPlotter

    public static class DensogramPlotter.DensoStyle
    extends java.lang.Object
    implements Style
    Plotting style for this class.
    • 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

      • DensoStyle

        public DensoStyle​(java.awt.Color baseColor,
                          Shader shader,
                          Scaling scaling,
                          Kernel1dShape kernelShape,
                          Combiner combiner,
                          BinSizer sizer,
                          boolean cumul,
                          int extent,
                          double position)
        Constructor.
        Parameters:
        baseColor - base colour
        shader - colour ramp shader
        scaling - colour ramp scaling function
        kernelShape - smoothing kernel shape
        combiner - pixel bin aggregation mode
        sizer - smoothing width specification
        cumul - are bins painted cumulatively
        extent - height in pixels of density bar
        position - fractional location of density bar (0..1)
    • 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