Class StandardBarPainter

    • Constructor Detail

      • StandardBarPainter

        public StandardBarPainter()
        Creates a new instance.
    • Method Detail

      • paintBar

        public void paintBar​(Graphics2D g2,
                             BarRenderer renderer,
                             int row,
                             int column,
                             RectangularShape bar,
                             org.jfree.ui.RectangleEdge base)
        Paints a single bar instance.
        Specified by:
        paintBar in interface BarPainter
        Parameters:
        g2 - the graphics target.
        renderer - the renderer.
        row - the row index.
        column - the column index.
        bar - the bar
        base - indicates which side of the rectangle is the base of the bar.
      • paintBarShadow

        public void paintBarShadow​(Graphics2D g2,
                                   BarRenderer renderer,
                                   int row,
                                   int column,
                                   RectangularShape bar,
                                   org.jfree.ui.RectangleEdge base,
                                   boolean pegShadow)
        Paints a single bar instance.
        Specified by:
        paintBarShadow in interface BarPainter
        Parameters:
        g2 - the graphics target.
        renderer - the renderer.
        row - the row index.
        column - the column index.
        bar - the bar
        base - indicates which side of the rectangle is the base of the bar.
        pegShadow - peg the shadow to the base of the bar?
      • equals

        public boolean equals​(Object obj)
        Tests this instance for equality with an arbitrary object.
        Overrides:
        equals in class Object
        Parameters:
        obj - the obj (null permitted).
        Returns:
        A boolean.
      • hashCode

        public int hashCode()
        Returns a hash code for this instance.
        Overrides:
        hashCode in class Object
        Returns:
        A hash code.