Java Doc for XYLineAndShapeRenderer.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.AbstractXYItemRenderer
   org.jfree.chart.renderer.xy.XYLineAndShapeRenderer

All known Subclasses:   org.jfree.chart.renderer.xy.XYErrorRenderer,  org.jfree.experimental.chart.renderer.xy.XYSmoothLineAndShapeRenderer,  org.jfree.chart.renderer.xy.XYStepRenderer,  org.jfree.chart.renderer.xy.XYLine3DRenderer,  org.jfree.chart.renderer.xy.DefaultXYItemRenderer,  org.jfree.chart.renderer.xy.DeviationRenderer,
XYLineAndShapeRenderer
public class XYLineAndShapeRenderer extends AbstractXYItemRenderer implements XYItemRenderer,Cloneable,PublicCloneable,Serializable(Code)
A renderer that connects data points with lines and/or draws shapes at each data point. This renderer is designed for use with the XYPlot class.

Inner Class :public static class State extends XYItemRendererState


Constructor Summary
public  XYLineAndShapeRenderer()
     Creates a new renderer with both lines and shapes visible.
public  XYLineAndShapeRenderer(boolean lines, boolean shapes)
     Creates a new renderer.

Method Summary
public  Objectclone()
     Returns a clone of the renderer.
protected  voiddrawFirstPassShape(Graphics2D g2, int pass, int series, int item, Shape shape)
     Draws the first pass shape.
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)
     Draws the visual representation of a single data item.
protected  voiddrawPrimaryLine(XYItemRendererState state, Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, Rectangle2D dataArea)
     Draws the item (first pass).
protected  voiddrawPrimaryLineAsPath(XYItemRendererState state, Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, Rectangle2D dataArea)
     Draws the item (first pass).
protected  voiddrawSecondaryPass(Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, Rectangle2D dataArea, ValueAxis rangeAxis, CrosshairState crosshairState, EntityCollection entities)
     Draws the item shapes and adds chart entities (second pass).
public  booleanequals(Object obj)
     Tests this renderer for equality with an arbitrary object.
Parameters:
  obj - the object (null permitted).
public  booleangetBaseLinesVisible()
     Returns the base 'lines visible' attribute.
public  booleangetBaseShapesFilled()
     Returns the base 'shape filled' attribute.
public  booleangetBaseShapesVisible()
     Returns the base 'shape visible' attribute.
public  booleangetDrawOutlines()
     Returns true if outlines should be drawn for shapes, and false otherwise.
public  booleangetDrawSeriesLineAsPath()
     Returns a flag that controls whether or not each series is drawn as a single path.
public  booleangetItemLineVisible(int series, int item)
     Returns the flag used to control whether or not the shape for an item is visible.
Parameters:
  series - the series index (zero-based).
Parameters:
  item - the item index (zero-based).
public  booleangetItemShapeFilled(int series, int item)
     Returns the flag used to control whether or not the shape for an item is filled.

The default implementation passes control to the getSeriesShapesFilled method.

public  booleangetItemShapeVisible(int series, int item)
     Returns the flag used to control whether or not the shape for an item is visible.

The default implementation passes control to the getSeriesShapesVisible method.

public  LegendItemgetLegendItem(int datasetIndex, int series)
     Returns a legend item for the specified series.
Parameters:
  datasetIndex - the dataset index (zero-based).
Parameters:
  series - the series index (zero-based).
public  ShapegetLegendLine()
     Returns the shape used to represent a line in the legend.
public  BooleangetLinesVisible()
     Returns a flag that controls whether or not lines are drawn for ALL series.
public  intgetPassCount()
     Returns the number of passes through the data that the renderer requires in order to draw the chart.
public  BooleangetSeriesLinesVisible(int series)
     Returns the flag used to control whether or not the lines for a series are visible.
Parameters:
  series - the series index (zero-based).
public  BooleangetSeriesShapesFilled(int series)
     Returns the flag used to control whether or not the shapes for a series are filled.
Parameters:
  series - the series index (zero-based).
public  BooleangetSeriesShapesVisible(int series)
     Returns the flag used to control whether or not the shapes for a series are visible.
Parameters:
  series - the series index (zero-based).
public  BooleangetShapesVisible()
     Returns the flag that controls whether the shapes are visible for the items in ALL series.
public  booleangetUseFillPaint()
     Returns true if the renderer should use the fill paint setting to fill shapes, and false if it should just use the regular paint.
public  booleangetUseOutlinePaint()
     Returns true if the renderer should use the outline paint setting to draw shape outlines, and false if it should just use the regular paint.
public  XYItemRendererStateinitialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)
     Initialises the renderer.

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.

protected  booleanisItemPass(int pass)
     Returns true if the specified pass is the one for drawing items.
Parameters:
  pass - the pass.
protected  booleanisLinePass(int pass)
     Returns true if the specified pass is the one for drawing lines.
Parameters:
  pass - the pass.
public  voidsetBaseLinesVisible(boolean flag)
     Sets the base 'lines visible' flag and sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseShapesFilled(boolean flag)
     Sets the base 'shapes filled' flag and sends a RendererChangeEvent to all registered listeners.
public  voidsetBaseShapesVisible(boolean flag)
     Sets the base 'shapes visible' flag and sends a RendererChangeEvent to all registered listeners.
public  voidsetDrawOutlines(boolean flag)
     Sets the flag that controls whether outlines are drawn for shapes, and sends a RendererChangeEvent to all registered listeners.
public  voidsetDrawSeriesLineAsPath(boolean flag)
     Sets the flag that controls whether or not each series is drawn as a single path.
public  voidsetLegendLine(Shape line)
     Sets the shape used as a line in each legend item and sends a RendererChangeEvent to all registered listeners.
public  voidsetLinesVisible(Boolean visible)
     Sets a flag that controls whether or not lines are drawn between the items in ALL series, and sends a RendererChangeEvent to all registered listeners.
public  voidsetLinesVisible(boolean visible)
     Sets a flag that controls whether or not lines are drawn between the items in ALL series, and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesLinesVisible(int series, Boolean flag)
     Sets the 'lines visible' flag for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesLinesVisible(int series, boolean visible)
     Sets the 'lines visible' flag for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesShapesFilled(int series, boolean flag)
     Sets the 'shapes filled' flag for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesShapesFilled(int series, Boolean flag)
     Sets the 'shapes filled' flag for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesShapesVisible(int series, boolean visible)
     Sets the 'shapes visible' flag for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetSeriesShapesVisible(int series, Boolean flag)
     Sets the 'shapes visible' flag for a series and sends a RendererChangeEvent to all registered listeners.
public  voidsetShapesFilled(boolean filled)
     Sets the 'shapes filled' for ALL series and sends a RendererChangeEvent to all registered listeners.
public  voidsetShapesFilled(Boolean filled)
     Sets the 'shapes filled' for ALL series and sends a RendererChangeEvent to all registered listeners.
public  voidsetShapesVisible(Boolean visible)
     Sets the 'shapes visible' for ALL series and sends a RendererChangeEvent to all registered listeners.
public  voidsetShapesVisible(boolean visible)
     Sets the 'shapes visible' for ALL series and sends a RendererChangeEvent to all registered listeners.
public  voidsetUseFillPaint(boolean flag)
     Sets the flag that controls whether the fill paint is used to fill shapes, and sends a RendererChangeEvent to all registered listeners.
public  voidsetUseOutlinePaint(boolean flag)
     Sets the flag that controls whether the outline paint is used to draw shape outlines, and sends a RendererChangeEvent to all registered listeners.


Constructor Detail
XYLineAndShapeRenderer
public XYLineAndShapeRenderer()(Code)
Creates a new renderer with both lines and shapes visible.



XYLineAndShapeRenderer
public XYLineAndShapeRenderer(boolean lines, boolean shapes)(Code)
Creates a new renderer.
Parameters:
  lines - lines visible?
Parameters:
  shapes - shapes visible?




Method Detail
clone
public Object clone() throws CloneNotSupportedException(Code)
Returns a clone of the renderer. A clone.
throws:
  CloneNotSupportedException - if the clone cannot be created.



drawFirstPassShape
protected void drawFirstPassShape(Graphics2D g2, int pass, int series, int item, Shape shape)(Code)
Draws the first pass shape.
Parameters:
  g2 - the graphics device.
Parameters:
  pass - the pass.
Parameters:
  series - the series index.
Parameters:
  item - the item index.
Parameters:
  shape - the shape.



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)
Draws the visual representation of a single data item.
Parameters:
  g2 - the graphics device.
Parameters:
  state - the renderer state.
Parameters:
  dataArea - the area within which the data is being drawn.
Parameters:
  info - collects information about the drawing.
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.



drawPrimaryLine
protected void drawPrimaryLine(XYItemRendererState state, Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, Rectangle2D dataArea)(Code)
Draws the item (first pass). This method draws the lines connecting the items.
Parameters:
  g2 - the graphics device.
Parameters:
  state - the renderer state.
Parameters:
  dataArea - the area within which the data 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:
  pass - the pass.
Parameters:
  series - the series index (zero-based).
Parameters:
  item - the item index (zero-based).



drawPrimaryLineAsPath
protected void drawPrimaryLineAsPath(XYItemRendererState state, Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, Rectangle2D dataArea)(Code)
Draws the item (first pass). This method draws the lines connecting the items. Instead of drawing separate lines, a GeneralPath is constructed and drawn at the end of the series painting.
Parameters:
  g2 - the graphics device.
Parameters:
  state - the renderer state.
Parameters:
  plot - the plot (can be used to obtain standard color information etc).
Parameters:
  dataset - the dataset.
Parameters:
  pass - the pass.
Parameters:
  series - the series index (zero-based).
Parameters:
  item - the item index (zero-based).
Parameters:
  domainAxis - the domain axis.
Parameters:
  rangeAxis - the range axis.
Parameters:
  dataArea - the area within which the data is being drawn.



drawSecondaryPass
protected void drawSecondaryPass(Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, Rectangle2D dataArea, ValueAxis rangeAxis, CrosshairState crosshairState, EntityCollection entities)(Code)
Draws the item shapes and adds chart entities (second pass). This method draws the shapes which mark the item positions. If entities is not null it will be populated with entity information for points that fall within the data area.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot (can be used to obtain standard color information etc).
Parameters:
  domainAxis - the domain axis.
Parameters:
  dataArea - the area within which the data is being drawn.
Parameters:
  rangeAxis - the range axis.
Parameters:
  dataset - the dataset.
Parameters:
  pass - the pass.
Parameters:
  series - the series index (zero-based).
Parameters:
  item - the item index (zero-based).
Parameters:
  crosshairState - the crosshair state.
Parameters:
  entities - the entity collection.



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.



getBaseLinesVisible
public boolean getBaseLinesVisible()(Code)
Returns the base 'lines visible' attribute. The base flag.
See Also:   XYLineAndShapeRenderer.setBaseLinesVisible(boolean)



getBaseShapesFilled
public boolean getBaseShapesFilled()(Code)
Returns the base 'shape filled' attribute. The base flag.
See Also:   XYLineAndShapeRenderer.setBaseShapesFilled(boolean)



getBaseShapesVisible
public boolean getBaseShapesVisible()(Code)
Returns the base 'shape visible' attribute. The base flag.
See Also:   XYLineAndShapeRenderer.setBaseShapesVisible(boolean)



getDrawOutlines
public boolean getDrawOutlines()(Code)
Returns true if outlines should be drawn for shapes, and false otherwise. A boolean.
See Also:   XYLineAndShapeRenderer.setDrawOutlines(boolean)



getDrawSeriesLineAsPath
public boolean getDrawSeriesLineAsPath()(Code)
Returns a flag that controls whether or not each series is drawn as a single path. A boolean.
See Also:   XYLineAndShapeRenderer.setDrawSeriesLineAsPath(boolean)



getItemLineVisible
public boolean getItemLineVisible(int series, int item)(Code)
Returns the flag used to control whether or not the shape for an item is visible.
Parameters:
  series - the series index (zero-based).
Parameters:
  item - the item index (zero-based). A boolean.



getItemShapeFilled
public boolean getItemShapeFilled(int series, int item)(Code)
Returns the flag used to control whether or not the shape for an item is filled.

The default implementation passes control to the getSeriesShapesFilled method. You can override this method if you require different behaviour.
Parameters:
  series - the series index (zero-based).
Parameters:
  item - the item index (zero-based). A boolean.




getItemShapeVisible
public boolean getItemShapeVisible(int series, int item)(Code)
Returns the flag used to control whether or not the shape for an item is visible.

The default implementation passes control to the getSeriesShapesVisible method. You can override this method if you require different behaviour.
Parameters:
  series - the series index (zero-based).
Parameters:
  item - the item index (zero-based). A boolean.




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



getLegendLine
public Shape getLegendLine()(Code)
Returns the shape used to represent a line in the legend. The legend line (never null).
See Also:   XYLineAndShapeRenderer.setLegendLine(Shape)



getLinesVisible
public Boolean getLinesVisible()(Code)
Returns a flag that controls whether or not lines are drawn for ALL series. If this flag is null, then the "per series" settings will apply. A flag (possibly null).
See Also:   XYLineAndShapeRenderer.setLinesVisible(Boolean)
See Also:   



getPassCount
public int getPassCount()(Code)
Returns the number of passes through the data that the renderer requires in order to draw the chart. Most charts will require a single pass, but some require two passes. The pass count.



getSeriesLinesVisible
public Boolean getSeriesLinesVisible(int series)(Code)
Returns the flag used to control whether or not the lines for a series are visible.
Parameters:
  series - the series index (zero-based). The flag (possibly null).
See Also:   XYLineAndShapeRenderer.setSeriesLinesVisible(int,Boolean)



getSeriesShapesFilled
public Boolean getSeriesShapesFilled(int series)(Code)
Returns the flag used to control whether or not the shapes for a series are filled.
Parameters:
  series - the series index (zero-based). A boolean.
See Also:   XYLineAndShapeRenderer.setSeriesShapesFilled(int,Boolean)



getSeriesShapesVisible
public Boolean getSeriesShapesVisible(int series)(Code)
Returns the flag used to control whether or not the shapes for a series are visible.
Parameters:
  series - the series index (zero-based). A boolean.
See Also:   XYLineAndShapeRenderer.setSeriesShapesVisible(int,Boolean)



getShapesVisible
public Boolean getShapesVisible()(Code)
Returns the flag that controls whether the shapes are visible for the items in ALL series. The flag (possibly null).
See Also:   XYLineAndShapeRenderer.setShapesVisible(Boolean)



getUseFillPaint
public boolean getUseFillPaint()(Code)
Returns true if the renderer should use the fill paint setting to fill shapes, and false if it should just use the regular paint. A boolean.
See Also:   XYLineAndShapeRenderer.setUseFillPaint(boolean)
See Also:   XYLineAndShapeRenderer.getUseOutlinePaint()



getUseOutlinePaint
public boolean getUseOutlinePaint()(Code)
Returns true if the renderer should use the outline paint setting to draw shape outlines, and false if it should just use the regular paint. A boolean.
See Also:   XYLineAndShapeRenderer.setUseOutlinePaint(boolean)
See Also:   XYLineAndShapeRenderer.getUseFillPaint()



initialise
public XYItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)(Code)
Initialises the renderer.

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:
  data - the data.
Parameters:
  info - an optional info collection object to return data back to the caller. The renderer state.




isItemPass
protected boolean isItemPass(int pass)(Code)
Returns true if the specified pass is the one for drawing items.
Parameters:
  pass - the pass. A boolean.



isLinePass
protected boolean isLinePass(int pass)(Code)
Returns true if the specified pass is the one for drawing lines.
Parameters:
  pass - the pass. A boolean.



setBaseLinesVisible
public void setBaseLinesVisible(boolean flag)(Code)
Sets the base 'lines visible' flag and sends a RendererChangeEvent to all registered listeners.
Parameters:
  flag - the flag.
See Also:   XYLineAndShapeRenderer.getBaseLinesVisible()



setBaseShapesFilled
public void setBaseShapesFilled(boolean flag)(Code)
Sets the base 'shapes filled' flag and sends a RendererChangeEvent to all registered listeners.
Parameters:
  flag - the flag.
See Also:   XYLineAndShapeRenderer.getBaseShapesFilled()



setBaseShapesVisible
public void setBaseShapesVisible(boolean flag)(Code)
Sets the base 'shapes visible' flag and sends a RendererChangeEvent to all registered listeners.
Parameters:
  flag - the flag.
See Also:   XYLineAndShapeRenderer.getBaseShapesVisible()



setDrawOutlines
public void setDrawOutlines(boolean flag)(Code)
Sets the flag that controls whether outlines are drawn for shapes, and sends a RendererChangeEvent to all registered listeners.

In some cases, shapes look better if they do NOT have an outline, but this flag allows you to set your own preference.
Parameters:
  flag - the flag.
See Also:   XYLineAndShapeRenderer.getDrawOutlines()




setDrawSeriesLineAsPath
public void setDrawSeriesLineAsPath(boolean flag)(Code)
Sets the flag that controls whether or not each series is drawn as a single path.
Parameters:
  flag - the flag.
See Also:   XYLineAndShapeRenderer.getDrawSeriesLineAsPath()



setLegendLine
public void setLegendLine(Shape line)(Code)
Sets the shape used as a line in each legend item and sends a RendererChangeEvent to all registered listeners.
Parameters:
  line - the line (null not permitted).
See Also:   XYLineAndShapeRenderer.getLegendLine()



setLinesVisible
public void setLinesVisible(Boolean visible)(Code)
Sets a flag that controls whether or not lines are drawn between the items in ALL series, and sends a RendererChangeEvent to all registered listeners. You need to set this to null if you want the "per series" settings to apply.
Parameters:
  visible - the flag (null permitted).
See Also:   XYLineAndShapeRenderer.getLinesVisible()



setLinesVisible
public void setLinesVisible(boolean visible)(Code)
Sets a flag that controls whether or not lines are drawn between the items in ALL series, and sends a RendererChangeEvent to all registered listeners.
Parameters:
  visible - the flag.
See Also:   XYLineAndShapeRenderer.getLinesVisible()



setSeriesLinesVisible
public void setSeriesLinesVisible(int series, Boolean flag)(Code)
Sets the 'lines visible' flag for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  flag - the flag (null permitted).
See Also:   XYLineAndShapeRenderer.getSeriesLinesVisible(int)



setSeriesLinesVisible
public void setSeriesLinesVisible(int series, boolean visible)(Code)
Sets the 'lines visible' flag for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  visible - the flag.
See Also:   XYLineAndShapeRenderer.getSeriesLinesVisible(int)



setSeriesShapesFilled
public void setSeriesShapesFilled(int series, boolean flag)(Code)
Sets the 'shapes filled' flag for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  flag - the flag.
See Also:   XYLineAndShapeRenderer.getSeriesShapesFilled(int)



setSeriesShapesFilled
public void setSeriesShapesFilled(int series, Boolean flag)(Code)
Sets the 'shapes filled' flag for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  flag - the flag.
See Also:   XYLineAndShapeRenderer.getSeriesShapesFilled(int)



setSeriesShapesVisible
public void setSeriesShapesVisible(int series, boolean visible)(Code)
Sets the 'shapes visible' flag for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  visible - the flag.
See Also:   XYLineAndShapeRenderer.getSeriesShapesVisible(int)



setSeriesShapesVisible
public void setSeriesShapesVisible(int series, Boolean flag)(Code)
Sets the 'shapes visible' flag for a series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  flag - the flag.
See Also:   XYLineAndShapeRenderer.getSeriesShapesVisible(int)



setShapesFilled
public void setShapesFilled(boolean filled)(Code)
Sets the 'shapes filled' for ALL series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  filled - the flag.



setShapesFilled
public void setShapesFilled(Boolean filled)(Code)
Sets the 'shapes filled' for ALL series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  filled - the flag (null permitted).



setShapesVisible
public void setShapesVisible(Boolean visible)(Code)
Sets the 'shapes visible' for ALL series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  visible - the flag (null permitted).
See Also:   XYLineAndShapeRenderer.getShapesVisible()



setShapesVisible
public void setShapesVisible(boolean visible)(Code)
Sets the 'shapes visible' for ALL series and sends a RendererChangeEvent to all registered listeners.
Parameters:
  visible - the flag.
See Also:   XYLineAndShapeRenderer.getShapesVisible()



setUseFillPaint
public void setUseFillPaint(boolean flag)(Code)
Sets the flag that controls whether the fill paint is used to fill shapes, and sends a RendererChangeEvent to all registered listeners.
Parameters:
  flag - the flag.
See Also:   XYLineAndShapeRenderer.getUseFillPaint()



setUseOutlinePaint
public void setUseOutlinePaint(boolean flag)(Code)
Sets the flag that controls whether the outline paint is used to draw shape outlines, and sends a RendererChangeEvent to all registered listeners.
Parameters:
  flag - the flag.
See Also:   XYLineAndShapeRenderer.getUseOutlinePaint()



Methods inherited from org.jfree.chart.renderer.xy.AbstractXYItemRenderer
public void addAnnotation(XYAnnotation annotation)(Code)(Java Doc)
public void addAnnotation(XYAnnotation annotation, Layer layer)(Code)(Java Doc)
protected void addEntity(EntityCollection entities, Shape area, XYDataset dataset, int series, int item, double entityX, double entityY)(Code)(Java Doc)
protected Point2D calculateDomainMarkerTextAnchorPoint(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor)(Code)(Java Doc)
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public void drawAnnotations(Graphics2D g2, Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, Layer layer, PlotRenderingInfo info)(Code)(Java Doc)
public void drawDomainGridLine(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value)(Code)(Java Doc)
public void drawDomainLine(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value, Paint paint, Stroke stroke)(Code)(Java Doc)
public void drawDomainMarker(Graphics2D g2, XYPlot plot, ValueAxis domainAxis, Marker marker, Rectangle2D dataArea)(Code)(Java Doc)
protected void drawItemLabel(Graphics2D g2, PlotOrientation orientation, XYDataset dataset, int series, int item, double x, double y, boolean negative)(Code)(Java Doc)
public void drawRangeLine(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value, Paint paint, Stroke stroke)(Code)(Java Doc)
public void drawRangeMarker(Graphics2D g2, XYPlot plot, ValueAxis rangeAxis, Marker marker, Rectangle2D dataArea)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public void fillDomainGridBand(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double start, double end)(Code)(Java Doc)
public void fillRangeGridBand(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double start, double end)(Code)(Java Doc)
public Range findDomainBounds(XYDataset dataset)(Code)(Java Doc)
public Range findRangeBounds(XYDataset dataset)(Code)(Java Doc)
public XYItemLabelGenerator getBaseItemLabelGenerator()(Code)(Java Doc)
public XYToolTipGenerator getBaseToolTipGenerator()(Code)(Java Doc)
public int getDefaultEntityRadius()(Code)(Java Doc)
public DrawingSupplier getDrawingSupplier()(Code)(Java Doc)
public XYItemLabelGenerator getItemLabelGenerator(int series, int item)(Code)(Java Doc)
public XYItemLabelGenerator getItemLabelGenerator()(Code)(Java Doc)
public LegendItem getLegendItem(int datasetIndex, int series)(Code)(Java Doc)
public XYSeriesLabelGenerator getLegendItemLabelGenerator()(Code)(Java Doc)
public XYSeriesLabelGenerator getLegendItemToolTipGenerator()(Code)(Java Doc)
public XYSeriesLabelGenerator getLegendItemURLGenerator()(Code)(Java Doc)
public LegendItemCollection getLegendItems()(Code)(Java Doc)
public int getPassCount()(Code)(Java Doc)
public XYPlot getPlot()(Code)(Java Doc)
public XYItemLabelGenerator getSeriesItemLabelGenerator(int series)(Code)(Java Doc)
public XYToolTipGenerator getSeriesToolTipGenerator(int series)(Code)(Java Doc)
public XYToolTipGenerator getToolTipGenerator(int series, int item)(Code)(Java Doc)
public XYToolTipGenerator getToolTipGenerator()(Code)(Java Doc)
public XYURLGenerator getURLGenerator()(Code)(Java Doc)
public XYItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)(Code)(Java Doc)
public boolean removeAnnotation(XYAnnotation annotation)(Code)(Java Doc)
public void removeAnnotations()(Code)(Java Doc)
public void setBaseItemLabelGenerator(XYItemLabelGenerator generator)(Code)(Java Doc)
public void setBaseToolTipGenerator(XYToolTipGenerator generator)(Code)(Java Doc)
public void setDefaultEntityRadius(int radius)(Code)(Java Doc)
public void setItemLabelGenerator(XYItemLabelGenerator generator)(Code)(Java Doc)
public void setLegendItemLabelGenerator(XYSeriesLabelGenerator generator)(Code)(Java Doc)
public void setLegendItemToolTipGenerator(XYSeriesLabelGenerator generator)(Code)(Java Doc)
public void setLegendItemURLGenerator(XYSeriesLabelGenerator generator)(Code)(Java Doc)
public void setPlot(XYPlot plot)(Code)(Java Doc)
public void setSeriesItemLabelGenerator(int series, XYItemLabelGenerator generator)(Code)(Java Doc)
public void setSeriesToolTipGenerator(int series, XYToolTipGenerator generator)(Code)(Java Doc)
public void setToolTipGenerator(XYToolTipGenerator generator)(Code)(Java Doc)
public void setURLGenerator(XYURLGenerator urlGenerator)(Code)(Java Doc)
protected void updateCrosshairValues(CrosshairState crosshairState, double x, double y, double transX, double transY, PlotOrientation orientation)(Code)(Java Doc)
protected void updateCrosshairValues(CrosshairState crosshairState, double x, double y, int domainAxisIndex, int rangeAxisIndex, double transX, double transY, PlotOrientation orientation)(Code)(Java Doc)

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