Java Doc for XYItemRenderer.java in  » Chart » jfreechart » org » jfree » chart » renderer » xy » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Chart » jfreechart » org.jfree.chart.renderer.xy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jfree.chart.renderer.xy.XYItemRenderer

All known Subclasses:   org.jfree.chart.renderer.xy.XYBarRenderer,  org.jfree.chart.renderer.xy.AbstractXYItemRenderer,  org.jfree.chart.renderer.xy.XYStepRenderer,  org.jfree.chart.renderer.xy.XYDotRenderer,  org.jfree.chart.renderer.xy.XYBoxAndWhiskerRenderer,  org.jfree.chart.renderer.xy.StandardXYItemRenderer,  org.jfree.chart.renderer.xy.YIntervalRenderer,  org.jfree.chart.renderer.xy.XYLineAndShapeRenderer,  org.jfree.chart.renderer.xy.XYBubbleRenderer,  org.jfree.chart.renderer.xy.XYBlockRenderer,  org.jfree.chart.renderer.xy.HighLowRenderer,  org.jfree.chart.renderer.xy.VectorRenderer,  org.jfree.chart.renderer.xy.XYDifferenceRenderer,  org.jfree.chart.renderer.xy.XYStepAreaRenderer,  org.jfree.chart.renderer.xy.XYAreaRenderer,  org.jfree.chart.renderer.xy.XYAreaRenderer2,  org.jfree.chart.renderer.xy.CandlestickRenderer,  org.jfree.chart.renderer.xy.WindItemRenderer,
XYItemRenderer
public interface XYItemRenderer extends LegendItemSource(Code)
Interface for rendering the visual representation of a single (x, y) item on an XYPlot .

To support cloning charts, it is recommended that renderers implement both the Cloneable and PublicCloneable interfaces.





Method Summary
public  voidaddAnnotation(XYAnnotation annotation)
     Adds an annotation and sends a RendererChangeEvent to all registered listeners.
public  voidaddAnnotation(XYAnnotation annotation, Layer layer)
     Adds an annotation to the specified layer.
public  voidaddChangeListener(RendererChangeListener listener)
     Add a renderer change listener.
public  voiddrawAnnotations(Graphics2D g2, Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, Layer layer, PlotRenderingInfo info)
     Draws all the annotations for the specified layer.
public  voiddrawDomainGridLine(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value)
     Draws a grid line against the domain axis.
public  voiddrawDomainMarker(Graphics2D g2, XYPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea)
     Draws the specified marker against the domain axis.
public  voiddrawItem(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)
     Called for each item to be plotted.
public  voiddrawRangeLine(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value, Paint paint, Stroke stroke)
     Draws a grid line against the range axis.
public  voiddrawRangeMarker(Graphics2D g2, XYPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea)
     Draws a horizontal line across the chart to represent a 'range marker'.
public  voidfillDomainGridBand(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double start, double end)
     Fills a band between two values on the axis.
public  voidfillRangeGridBand(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double start, double end)
     Fills a band between two values on the range axis.
public  RangefindDomainBounds(XYDataset dataset)
     Returns the lower and upper bounds (range) of the x-values in the specified dataset.
Parameters:
  dataset - the dataset (null permitted).
public  RangefindRangeBounds(XYDataset dataset)
     Returns the lower and upper bounds (range) of the y-values in the specified dataset.
public  FontgetBaseItemLabelFont()
     Returns the base item label font (this is used when no other font setting is available).
public  XYItemLabelGeneratorgetBaseItemLabelGenerator()
     Returns the base item label generator.
public  PaintgetBaseItemLabelPaint()
     Returns the base item label paint.
public  BooleangetBaseItemLabelsVisible()
     Returns the base setting for item label visibility.
public  ItemLabelPositiongetBaseNegativeItemLabelPosition()
     Returns the base item label position for negative values.
public  PaintgetBaseOutlinePaint()
     Returns the base outline paint.
public  StrokegetBaseOutlineStroke()
     Returns the base outline stroke.
public  PaintgetBasePaint()
     Returns the base paint.
public  ItemLabelPositiongetBasePositiveItemLabelPosition()
     Returns the base positive item label position.
public  booleangetBaseSeriesVisible()
     Returns the base visibility for all series.
public  booleangetBaseSeriesVisibleInLegend()
     Returns the base visibility in the legend for all series.
public  ShapegetBaseShape()
     Returns the base shape.
public  StrokegetBaseStroke()
     Returns the base stroke.
public  XYToolTipGeneratorgetBaseToolTipGenerator()
     Returns the base tool tip generator.
public  FontgetItemLabelFont(int row, int column)
     Returns the font for an item label.
Parameters:
  row - the row index (zero-based).
Parameters:
  column - the column index (zero-based).
public  FontgetItemLabelFont()
     Returns the font used for all item labels.
public  XYItemLabelGeneratorgetItemLabelGenerator(int row, int column)
     Returns the item label generator for a data item.
Parameters:
  row - the row index (zero based).
Parameters:
  column - the column index (zero based).
public  PaintgetItemLabelPaint(int row, int column)
     Returns the paint used to draw an item label.
Parameters:
  row - the row index (zero based).
Parameters:
  column - the column index (zero based).
public  PaintgetItemLabelPaint()
     Returns the paint used for all item labels.
public  PaintgetItemOutlinePaint(int row, int column)
     Returns the paint used to outline data items as they are drawn.
Parameters:
  row - the row (or series) index (zero-based).
Parameters:
  column - the column (or category) index (zero-based).
public  StrokegetItemOutlineStroke(int row, int column)
     Returns the stroke used to outline data items.
public  PaintgetItemPaint(int row, int column)
     Returns the paint used to fill data items as they are drawn.
Parameters:
  row - the row (or series) index (zero-based).
Parameters:
  column - the column (or category) index (zero-based).
public  ShapegetItemShape(int row, int column)
     Returns a shape used to represent a data item.
Parameters:
  row - the row (or series) index (zero-based).
Parameters:
  column - the column (or category) index (zero-based).
public  StrokegetItemStroke(int row, int column)
     Returns the stroke used to draw data items.
Parameters:
  row - the row (or series) index (zero-based).
Parameters:
  column - the column (or category) index (zero-based).
public  booleangetItemVisible(int series, int item)
     Returns a boolean that indicates whether or not the specified item should be drawn (this is typically used to hide an entire series).
Parameters:
  series - the series index.
Parameters:
  item - the item index.
public  LegendItemgetLegendItem(int datasetIndex, int series)
     Returns a legend item for a series from a dataset.
Parameters:
  datasetIndex - the dataset index.
Parameters:
  series - the series (zero-based index).
public  XYSeriesLabelGeneratorgetLegendItemLabelGenerator()
     Returns the legend item label generator.
public  ItemLabelPositiongetNegativeItemLabelPosition(int row, int column)
     Returns the item label position for negative values.
public  ItemLabelPositiongetNegativeItemLabelPosition()
     Returns the item label position for negative values in ALL series.
public  intgetPassCount()
     Returns the number of passes through the data required by the renderer.
public  XYPlotgetPlot()
     Returns the plot that this renderer has been assigned to.
public  ItemLabelPositiongetPositiveItemLabelPosition(int row, int column)
     Returns the item label position for positive values.
Parameters:
  row - the row index (zero-based).
Parameters:
  column - the column index (zero-based).
public  ItemLabelPositiongetPositiveItemLabelPosition()
     Returns the item label position for positive values in ALL series.
public  FontgetSeriesItemLabelFont(int series)
     Returns the font for all the item labels in a series.
Parameters:
  series - the series index (zero-based).
public  XYItemLabelGeneratorgetSeriesItemLabelGenerator(int series)
     Returns the item label generator for a series.
Parameters:
  series - the series index (zero based).
public  PaintgetSeriesItemLabelPaint(int series)
     Returns the paint used to draw the item labels for a series.
Parameters:
  series - the series index (zero based).
public  ItemLabelPositiongetSeriesNegativeItemLabelPosition(int series)
     Returns the item label position for all negative values in a series.
Parameters:
  series - the series index (zero-based).
public  PaintgetSeriesOutlinePaint(int series)
     Returns the paint used to outline an item drawn by the renderer.
Parameters:
  series - the series (zero-based index).
public  StrokegetSeriesOutlineStroke(int series)
     Returns the stroke used to outline the items in a series.
Parameters:
  series - the series (zero-based index).
public  PaintgetSeriesPaint(int series)
     Returns the paint used to fill an item drawn by the renderer.
Parameters:
  series - the series index (zero-based).
public  ItemLabelPositiongetSeriesPositiveItemLabelPosition(int series)
     Returns the item label position for all positive values in a series.
Parameters:
  series - the series index (zero-based).
public  ShapegetSeriesShape(int series)
     Returns a shape used to represent the items in a series.
Parameters:
  series - the series (zero-based index).
public  StrokegetSeriesStroke(int series)
     Returns the stroke used to draw the items in a series.
Parameters:
  series - the series (zero-based index).
public  XYToolTipGeneratorgetSeriesToolTipGenerator(int series)
     Returns the tool tip generator for a series.
Parameters:
  series - the series index (zero based).
public  BooleangetSeriesVisible()
     Returns the flag that controls the visibility of ALL series.
public  BooleangetSeriesVisible(int series)
     Returns the flag that controls whether a series is visible.
Parameters:
  series - the series index (zero-based).
public  BooleangetSeriesVisibleInLegend()
     Returns the flag that controls the visibility of ALL series in the legend.
public  BooleangetSeriesVisibleInLegend(int series)
     Returns the flag that controls whether a series is visible in the legend.
public  XYToolTipGeneratorgetToolTipGenerator(int row, int column)
     Returns the tool tip generator for a data item.
Parameters:
  row - the row index (zero based).
Parameters:
  column - the column index (zero based).
public  XYURLGeneratorgetURLGenerator()
     Returns the URL generator for HTML image maps.
public  XYItemRendererStateinitialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info)
     Initialises the renderer then returns the number of 'passes' through the data that the renderer will require (usually just one).
public  booleanisItemLabelVisible(int row, int column)
     Returns true if an item label is visible, and false otherwise.
Parameters:
  row - the row index (zero-based).
Parameters:
  column - the column index (zero-based).
public  booleanisSeriesItemLabelsVisible(int series)
     Returns true if the item labels for a series are visible, and false otherwise.
Parameters:
  series - the series index (zero-based).
public  booleanisSeriesVisible(int series)
     Returns a boolean that indicates whether or not the specified series should be drawn (this is typically used to hide an entire series).
Parameters:
  series - the series index.
public  booleanisSeriesVisibleInLegend(int series)
     Returns true if the series should be shown in the legend, and false otherwise.
Parameters:
  series - the series index.
public  booleanremoveAnnotation(XYAnnotation annotation)
     Removes the specified annotation and sends a RendererChangeEvent to all registered listeners.
Parameters:
  annotation - the annotation to remove (null not permitted).
public  voidremoveAnnotations()
     Removes all annotations and sends a RendererChangeEvent to all registered listeners.
public  voidremoveChangeListener(RendererChangeListener listener)
     Removes a change listener.
public  voidsetBaseItemLabelFont(Font font)
     Sets the base item label font and sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseItemLabelGenerator(XYItemLabelGenerator generator)
     Sets the base item label generator and sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseItemLabelPaint(Paint paint)
     Sets the base item label paint and sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseItemLabelsVisible(boolean visible)
     Sets the base flag that controls whether or not item labels are visible.
public  voidsetBaseItemLabelsVisible(Boolean visible)
     Sets the base setting for item label visibility.
public  voidsetBaseItemLabelsVisible(Boolean visible, boolean notify)
     Sets the base visibility for item labels and, if requested, sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseNegativeItemLabelPosition(ItemLabelPosition position)
     Sets the base item label position for negative values and sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseNegativeItemLabelPosition(ItemLabelPosition position, boolean notify)
     Sets the base negative item label position and, if requested, sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseOutlinePaint(Paint paint)
     Sets the base outline paint and sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseOutlineStroke(Stroke stroke)
     Sets the base outline stroke and sends a RendererChangeEvent to all registered listeners.
public  voidsetBasePaint(Paint paint)
     Sets the base paint and sends a RendererChangeEvent to all registered listeners.
public  voidsetBasePositiveItemLabelPosition(ItemLabelPosition position)
     Sets the base positive item label position.
public  voidsetBasePositiveItemLabelPosition(ItemLabelPosition position, boolean notify)
     Sets the base positive item label position and, if requested, sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseSeriesVisible(boolean visible)
     Sets the base visibility and sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseSeriesVisible(boolean visible, boolean notify)
     Sets the base visibility and, if requested, sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseSeriesVisibleInLegend(boolean visible)
     Sets the base visibility in the legend and sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseSeriesVisibleInLegend(boolean visible, boolean notify)
     Sets the base visibility in the legend and, if requested, sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseShape(Shape shape)
     Sets the base shape and sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseStroke(Stroke stroke)
     Sets the base stroke.
public  voidsetBaseToolTipGenerator(XYToolTipGenerator generator)
     Sets the base tool tip generator and sends a RendererChangeEvent to all registered listeners.
public  voidsetItemLabelFont(Font font)
     Sets the item label font for ALL series and sends a RendererChangeEvent to all registered listeners.
public  voidsetItemLabelGenerator(XYItemLabelGenerator generator)
     Sets the item label generator for ALL series and sends a RendererChangeEvent to all registered listeners.
public  voidsetItemLabelPaint(Paint paint)
     Sets the item label paint for ALL series and sends a RendererChangeEvent to all registered listeners.
public  voidsetItemLabelsVisible(boolean visible)
     Sets a flag that controls whether or not the item labels for ALL series are visible.
public  voidsetItemLabelsVisible(Boolean visible)
     Sets a flag that controls whether or not the item labels for ALL series are visible.
public  voidsetItemLabelsVisible(Boolean visible, boolean notify)
     Sets the visibility of item labels for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners.
public  voidsetLegendItemLabelGenerator(XYSeriesLabelGenerator generator)
     Sets the legend item label generator.
public  voidsetNegativeItemLabelPosition(ItemLabelPosition position)
     Sets the item label position for negative values in ALL series, and sends a RendererChangeEvent to all registered listeners.
public  voidsetNegativeItemLabelPosition(ItemLabelPosition position, boolean notify)
     Sets the item label position for negative values in ALL series and (if requested) sends a RendererChangeEvent to all registered listeners.
public  voidsetOutlinePaint(Paint paint)
     Sets the outline paint for ALL series (optional).
public  voidsetOutlineStroke(Stroke stroke)
     Sets the outline stroke for ALL series and sends a RendererChangeEvent to all registered listeners.
public  voidsetPaint(Paint paint)
     Sets the paint to be used for ALL series, and sends a RendererChangeEvent to all registered listeners.
public  voidsetPlot(XYPlot plot)
     Sets the plot that this renderer is assigned to.
public  voidsetPositiveItemLabelPosition(ItemLabelPosition position)
     Sets the item label position for positive values in ALL series, and sends a RendererChangeEvent to all registered listeners.
public  voidsetPositiveItemLabelPosition(ItemLabelPosition position, boolean notify)
     Sets the positive item label position for ALL series and (if requested) sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesItemLabelFont(int series, Font font)
     Sets the item label font for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesItemLabelGenerator(int series, XYItemLabelGenerator generator)
     Sets the item label generator for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesItemLabelPaint(int series, Paint paint)
     Sets the item label paint for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesItemLabelsVisible(int series, boolean visible)
     Sets a flag that controls the visibility of the item labels for a series.
public  voidsetSeriesItemLabelsVisible(int series, Boolean visible)
     Sets a flag that controls the visibility of the item labels for a series.
public  voidsetSeriesItemLabelsVisible(int series, Boolean visible, boolean notify)
     Sets the visibility of item labels for a series and, if requested, sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesNegativeItemLabelPosition(int series, ItemLabelPosition position)
     Sets the item label position for negative values in a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesNegativeItemLabelPosition(int series, ItemLabelPosition position, boolean notify)
     Sets the item label position for negative values in a series and (if requested) sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesOutlinePaint(int series, Paint paint)
     Sets the paint used for a series outline and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesOutlineStroke(int series, Stroke stroke)
     Sets the outline stroke used for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesPaint(int series, Paint paint)
     Sets the paint used for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesPositiveItemLabelPosition(int series, ItemLabelPosition position)
     Sets the item label position for all positive values in a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesPositiveItemLabelPosition(int series, ItemLabelPosition position, boolean notify)
     Sets the item label position for all positive values in a series and (if requested) sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesShape(int series, Shape shape)
     Sets the shape used for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesStroke(int series, Stroke stroke)
     Sets the stroke used for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesToolTipGenerator(int series, XYToolTipGenerator generator)
     Sets the tool tip generator for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesVisible(Boolean visible)
     Sets the flag that controls the visibility of ALL series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesVisible(Boolean visible, boolean notify)
     Sets the flag that controls the visibility of ALL series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesVisible(int series, Boolean visible)
     Sets the flag that controls whether a series is visible and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesVisible(int series, Boolean visible, boolean notify)
     Sets the flag that controls whether a series is visible and, if requested, sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesVisibleInLegend(Boolean visible)
     Sets the flag that controls the visibility of ALL series in the legend and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesVisibleInLegend(Boolean visible, boolean notify)
     Sets the flag that controls the visibility of ALL series in the legend and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesVisibleInLegend(int series, Boolean visible)
     Sets the flag that controls whether a series is visible in the legend and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesVisibleInLegend(int series, Boolean visible, boolean notify)
     Sets the flag that controls whether a series is visible in the legend and, if requested, sends a RendererChangeEvent to all registered listeners.
public  voidsetShape(Shape shape)
     Sets the shape for ALL series (optional) and sends a RendererChangeEvent to all registered listeners.
public  voidsetStroke(Stroke stroke)
     Sets the stroke for ALL series and sends a RendererChangeEvent to all registered listeners.
public  voidsetToolTipGenerator(XYToolTipGenerator generator)
     Sets the tool tip generator for ALL series and sends a RendererChangeEvent to all registered listeners.
public  voidsetURLGenerator(XYURLGenerator urlGenerator)
     Sets the URL generator for HTML image maps.



Method Detail
addAnnotation
public void addAnnotation(XYAnnotation annotation)(Code)
Adds an annotation and sends a RendererChangeEvent to all registered listeners. The annotation is added to the foreground layer.
Parameters:
  annotation - the annotation (null not permitted).



addAnnotation
public void addAnnotation(XYAnnotation annotation, Layer layer)(Code)
Adds an annotation to the specified layer.
Parameters:
  annotation - the annotation (null not permitted).
Parameters:
  layer - the layer (null not permitted).



addChangeListener
public void addChangeListener(RendererChangeListener listener)(Code)
Add a renderer change listener.
Parameters:
  listener - the listener.



drawAnnotations
public void drawAnnotations(Graphics2D g2, Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, Layer layer, PlotRenderingInfo info)(Code)
Draws all the annotations for the specified layer.
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the data area.
Parameters:
  domainAxis - the domain axis.
Parameters:
  rangeAxis - the range axis.
Parameters:
  layer - the layer.
Parameters:
  info - the plot rendering info.



drawDomainGridLine
public void drawDomainGridLine(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value)(Code)
Draws a grid line against the domain axis.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  axis - the value axis.
Parameters:
  dataArea - the area for plotting data (not yet adjusted for any 3D effect).
Parameters:
  value - the value.



drawDomainMarker
public void drawDomainMarker(Graphics2D g2, XYPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea)(Code)
Draws the specified marker against the domain axis.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  axis - the value axis.
Parameters:
  marker - the marker.
Parameters:
  dataArea - the axis data area.



drawItem
public void drawItem(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)(Code)
Called for each item to be plotted.

The XYPlot can make multiple passes through the dataset, depending on the value returned by the renderer's initialise() method.
Parameters:
  g2 - the graphics device.
Parameters:
  state - the renderer state.
Parameters:
  dataArea - the area within which the data is being rendered.
Parameters:
  info - collects drawing info.
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:
  series - the series index (zero-based).
Parameters:
  item - the item index (zero-based).
Parameters:
  crosshairState - crosshair information for the plot (null permitted).
Parameters:
  pass - the pass index.




drawRangeLine
public void drawRangeLine(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value, Paint paint, Stroke stroke)(Code)
Draws a grid line against the range axis.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  axis - the value axis.
Parameters:
  dataArea - the area for plotting data (not yet adjusted for any 3D effect).
Parameters:
  value - the value.
Parameters:
  paint - the paint (null not permitted).
Parameters:
  stroke - the stroke (null not permitted).



drawRangeMarker
public void drawRangeMarker(Graphics2D g2, XYPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea)(Code)
Draws a horizontal line across the chart to represent a 'range marker'.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  axis - the value axis.
Parameters:
  marker - the marker line.
Parameters:
  dataArea - the axis data area.



fillDomainGridBand
public void fillDomainGridBand(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double start, double end)(Code)
Fills a band between two values on the axis. This can be used to color bands between the grid lines.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  axis - the domain axis.
Parameters:
  dataArea - the data area.
Parameters:
  start - the start value.
Parameters:
  end - the end value.



fillRangeGridBand
public void fillRangeGridBand(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double start, double end)(Code)
Fills a band between two values on the range axis. This can be used to color bands between the grid lines.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  axis - the range axis.
Parameters:
  dataArea - the data area.
Parameters:
  start - the start value.
Parameters:
  end - the end value.



findDomainBounds
public Range findDomainBounds(XYDataset dataset)(Code)
Returns the lower and upper bounds (range) of the x-values in the specified dataset.
Parameters:
  dataset - the dataset (null permitted). The range.



findRangeBounds
public Range findRangeBounds(XYDataset dataset)(Code)
Returns the lower and upper bounds (range) of the y-values in the specified dataset. The implementation of this method will take into account the presentation used by the renderers (for example, a renderer that "stacks" values will return a bigger range than a renderer that doesn't.
Parameters:
  dataset - the dataset (null permitted). The range (or null if the dataset is null or empty).



getBaseItemLabelFont
public Font getBaseItemLabelFont()(Code)
Returns the base item label font (this is used when no other font setting is available). The font (never null).



getBaseItemLabelGenerator
public XYItemLabelGenerator getBaseItemLabelGenerator()(Code)
Returns the base item label generator. The generator (possibly null).



getBaseItemLabelPaint
public Paint getBaseItemLabelPaint()(Code)
Returns the base item label paint. The paint (never null).



getBaseItemLabelsVisible
public Boolean getBaseItemLabelsVisible()(Code)
Returns the base setting for item label visibility. A flag (possibly null).



getBaseNegativeItemLabelPosition
public ItemLabelPosition getBaseNegativeItemLabelPosition()(Code)
Returns the base item label position for negative values. The position (never null).



getBaseOutlinePaint
public Paint getBaseOutlinePaint()(Code)
Returns the base outline paint. The paint (never null).



getBaseOutlineStroke
public Stroke getBaseOutlineStroke()(Code)
Returns the base outline stroke. The stroke (never null).



getBasePaint
public Paint getBasePaint()(Code)
Returns the base paint. The base paint (never null).



getBasePositiveItemLabelPosition
public ItemLabelPosition getBasePositiveItemLabelPosition()(Code)
Returns the base positive item label position. The position (never null).



getBaseSeriesVisible
public boolean getBaseSeriesVisible()(Code)
Returns the base visibility for all series. The base visibility.



getBaseSeriesVisibleInLegend
public boolean getBaseSeriesVisibleInLegend()(Code)
Returns the base visibility in the legend for all series. The base visibility.



getBaseShape
public Shape getBaseShape()(Code)
Returns the base shape. The shape (never null).



getBaseStroke
public Stroke getBaseStroke()(Code)
Returns the base stroke. The base stroke (never null).



getBaseToolTipGenerator
public XYToolTipGenerator getBaseToolTipGenerator()(Code)
Returns the base tool tip generator. The generator (possibly null).



getItemLabelFont
public Font getItemLabelFont(int row, int column)(Code)
Returns the font for an item label.
Parameters:
  row - the row index (zero-based).
Parameters:
  column - the column index (zero-based). The font (never null).



getItemLabelFont
public Font getItemLabelFont()(Code)
Returns the font used for all item labels. This may be null, in which case the per series font settings will apply. The font (possibly null).XYItemRenderer.getSeriesItemLabelFont(int)XYItemRenderer.getBaseItemLabelFont()



getItemLabelGenerator
public XYItemLabelGenerator getItemLabelGenerator(int row, int column)(Code)
Returns the item label generator for a data item.
Parameters:
  row - the row index (zero based).
Parameters:
  column - the column index (zero based). The generator (possibly null).



getItemLabelPaint
public Paint getItemLabelPaint(int row, int column)(Code)
Returns the paint used to draw an item label.
Parameters:
  row - the row index (zero based).
Parameters:
  column - the column index (zero based). The paint (never null).



getItemLabelPaint
public Paint getItemLabelPaint()(Code)
Returns the paint used for all item labels. This may be null, in which case the per series paint settings will apply. The paint (possibly null).XYItemRenderer.getSeriesItemLabelPaint(int)XYItemRenderer.getBaseItemLabelPaint()



getItemOutlinePaint
public Paint getItemOutlinePaint(int row, int column)(Code)
Returns the paint used to outline data items as they are drawn.
Parameters:
  row - the row (or series) index (zero-based).
Parameters:
  column - the column (or category) index (zero-based). The paint (never null).



getItemOutlineStroke
public Stroke getItemOutlineStroke(int row, int column)(Code)
Returns the stroke used to outline data items. The default implementation passes control to the lookupSeriesOutlineStroke method. You can override this method if you require different behaviour.
Parameters:
  row - the row (or series) index (zero-based).
Parameters:
  column - the column (or category) index (zero-based). The stroke (never null).



getItemPaint
public Paint getItemPaint(int row, int column)(Code)
Returns the paint used to fill data items as they are drawn.
Parameters:
  row - the row (or series) index (zero-based).
Parameters:
  column - the column (or category) index (zero-based). The paint (never null).



getItemShape
public Shape getItemShape(int row, int column)(Code)
Returns a shape used to represent a data item.
Parameters:
  row - the row (or series) index (zero-based).
Parameters:
  column - the column (or category) index (zero-based). The shape (never null).



getItemStroke
public Stroke getItemStroke(int row, int column)(Code)
Returns the stroke used to draw data items.
Parameters:
  row - the row (or series) index (zero-based).
Parameters:
  column - the column (or category) index (zero-based). The stroke (never null).



getItemVisible
public boolean getItemVisible(int series, int item)(Code)
Returns a boolean that indicates whether or not the specified item should be drawn (this is typically used to hide an entire series).
Parameters:
  series - the series index.
Parameters:
  item - the item index. A boolean.



getLegendItem
public LegendItem getLegendItem(int datasetIndex, int series)(Code)
Returns a legend item for a series from a dataset.
Parameters:
  datasetIndex - the dataset index.
Parameters:
  series - the series (zero-based index). The legend item (possibly null).



getLegendItemLabelGenerator
public XYSeriesLabelGenerator getLegendItemLabelGenerator()(Code)
Returns the legend item label generator. The legend item label generator (never null).



getNegativeItemLabelPosition
public ItemLabelPosition getNegativeItemLabelPosition(int row, int column)(Code)
Returns the item label position for negative values. This method can be overridden to provide customisation of the item label position for individual data items.
Parameters:
  row - the row index (zero-based).
Parameters:
  column - the column (zero-based). The item label position (never null).



getNegativeItemLabelPosition
public ItemLabelPosition getNegativeItemLabelPosition()(Code)
Returns the item label position for negative values in ALL series. The item label position (possibly null).XYItemRenderer.getSeriesNegativeItemLabelPosition(int)XYItemRenderer.getBaseNegativeItemLabelPosition()



getPassCount
public int getPassCount()(Code)
Returns the number of passes through the data required by the renderer. The pass count.



getPlot
public XYPlot getPlot()(Code)
Returns the plot that this renderer has been assigned to. The plot.



getPositiveItemLabelPosition
public ItemLabelPosition getPositiveItemLabelPosition(int row, int column)(Code)
Returns the item label position for positive values.
Parameters:
  row - the row index (zero-based).
Parameters:
  column - the column index (zero-based). The item label position (never null).



getPositiveItemLabelPosition
public ItemLabelPosition getPositiveItemLabelPosition()(Code)
Returns the item label position for positive values in ALL series. The item label position (possibly null).XYItemRenderer.getSeriesPositiveItemLabelPosition(int)XYItemRenderer.getBasePositiveItemLabelPosition()



getSeriesItemLabelFont
public Font getSeriesItemLabelFont(int series)(Code)
Returns the font for all the item labels in a series.
Parameters:
  series - the series index (zero-based). The font (possibly null).



getSeriesItemLabelGenerator
public XYItemLabelGenerator getSeriesItemLabelGenerator(int series)(Code)
Returns the item label generator for a series.
Parameters:
  series - the series index (zero based). The generator (possibly null).



getSeriesItemLabelPaint
public Paint getSeriesItemLabelPaint(int series)(Code)
Returns the paint used to draw the item labels for a series.
Parameters:
  series - the series index (zero based). The paint (possibly null).



getSeriesNegativeItemLabelPosition
public ItemLabelPosition getSeriesNegativeItemLabelPosition(int series)(Code)
Returns the item label position for all negative values in a series.
Parameters:
  series - the series index (zero-based). The item label position (never null).



getSeriesOutlinePaint
public Paint getSeriesOutlinePaint(int series)(Code)
Returns the paint used to outline an item drawn by the renderer.
Parameters:
  series - the series (zero-based index). The paint (possibly null).



getSeriesOutlineStroke
public Stroke getSeriesOutlineStroke(int series)(Code)
Returns the stroke used to outline the items in a series.
Parameters:
  series - the series (zero-based index). The stroke (possibly null).



getSeriesPaint
public Paint getSeriesPaint(int series)(Code)
Returns the paint used to fill an item drawn by the renderer.
Parameters:
  series - the series index (zero-based). The paint (possibly null).



getSeriesPositiveItemLabelPosition
public ItemLabelPosition getSeriesPositiveItemLabelPosition(int series)(Code)
Returns the item label position for all positive values in a series.
Parameters:
  series - the series index (zero-based). The item label position (never null).



getSeriesShape
public Shape getSeriesShape(int series)(Code)
Returns a shape used to represent the items in a series.
Parameters:
  series - the series (zero-based index). The shape (possibly null).



getSeriesStroke
public Stroke getSeriesStroke(int series)(Code)
Returns the stroke used to draw the items in a series.
Parameters:
  series - the series (zero-based index). The stroke (possibly null).



getSeriesToolTipGenerator
public XYToolTipGenerator getSeriesToolTipGenerator(int series)(Code)
Returns the tool tip generator for a series.
Parameters:
  series - the series index (zero based). The generator (possibly null).



getSeriesVisible
public Boolean getSeriesVisible()(Code)
Returns the flag that controls the visibility of ALL series. This flag overrides the per series and default settings - you must set it to null if you want the other settings to apply. The flag (possibly null).XYItemRenderer.getSeriesVisible(int)XYItemRenderer.getBaseSeriesVisible()



getSeriesVisible
public Boolean getSeriesVisible(int series)(Code)
Returns the flag that controls whether a series is visible.
Parameters:
  series - the series index (zero-based). The flag (possibly null).



getSeriesVisibleInLegend
public Boolean getSeriesVisibleInLegend()(Code)
Returns the flag that controls the visibility of ALL series in the legend. This flag overrides the per series and default settings - you must set it to null if you want the other settings to apply. The flag (possibly null).XYItemRenderer.getSeriesVisibleInLegend(int)XYItemRenderer.getBaseSeriesVisibleInLegend()



getSeriesVisibleInLegend
public Boolean getSeriesVisibleInLegend(int series)(Code)
Returns the flag that controls whether a series is visible in the legend. This method returns only the "per series" settings - to incorporate the override and base settings as well, you need to use the XYItemRenderer.isSeriesVisibleInLegend(int) method.
Parameters:
  series - the series index (zero-based). The flag (possibly null).



getToolTipGenerator
public XYToolTipGenerator getToolTipGenerator(int row, int column)(Code)
Returns the tool tip generator for a data item.
Parameters:
  row - the row index (zero based).
Parameters:
  column - the column index (zero based). The generator (possibly null).



getURLGenerator
public XYURLGenerator getURLGenerator()(Code)
Returns the URL generator for HTML image maps. The URL generator (possibly null).



initialise
public XYItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info)(Code)
Initialises the renderer then returns the number of 'passes' through the data that the renderer will require (usually just one). This method will be called before the first item is rendered, giving the renderer an opportunity to initialise any state information it wants to maintain. The renderer can do nothing if it chooses.
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the area inside the axes.
Parameters:
  plot - the plot.
Parameters:
  dataset - the dataset.
Parameters:
  info - an optional info collection object to return data back to the caller. The number of passes the renderer requires.



isItemLabelVisible
public boolean isItemLabelVisible(int row, int column)(Code)
Returns true if an item label is visible, and false otherwise.
Parameters:
  row - the row index (zero-based).
Parameters:
  column - the column index (zero-based). A boolean.



isSeriesItemLabelsVisible
public boolean isSeriesItemLabelsVisible(int series)(Code)
Returns true if the item labels for a series are visible, and false otherwise.
Parameters:
  series - the series index (zero-based). A boolean.



isSeriesVisible
public boolean isSeriesVisible(int series)(Code)
Returns a boolean that indicates whether or not the specified series should be drawn (this is typically used to hide an entire series).
Parameters:
  series - the series index. A boolean.



isSeriesVisibleInLegend
public boolean isSeriesVisibleInLegend(int series)(Code)
Returns true if the series should be shown in the legend, and false otherwise.
Parameters:
  series - the series index. A boolean.



removeAnnotation
public boolean removeAnnotation(XYAnnotation annotation)(Code)
Removes the specified annotation and sends a RendererChangeEvent to all registered listeners.
Parameters:
  annotation - the annotation to remove (null not permitted). A boolean to indicate whether or not the annotation was successfully removed.



removeAnnotations
public void removeAnnotations()(Code)
Removes all annotations and sends a RendererChangeEvent to all registered listeners.



removeChangeListener
public void removeChangeListener(RendererChangeListener listener)(Code)
Removes a change listener.
Parameters:
  listener - the listener.



setBaseItemLabelFont
public void setBaseItemLabelFont(Font font)(Code)
Sets the base item label font and sends a RendererChangeEvent to all registered listeners.
Parameters:
  font - the font (null not permitted).



setBaseItemLabelGenerator
public void setBaseItemLabelGenerator(XYItemLabelGenerator generator)(Code)
Sets the base item label generator and sends a RendererChangeEvent to all registered listeners.
Parameters:
  generator - the generator (null permitted).



setBaseItemLabelPaint
public void setBaseItemLabelPaint(Paint paint)(Code)
Sets the base item label paint and sends a RendererChangeEvent to all registered listeners.
Parameters:
  paint - the paint (null not permitted).



setBaseItemLabelsVisible
public void setBaseItemLabelsVisible(boolean visible)(Code)
Sets the base flag that controls whether or not item labels are visible.
Parameters:
  visible - the flag.



setBaseItemLabelsVisible
public void setBaseItemLabelsVisible(Boolean visible)(Code)
Sets the base setting for item label visibility.
Parameters:
  visible - the flag (null permitted).



setBaseItemLabelsVisible
public void setBaseItemLabelsVisible(Boolean visible, boolean notify)(Code)
Sets the base visibility for item labels and, if requested, sends a RendererChangeEvent to all registered listeners.
Parameters:
  visible - the visibility flag.
Parameters:
  notify - a flag that controls whether or not listeners arenotified.



setBaseNegativeItemLabelPosition
public void setBaseNegativeItemLabelPosition(ItemLabelPosition position)(Code)
Sets the base item label position for negative values and sends a RendererChangeEvent to all registered listeners.
Parameters:
  position - the position (null not permitted).



setBaseNegativeItemLabelPosition
public void setBaseNegativeItemLabelPosition(ItemLabelPosition position, boolean notify)(Code)
Sets the base negative item label position and, if requested, sends a RendererChangeEvent to all registered listeners.
Parameters:
  position - the position (null not permitted).
Parameters:
  notify - notify registered listeners?



setBaseOutlinePaint
public void setBaseOutlinePaint(Paint paint)(Code)
Sets the base outline paint and sends a RendererChangeEvent to all registered listeners.
Parameters:
  paint - the paint (null not permitted).



setBaseOutlineStroke
public void setBaseOutlineStroke(Stroke stroke)(Code)
Sets the base outline stroke and sends a RendererChangeEvent to all registered listeners.
Parameters:
  stroke - the stroke (null not permitted).



setBasePaint
public void setBasePaint(Paint paint)(Code)
Sets the base paint and sends a RendererChangeEvent to all registered listeners.
Parameters:
  paint - the paint (null not permitted).



setBasePositiveItemLabelPosition
public void setBasePositiveItemLabelPosition(ItemLabelPosition position)(Code)
Sets the base positive item label position.
Parameters:
  position - the position (null not permitted).



setBasePositiveItemLabelPosition
public void setBasePositiveItemLabelPosition(ItemLabelPosition position, boolean notify)(Code)
Sets the base positive item label position and, if requested, sends a RendererChangeEvent to all registered listeners.
Parameters:
  position - the position (null not permitted).
Parameters:
  notify - notify registered listeners?



setBaseSeriesVisible
public void setBaseSeriesVisible(boolean visible)(Code)
Sets the base visibility and sends a RendererChangeEvent to all registered listeners.
Parameters:
  visible - the flag.



setBaseSeriesVisible
public void setBaseSeriesVisible(boolean visible, boolean notify)(Code)
Sets the base visibility and, if requested, sends a RendererChangeEvent to all registered listeners.
Parameters:
  visible - the visibility.
Parameters:
  notify - notify listeners?



setBaseSeriesVisibleInLegend
public void setBaseSeriesVisibleInLegend(boolean visible)(Code)
Sets the base visibility in the legend and sends a RendererChangeEvent to all registered listeners.
Parameters:
  visible - the flag.



setBaseSeriesVisibleInLegend
public void setBaseSeriesVisibleInLegend(boolean visible, boolean notify)(Code)
Sets the base visibility in the legend and, if requested, sends a RendererChangeEvent to all registered listeners.
Parameters:
  visible - the visibility.
Parameters:
  notify - notify listeners?



setBaseShape
public void setBaseShape(Shape shape)(Code)
Sets the base shape and sends a RendererChangeEvent to all registered listeners.
Parameters:
  shape - the shape (null not permitted).



setBaseStroke
public void setBaseStroke(Stroke stroke)(Code)
Sets the base stroke.
Parameters:
  stroke - the stroke (null not permitted).



setBaseToolTipGenerator
public void setBaseToolTipGenerator(XYToolTipGenerator generator)(Code)
Sets the base tool tip generator and sends a RendererChangeEvent to all registered listeners.
Parameters:
  generator - the generator (null permitted).



setItemLabelFont
public void setItemLabelFont(Font font)(Code)
Sets the item label font for ALL series and sends a RendererChangeEvent to all registered listeners. You can set this to null if you prefer to set the font on a per series basis.
Parameters:
  font - the font (null permitted).XYItemRenderer.setSeriesItemLabelFont(int,Font)XYItemRenderer.setBaseItemLabelFont(Font)



setItemLabelGenerator
public void setItemLabelGenerator(XYItemLabelGenerator generator)(Code)
Sets the item label generator for ALL series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  generator - the generator (null permitted).XYItemRenderer.setBaseItemLabelGenerator(XYItemLabelGenerator)



setItemLabelPaint
public void setItemLabelPaint(Paint paint)(Code)
Sets the item label paint for ALL series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  paint - the paint (null permitted).XYItemRenderer.setSeriesItemLabelPaint(int,Paint)XYItemRenderer.setBaseItemLabelPaint(Paint)



setItemLabelsVisible
public void setItemLabelsVisible(boolean visible)(Code)
Sets a flag that controls whether or not the item labels for ALL series are visible.
Parameters:
  visible - the flag.XYItemRenderer.setSeriesItemLabelsVisible(int,Boolean)XYItemRenderer.setBaseItemLabelsVisible(boolean)



setItemLabelsVisible
public void setItemLabelsVisible(Boolean visible)(Code)
Sets a flag that controls whether or not the item labels for ALL series are visible.
Parameters:
  visible - the flag (null permitted).XYItemRenderer.setSeriesItemLabelsVisible(int,Boolean)XYItemRenderer.setBaseItemLabelsVisible(boolean)



setItemLabelsVisible
public void setItemLabelsVisible(Boolean visible, boolean notify)(Code)
Sets the visibility of item labels for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners.
Parameters:
  visible - a flag that controls whether or not the item labels arevisible (null permitted).
Parameters:
  notify - a flag that controls whether or not listeners are notified.XYItemRenderer.setSeriesItemLabelsVisible(int,Boolean,boolean)XYItemRenderer.setBaseItemLabelsVisible(Boolean,boolean)



setLegendItemLabelGenerator
public void setLegendItemLabelGenerator(XYSeriesLabelGenerator generator)(Code)
Sets the legend item label generator.
Parameters:
  generator - the generator (null not permitted).



setNegativeItemLabelPosition
public void setNegativeItemLabelPosition(ItemLabelPosition position)(Code)
Sets the item label position for negative values in ALL series, and sends a RendererChangeEvent to all registered listeners. You need to set this to null to expose the settings for individual series.
Parameters:
  position - the position (null permitted).XYItemRenderer.setSeriesNegativeItemLabelPosition(int,ItemLabelPosition)XYItemRenderer.setBaseNegativeItemLabelPosition(ItemLabelPosition)



setNegativeItemLabelPosition
public void setNegativeItemLabelPosition(ItemLabelPosition position, boolean notify)(Code)
Sets the item label position for negative values in ALL series and (if requested) sends a RendererChangeEvent to all registered listeners.
Parameters:
  position - the position (null permitted).
Parameters:
  notify - notify registered listeners?XYItemRenderer.setSeriesNegativeItemLabelPosition(int,ItemLabelPosition,boolean)XYItemRenderer.setBaseNegativeItemLabelPosition(ItemLabelPosition,boolean)



setOutlinePaint
public void setOutlinePaint(Paint paint)(Code)
Sets the outline paint for ALL series (optional).
Parameters:
  paint - the paint (null permitted).XYItemRenderer.setSeriesOutlinePaint(int,Paint)XYItemRenderer.setBaseOutlinePaint(Paint)



setOutlineStroke
public void setOutlineStroke(Stroke stroke)(Code)
Sets the outline stroke for ALL series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  stroke - the stroke (null permitted).XYItemRenderer.setSeriesOutlineStroke(int,Stroke)XYItemRenderer.setBaseOutlineStroke(Stroke)



setPaint
public void setPaint(Paint paint)(Code)
Sets the paint to be used for ALL series, and sends a RendererChangeEvent to all registered listeners. If this is null, the renderer will use the paint for the series.
Parameters:
  paint - the paint (null permitted).XYItemRenderer.setSeriesPaint(int,Paint)XYItemRenderer.setBasePaint(Paint)



setPlot
public void setPlot(XYPlot plot)(Code)
Sets the plot that this renderer is assigned to. This method will be called by the plot class...you do not need to call it yourself.
Parameters:
  plot - the plot.



setPositiveItemLabelPosition
public void setPositiveItemLabelPosition(ItemLabelPosition position)(Code)
Sets the item label position for positive values in ALL series, and sends a RendererChangeEvent to all registered listeners. You need to set this to null to expose the settings for individual series.
Parameters:
  position - the position (null permitted).XYItemRenderer.setSeriesPositiveItemLabelPosition(int,ItemLabelPosition)XYItemRenderer.setBasePositiveItemLabelPosition(ItemLabelPosition)



setPositiveItemLabelPosition
public void setPositiveItemLabelPosition(ItemLabelPosition position, boolean notify)(Code)
Sets the positive item label position for ALL series and (if requested) sends a RendererChangeEvent to all registered listeners.
Parameters:
  position - the position (null permitted).
Parameters:
  notify - notify registered listeners?XYItemRenderer.setSeriesPositiveItemLabelPosition(int,ItemLabelPosition,boolean)XYItemRenderer.setBasePositiveItemLabelPosition(ItemLabelPosition,boolean)



setSeriesItemLabelFont
public void setSeriesItemLabelFont(int series, Font font)(Code)
Sets the item label font for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  font - the font (null permitted).



setSeriesItemLabelGenerator
public void setSeriesItemLabelGenerator(int series, XYItemLabelGenerator generator)(Code)
Sets the item label generator for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero based).
Parameters:
  generator - the generator (null permitted).



setSeriesItemLabelPaint
public void setSeriesItemLabelPaint(int series, Paint paint)(Code)
Sets the item label paint for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series (zero based index).
Parameters:
  paint - the paint (null permitted).



setSeriesItemLabelsVisible
public void setSeriesItemLabelsVisible(int series, boolean visible)(Code)
Sets a flag that controls the visibility of the item labels for a series.
Parameters:
  series - the series index (zero-based).
Parameters:
  visible - the flag.



setSeriesItemLabelsVisible
public void setSeriesItemLabelsVisible(int series, Boolean visible)(Code)
Sets a flag that controls the visibility of the item labels for a series.
Parameters:
  series - the series index (zero-based).
Parameters:
  visible - the flag (null permitted).



setSeriesItemLabelsVisible
public void setSeriesItemLabelsVisible(int series, Boolean visible, boolean notify)(Code)
Sets the visibility of item labels for a series and, if requested, sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  visible - the visible flag.
Parameters:
  notify - a flag that controls whether or not listeners are notified.



setSeriesNegativeItemLabelPosition
public void setSeriesNegativeItemLabelPosition(int series, ItemLabelPosition position)(Code)
Sets the item label position for negative values in a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  position - the position (null permitted).



setSeriesNegativeItemLabelPosition
public void setSeriesNegativeItemLabelPosition(int series, ItemLabelPosition position, boolean notify)(Code)
Sets the item label position for negative values in a series and (if requested) sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  position - the position (null permitted).
Parameters:
  notify - notify registered listeners?



setSeriesOutlinePaint
public void setSeriesOutlinePaint(int series, Paint paint)(Code)
Sets the paint used for a series outline and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  paint - the paint (null permitted).



setSeriesOutlineStroke
public void setSeriesOutlineStroke(int series, Stroke stroke)(Code)
Sets the outline stroke used for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  stroke - the stroke (null permitted).



setSeriesPaint
public void setSeriesPaint(int series, Paint paint)(Code)
Sets the paint used for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  paint - the paint (null permitted).



setSeriesPositiveItemLabelPosition
public void setSeriesPositiveItemLabelPosition(int series, ItemLabelPosition position)(Code)
Sets the item label position for all positive values in a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  position - the position (null permitted).



setSeriesPositiveItemLabelPosition
public void setSeriesPositiveItemLabelPosition(int series, ItemLabelPosition position, boolean notify)(Code)
Sets the item label position for all positive values in a series and (if requested) sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  position - the position (null permitted).
Parameters:
  notify - notify registered listeners?



setSeriesShape
public void setSeriesShape(int series, Shape shape)(Code)
Sets the shape used for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  shape - the shape (null permitted).



setSeriesStroke
public void setSeriesStroke(int series, Stroke stroke)(Code)
Sets the stroke used for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  stroke - the stroke (null permitted).



setSeriesToolTipGenerator
public void setSeriesToolTipGenerator(int series, XYToolTipGenerator generator)(Code)
Sets the tool tip generator for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero based).
Parameters:
  generator - the generator (null permitted).



setSeriesVisible
public void setSeriesVisible(Boolean visible)(Code)
Sets the flag that controls the visibility of ALL series and sends a RendererChangeEvent to all registered listeners. This flag overrides the per series and default settings - you must set it to null if you want the other settings to apply.
Parameters:
  visible - the flag (null permitted).XYItemRenderer.setSeriesVisible(int,Boolean)XYItemRenderer.setBaseSeriesVisible(boolean)



setSeriesVisible
public void setSeriesVisible(Boolean visible, boolean notify)(Code)
Sets the flag that controls the visibility of ALL series and sends a RendererChangeEvent to all registered listeners. This flag overrides the per series and default settings - you must set it to null if you want the other settings to apply.
Parameters:
  visible - the flag (null permitted).
Parameters:
  notify - notify listeners?XYItemRenderer.setSeriesVisible(int,Boolean,boolean)XYItemRenderer.setBaseSeriesVisible(boolean,boolean)



setSeriesVisible
public void setSeriesVisible(int series, Boolean visible)(Code)
Sets the flag that controls whether a series is visible and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  visible - the flag (null permitted).



setSeriesVisible
public void setSeriesVisible(int series, Boolean visible, boolean notify)(Code)
Sets the flag that controls whether a series is visible and, if requested, sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index.
Parameters:
  visible - the flag (null permitted).
Parameters:
  notify - notify listeners?



setSeriesVisibleInLegend
public void setSeriesVisibleInLegend(Boolean visible)(Code)
Sets the flag that controls the visibility of ALL series in the legend and sends a RendererChangeEvent to all registered listeners. This flag overrides the per series and default settings - you must set it to null if you want the other settings to apply.
Parameters:
  visible - the flag (null permitted).XYItemRenderer.setSeriesVisibleInLegend(int,Boolean)XYItemRenderer.setBaseSeriesVisibleInLegend(boolean)



setSeriesVisibleInLegend
public void setSeriesVisibleInLegend(Boolean visible, boolean notify)(Code)
Sets the flag that controls the visibility of ALL series in the legend and sends a RendererChangeEvent to all registered listeners. This flag overrides the per series and default settings - you must set it to null if you want the other settings to apply.
Parameters:
  visible - the flag (null permitted).
Parameters:
  notify - notify listeners?XYItemRenderer.setSeriesVisibleInLegend(int,Boolean,boolean)XYItemRenderer.setBaseSeriesVisibleInLegend(boolean,boolean)



setSeriesVisibleInLegend
public void setSeriesVisibleInLegend(int series, Boolean visible)(Code)
Sets the flag that controls whether a series is visible in the legend and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  visible - the flag (null permitted).



setSeriesVisibleInLegend
public void setSeriesVisibleInLegend(int series, Boolean visible, boolean notify)(Code)
Sets the flag that controls whether a series is visible in the legend and, if requested, sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index.
Parameters:
  visible - the flag (null permitted).
Parameters:
  notify - notify listeners?



setShape
public void setShape(Shape shape)(Code)
Sets the shape for ALL series (optional) and sends a RendererChangeEvent to all registered listeners.
Parameters:
  shape - the shape (null permitted).XYItemRenderer.setSeriesShape(int,Shape)XYItemRenderer.setBaseShape(Shape)



setStroke
public void setStroke(Stroke stroke)(Code)
Sets the stroke for ALL series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  stroke - the stroke (null permitted).XYItemRenderer.setSeriesStroke(int,Stroke)XYItemRenderer.setBaseStroke(Stroke)



setToolTipGenerator
public void setToolTipGenerator(XYToolTipGenerator generator)(Code)
Sets the tool tip generator for ALL series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  generator - the generator (null permitted).XYItemRenderer.setBaseToolTipGenerator(XYToolTipGenerator)



setURLGenerator
public void setURLGenerator(XYURLGenerator urlGenerator)(Code)
Sets the URL generator for HTML image maps.
Parameters:
  urlGenerator - the URL generator (null permitted).



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.