| org.jfree.chart.renderer.category.AbstractCategoryItemRenderer org.jfree.chart.renderer.category.BoxAndWhiskerRenderer
Method Summary | |
public void | drawHorizontalItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column) Draws the visual representation of a single data item when the plot has
a horizontal orientation. | public void | drawItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draw a single data item. | public void | drawVerticalItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column) Draws the visual representation of a single data item when the plot has
a vertical orientation. | public boolean | equals(Object obj) Tests this renderer for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public Paint | getArtifactPaint() Returns the paint used to color the median and average markers. | public boolean | getFillBox() Returns the flag that controls whether or not the box is filled. | public double | getItemMargin() Returns the item margin. | public LegendItem | getLegendItem(int datasetIndex, int series) Returns a legend item for a series.
Parameters: datasetIndex - the dataset index (zero-based). Parameters: series - the series index (zero-based). | public CategoryItemRendererState | initialise(Graphics2D g2, Rectangle2D dataArea, CategoryPlot plot, int rendererIndex, PlotRenderingInfo info) Initialises the renderer. | public void | setArtifactPaint(Paint paint) Sets the paint used to color the median and average markers and sends
a
RendererChangeEvent to all registered listeners. | public void | setFillBox(boolean flag) Sets the flag that controls whether or not the box is filled and sends a
RendererChangeEvent to all registered listeners. | public void | setItemMargin(double margin) Sets the item margin and sends a
RendererChangeEvent to all
registered listeners. |
BoxAndWhiskerRenderer | public BoxAndWhiskerRenderer()(Code) | | Default constructor.
|
drawHorizontalItem | public void drawHorizontalItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column)(Code) | | Draws the visual representation of a single data item when the plot has
a horizontal orientation.
Parameters: g2 - the graphics device. Parameters: state - the renderer state. Parameters: dataArea - the area within which the plot is being drawn. Parameters: plot - the plot (can be used to obtain standard color information etc). Parameters: domainAxis - the domain axis. Parameters: rangeAxis - the range axis. Parameters: dataset - the dataset. Parameters: row - the row index (zero-based). Parameters: column - the column index (zero-based). |
drawItem | public void drawItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass)(Code) | | Draw a single data item.
Parameters: g2 - the graphics device. Parameters: state - the renderer state. Parameters: dataArea - the area in which the data is drawn. Parameters: plot - the plot. Parameters: domainAxis - the domain axis. Parameters: rangeAxis - the range axis. Parameters: dataset - the data. Parameters: row - the row index (zero-based). Parameters: column - the column index (zero-based). Parameters: pass - the pass index. |
drawVerticalItem | public void drawVerticalItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column)(Code) | | Draws the visual representation of a single data item when the plot has
a vertical orientation.
Parameters: g2 - the graphics device. Parameters: state - the renderer state. Parameters: dataArea - the area within which the plot is being drawn. Parameters: plot - the plot (can be used to obtain standard color information etc). Parameters: domainAxis - the domain axis. Parameters: rangeAxis - the range axis. Parameters: dataset - the dataset. Parameters: row - the row index (zero-based). Parameters: column - the column index (zero-based). |
equals | public boolean equals(Object obj)(Code) | | Tests this renderer for equality with an arbitrary object.
Parameters: obj - the object (null permitted). true or false . |
getLegendItem | public LegendItem getLegendItem(int datasetIndex, int series)(Code) | | Returns a legend item for a series.
Parameters: datasetIndex - the dataset index (zero-based). Parameters: series - the series index (zero-based). The legend item (possibly null ). |
initialise | public CategoryItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea, CategoryPlot plot, int rendererIndex, PlotRenderingInfo info)(Code) | | Initialises the renderer. This method gets called once at the start of
the process of drawing a chart.
Parameters: g2 - the graphics device. Parameters: dataArea - the area in which the data is to be plotted. Parameters: plot - the plot. Parameters: rendererIndex - the renderer index. Parameters: info - collects chart rendering information for return to caller. The renderer state. |
Methods inherited from org.jfree.chart.renderer.category.AbstractCategoryItemRenderer | protected void addItemEntity(EntityCollection entities, CategoryDataset dataset, int row, int column, Shape hotspot)(Code)(Java Doc) protected Point2D calculateDomainMarkerTextAnchorPoint(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor)(Code)(Java Doc) protected Point2D calculateRangeMarkerTextAnchorPoint(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor)(Code)(Java Doc) public Object clone() throws CloneNotSupportedException(Code)(Java Doc) protected CategoryItemRendererState createState(PlotRenderingInfo info)(Code)(Java Doc) public void drawBackground(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea)(Code)(Java Doc) public void drawDomainGridline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, double value)(Code)(Java Doc) public void drawDomainMarker(Graphics2D g2, CategoryPlot plot, CategoryAxis axis, CategoryMarker marker, Rectangle2D dataArea)(Code)(Java Doc) protected void drawItemLabel(Graphics2D g2, PlotOrientation orientation, CategoryDataset dataset, int row, int column, double x, double y, boolean negative)(Code)(Java Doc) public void drawOutline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea)(Code)(Java Doc) public void drawRangeGridline(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Rectangle2D dataArea, double value)(Code)(Java Doc) public void drawRangeMarker(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea)(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public Range findRangeBounds(CategoryDataset dataset)(Code)(Java Doc) public CategoryItemLabelGenerator getBaseItemLabelGenerator()(Code)(Java Doc) public CategoryURLGenerator getBaseItemURLGenerator()(Code)(Java Doc) public CategoryToolTipGenerator getBaseToolTipGenerator()(Code)(Java Doc) public int getColumnCount()(Code)(Java Doc) protected CategoryAxis getDomainAxis(CategoryPlot plot, int index)(Code)(Java Doc) public DrawingSupplier getDrawingSupplier()(Code)(Java Doc) public CategoryItemLabelGenerator getItemLabelGenerator(int row, int column)(Code)(Java Doc) public CategoryURLGenerator getItemURLGenerator(int row, int column)(Code)(Java Doc) public LegendItem getLegendItem(int datasetIndex, int series)(Code)(Java Doc) public CategorySeriesLabelGenerator getLegendItemLabelGenerator()(Code)(Java Doc) public CategorySeriesLabelGenerator getLegendItemToolTipGenerator()(Code)(Java Doc) public CategorySeriesLabelGenerator getLegendItemURLGenerator()(Code)(Java Doc) public LegendItemCollection getLegendItems()(Code)(Java Doc) public int getPassCount()(Code)(Java Doc) public CategoryPlot getPlot()(Code)(Java Doc) protected ValueAxis getRangeAxis(CategoryPlot plot, int index)(Code)(Java Doc) public int getRowCount()(Code)(Java Doc) public CategoryItemLabelGenerator getSeriesItemLabelGenerator(int series)(Code)(Java Doc) public CategoryURLGenerator getSeriesItemURLGenerator(int series)(Code)(Java Doc) public CategoryToolTipGenerator getSeriesToolTipGenerator(int series)(Code)(Java Doc) public CategoryToolTipGenerator getToolTipGenerator(int row, int column)(Code)(Java Doc) public CategoryToolTipGenerator getToolTipGenerator()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public CategoryItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea, CategoryPlot plot, int rendererIndex, PlotRenderingInfo info)(Code)(Java Doc) public void setBaseItemLabelGenerator(CategoryItemLabelGenerator generator)(Code)(Java Doc) public void setBaseItemURLGenerator(CategoryURLGenerator generator)(Code)(Java Doc) public void setBaseToolTipGenerator(CategoryToolTipGenerator generator)(Code)(Java Doc) public void setItemLabelGenerator(CategoryItemLabelGenerator generator)(Code)(Java Doc) public void setItemURLGenerator(CategoryURLGenerator generator)(Code)(Java Doc) public void setLegendItemLabelGenerator(CategorySeriesLabelGenerator generator)(Code)(Java Doc) public void setLegendItemToolTipGenerator(CategorySeriesLabelGenerator generator)(Code)(Java Doc) public void setLegendItemURLGenerator(CategorySeriesLabelGenerator generator)(Code)(Java Doc) public void setPlot(CategoryPlot plot)(Code)(Java Doc) public void setSeriesItemLabelGenerator(int series, CategoryItemLabelGenerator generator)(Code)(Java Doc) public void setSeriesItemURLGenerator(int series, CategoryURLGenerator generator)(Code)(Java Doc) public void setSeriesToolTipGenerator(int series, CategoryToolTipGenerator generator)(Code)(Java Doc) public void setToolTipGenerator(CategoryToolTipGenerator generator)(Code)(Java Doc)
|
|
|