Class TracePlotter.TraceStyle

  • All Implemented Interfaces:
    Style
    Enclosing class:
    TracePlotter

    public static class TracePlotter.TraceStyle
    extends java.lang.Object
    implements Style
    Style for trace plot.
    • Constructor Summary

      Constructors 
      Constructor Description
      TraceStyle​(java.awt.Color color, boolean isHorizontal, int thickness, double qlo, double qhi, Kernel1dShape kernelShape, BinSizer smoothSizer, TracePlotter.QJoin join)
      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

      • TraceStyle

        public TraceStyle​(java.awt.Color color,
                          boolean isHorizontal,
                          int thickness,
                          double qlo,
                          double qhi,
                          Kernel1dShape kernelShape,
                          BinSizer smoothSizer,
                          TracePlotter.QJoin join)
        Constructor.
        Parameters:
        color - colour
        isHorizontal - true for horizontal fill, false for vertical
        thickness - line thickness
        qlo - target lower quantile in range 0..1
        qhi - target upper quantile in range 0..1
        kernelShape - smoothing kernel
        smoothSizer - smoothing extent control
        join - join type
    • 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