com.rapidminer.gui.plotter.charts
Class RapidXYBarPainter

java.lang.Object
  extended by com.rapidminer.gui.plotter.charts.RapidXYBarPainter
All Implemented Interfaces:
org.jfree.chart.renderer.xy.XYBarPainter

public class RapidXYBarPainter
extends java.lang.Object
implements org.jfree.chart.renderer.xy.XYBarPainter

The painter for the bar charts.

Author:
Ingo Mierswa

Constructor Summary
RapidXYBarPainter()
          Creates a new instance.
RapidXYBarPainter(double g1, double g2, double g3)
          Creates a new instance.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Tests this instance for equality with an arbitrary object.
 int hashCode()
          Returns a hash code for this instance.
 void paintBar(java.awt.Graphics2D g2, org.jfree.chart.renderer.category.BarRenderer renderer, int row, int column, java.awt.geom.RectangularShape bar, org.jfree.ui.RectangleEdge base)
          Paints a single bar instance.
 void paintBar(java.awt.Graphics2D g2, org.jfree.chart.renderer.xy.XYBarRenderer renderer, int row, int column, java.awt.geom.RectangularShape bar, org.jfree.ui.RectangleEdge base)
           
 void paintBarShadow(java.awt.Graphics2D arg0, org.jfree.chart.renderer.xy.XYBarRenderer arg1, int arg2, int arg3, java.awt.geom.RectangularShape arg4, org.jfree.ui.RectangleEdge arg5, boolean arg6)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RapidXYBarPainter

public RapidXYBarPainter()
Creates a new instance.


RapidXYBarPainter

public RapidXYBarPainter(double g1,
                         double g2,
                         double g3)
Creates a new instance.

Parameters:
g1 -
g2 -
g3 -
Method Detail

paintBar

public void paintBar(java.awt.Graphics2D g2,
                     org.jfree.chart.renderer.category.BarRenderer renderer,
                     int row,
                     int column,
                     java.awt.geom.RectangularShape bar,
                     org.jfree.ui.RectangleEdge base)
Paints a single bar instance.

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.

equals

public boolean equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object.

Overrides:
equals in class java.lang.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 java.lang.Object
Returns:
A hash code.

paintBar

public void paintBar(java.awt.Graphics2D g2,
                     org.jfree.chart.renderer.xy.XYBarRenderer renderer,
                     int row,
                     int column,
                     java.awt.geom.RectangularShape bar,
                     org.jfree.ui.RectangleEdge base)
Specified by:
paintBar in interface org.jfree.chart.renderer.xy.XYBarPainter

paintBarShadow

public void paintBarShadow(java.awt.Graphics2D arg0,
                           org.jfree.chart.renderer.xy.XYBarRenderer arg1,
                           int arg2,
                           int arg3,
                           java.awt.geom.RectangularShape arg4,
                           org.jfree.ui.RectangleEdge arg5,
                           boolean arg6)
Specified by:
paintBarShadow in interface org.jfree.chart.renderer.xy.XYBarPainter


Copyright © 2001-2009 by Rapid-I