Java Doc for MultiplePiePlot.java in  » Chart » jfreechart » org » jfree » chart » plot » 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.plot 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jfree.chart.plot.Plot
      org.jfree.chart.plot.MultiplePiePlot

MultiplePiePlot
public class MultiplePiePlot extends Plot implements Cloneable,Serializable(Code)
A plot that displays multiple pie plots using data from a CategoryDataset .



Constructor Summary
public  MultiplePiePlot()
     Creates a new plot with no data.
public  MultiplePiePlot(CategoryDataset dataset)
     Creates a new plot.

Method Summary
public  voiddraw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info)
     Draws the plot on a Java 2D graphics device (such as the screen or a printer).
public  booleanequals(Object obj)
     Tests this plot for equality with an arbitrary object.
public  ComparablegetAggregatedItemsKey()
     Returns the key for aggregated items in the pie plots, if there are any.
public  PaintgetAggregatedItemsPaint()
     Returns the paint used to draw the pie section representing the aggregated items.
public  TableOrdergetDataExtractOrder()
     Returns the data extract order (by row or by column).
public  CategoryDatasetgetDataset()
     Returns the dataset used by the plot.
public  LegendItemCollectiongetLegendItems()
     Returns a collection of legend items for the pie chart.
public  doublegetLimit()
     Returns the limit (as a percentage) below which small pie sections are aggregated.
public  JFreeChartgetPieChart()
     Returns the pie chart that is used to draw the individual pie plots.
public  StringgetPlotType()
     Returns a short string describing the type of plot.
public  voidsetAggregatedItemsKey(Comparable key)
     Sets the key for aggregated items in the pie plots.
public  voidsetAggregatedItemsPaint(Paint paint)
     Sets the paint used to draw the pie section representing the aggregated items and sends a PlotChangeEvent to all registered listeners.
public  voidsetDataExtractOrder(TableOrder order)
     Sets the data extract order (by row or by column) and sends a PlotChangeEvent to all registered listeners.
public  voidsetDataset(CategoryDataset dataset)
     Sets the dataset used by the plot and sends a PlotChangeEvent to all registered listeners.
public  voidsetLimit(double limit)
     Sets the limit below which pie sections are aggregated.
public  voidsetPieChart(JFreeChart pieChart)
     Sets the chart that is used to draw the individual pie plots.


Constructor Detail
MultiplePiePlot
public MultiplePiePlot()(Code)
Creates a new plot with no data.



MultiplePiePlot
public MultiplePiePlot(CategoryDataset dataset)(Code)
Creates a new plot.
Parameters:
  dataset - the dataset (null permitted).




Method Detail
draw
public void draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info)(Code)
Draws the plot on a Java 2D graphics device (such as the screen or a printer).
Parameters:
  g2 - the graphics device.
Parameters:
  area - the area within which the plot should be drawn.
Parameters:
  anchor - the anchor point (null permitted).
Parameters:
  parentState - the state from the parent plot, if there is one.
Parameters:
  info - collects info about the drawing.



equals
public boolean equals(Object obj)(Code)
Tests this plot for equality with an arbitrary object. Note that the plot's dataset is not considered in the equality test.
Parameters:
  obj - the object (null permitted). true if this plot is equal to obj, andfalse otherwise.



getAggregatedItemsKey
public Comparable getAggregatedItemsKey()(Code)
Returns the key for aggregated items in the pie plots, if there are any. The default value is "Other". The aggregated items key.
since:
   1.0.2



getAggregatedItemsPaint
public Paint getAggregatedItemsPaint()(Code)
Returns the paint used to draw the pie section representing the aggregated items. The default value is Color.lightGray. The paint.
since:
   1.0.2



getDataExtractOrder
public TableOrder getDataExtractOrder()(Code)
Returns the data extract order (by row or by column). The data extract order (never null).



getDataset
public CategoryDataset getDataset()(Code)
Returns the dataset used by the plot. The dataset (possibly null).



getLegendItems
public LegendItemCollection getLegendItems()(Code)
Returns a collection of legend items for the pie chart. The legend items.



getLimit
public double getLimit()(Code)
Returns the limit (as a percentage) below which small pie sections are aggregated. The limit percentage.



getPieChart
public JFreeChart getPieChart()(Code)
Returns the pie chart that is used to draw the individual pie plots. The pie chart (never null).
See Also:   MultiplePiePlot.setPieChart(JFreeChart)



getPlotType
public String getPlotType()(Code)
Returns a short string describing the type of plot. The plot type.



setAggregatedItemsKey
public void setAggregatedItemsKey(Comparable key)(Code)
Sets the key for aggregated items in the pie plots. You must ensure that this doesn't clash with any keys in the dataset.
Parameters:
  key - the key (null not permitted).
since:
   1.0.2



setAggregatedItemsPaint
public void setAggregatedItemsPaint(Paint paint)(Code)
Sets the paint used to draw the pie section representing the aggregated items and sends a PlotChangeEvent to all registered listeners.
Parameters:
  paint - the paint (null not permitted).
since:
   1.0.2



setDataExtractOrder
public void setDataExtractOrder(TableOrder order)(Code)
Sets the data extract order (by row or by column) and sends a PlotChangeEvent to all registered listeners.
Parameters:
  order - the order (null not permitted).



setDataset
public void setDataset(CategoryDataset dataset)(Code)
Sets the dataset used by the plot and sends a PlotChangeEvent to all registered listeners.
Parameters:
  dataset - the dataset (null permitted).



setLimit
public void setLimit(double limit)(Code)
Sets the limit below which pie sections are aggregated. Set this to 0.0 if you don't want any aggregation to occur.
Parameters:
  limit - the limit percent.



setPieChart
public void setPieChart(JFreeChart pieChart)(Code)
Sets the chart that is used to draw the individual pie plots. The chart's plot must be an instance of PiePlot .
Parameters:
  pieChart - the pie chart (null not permitted).
See Also:   MultiplePiePlot.getPieChart()



Fields inherited from org.jfree.chart.plot.Plot
final public static float DEFAULT_BACKGROUND_ALPHA(Code)(Java Doc)
final public static Paint DEFAULT_BACKGROUND_PAINT(Code)(Java Doc)
final public static float DEFAULT_FOREGROUND_ALPHA(Code)(Java Doc)
final public static RectangleInsets DEFAULT_INSETS(Code)(Java Doc)
final public static Shape DEFAULT_LEGEND_ITEM_BOX(Code)(Java Doc)
final public static Shape DEFAULT_LEGEND_ITEM_CIRCLE(Code)(Java Doc)
final public static Paint DEFAULT_OUTLINE_PAINT(Code)(Java Doc)
final public static Stroke DEFAULT_OUTLINE_STROKE(Code)(Java Doc)
final public static int MINIMUM_HEIGHT_TO_DRAW(Code)(Java Doc)
final public static int MINIMUM_WIDTH_TO_DRAW(Code)(Java Doc)
final public static Number ZERO(Code)(Java Doc)

Methods inherited from org.jfree.chart.plot.Plot
public void addChangeListener(PlotChangeListener listener)(Code)(Java Doc)
public void axisChanged(AxisChangeEvent event)(Code)(Java Doc)
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public void datasetChanged(DatasetChangeEvent event)(Code)(Java Doc)
abstract public void draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info)(Code)(Java Doc)
public void drawBackground(Graphics2D g2, Rectangle2D area)(Code)(Java Doc)
public void drawBackgroundImage(Graphics2D g2, Rectangle2D area)(Code)(Java Doc)
protected void drawNoDataMessage(Graphics2D g2, Rectangle2D area)(Code)(Java Doc)
public void drawOutline(Graphics2D g2, Rectangle2D area)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void fillBackground(Graphics2D g2, Rectangle2D area)(Code)(Java Doc)
protected void fillBackground(Graphics2D g2, Rectangle2D area, PlotOrientation orientation)(Code)(Java Doc)
public float getBackgroundAlpha()(Code)(Java Doc)
public Image getBackgroundImage()(Code)(Java Doc)
public int getBackgroundImageAlignment()(Code)(Java Doc)
public float getBackgroundImageAlpha()(Code)(Java Doc)
public Paint getBackgroundPaint()(Code)(Java Doc)
public DatasetGroup getDatasetGroup()(Code)(Java Doc)
public DrawingSupplier getDrawingSupplier()(Code)(Java Doc)
public float getForegroundAlpha()(Code)(Java Doc)
public RectangleInsets getInsets()(Code)(Java Doc)
public LegendItemCollection getLegendItems()(Code)(Java Doc)
public String getNoDataMessage()(Code)(Java Doc)
public Font getNoDataMessageFont()(Code)(Java Doc)
public Paint getNoDataMessagePaint()(Code)(Java Doc)
public Paint getOutlinePaint()(Code)(Java Doc)
public Stroke getOutlineStroke()(Code)(Java Doc)
public Plot getParent()(Code)(Java Doc)
abstract public String getPlotType()(Code)(Java Doc)
protected double getRectX(double x, double w1, double w2, RectangleEdge edge)(Code)(Java Doc)
protected double getRectY(double y, double h1, double h2, RectangleEdge edge)(Code)(Java Doc)
public Plot getRootPlot()(Code)(Java Doc)
public void handleClick(int x, int y, PlotRenderingInfo info)(Code)(Java Doc)
public boolean isOutlineVisible()(Code)(Java Doc)
public boolean isSubplot()(Code)(Java Doc)
public void markerChanged(MarkerChangeEvent event)(Code)(Java Doc)
public void notifyListeners(PlotChangeEvent event)(Code)(Java Doc)
public void removeChangeListener(PlotChangeListener listener)(Code)(Java Doc)
public static RectangleEdge resolveDomainAxisLocation(AxisLocation location, PlotOrientation orientation)(Code)(Java Doc)
public static RectangleEdge resolveRangeAxisLocation(AxisLocation location, PlotOrientation orientation)(Code)(Java Doc)
public void setBackgroundAlpha(float alpha)(Code)(Java Doc)
public void setBackgroundImage(Image image)(Code)(Java Doc)
public void setBackgroundImageAlignment(int alignment)(Code)(Java Doc)
public void setBackgroundImageAlpha(float alpha)(Code)(Java Doc)
public void setBackgroundPaint(Paint paint)(Code)(Java Doc)
protected void setDatasetGroup(DatasetGroup group)(Code)(Java Doc)
public void setDrawingSupplier(DrawingSupplier supplier)(Code)(Java Doc)
public void setForegroundAlpha(float alpha)(Code)(Java Doc)
public void setInsets(RectangleInsets insets)(Code)(Java Doc)
public void setInsets(RectangleInsets insets, boolean notify)(Code)(Java Doc)
public void setNoDataMessage(String message)(Code)(Java Doc)
public void setNoDataMessageFont(Font font)(Code)(Java Doc)
public void setNoDataMessagePaint(Paint paint)(Code)(Java Doc)
public void setOutlinePaint(Paint paint)(Code)(Java Doc)
public void setOutlineStroke(Stroke stroke)(Code)(Java Doc)
public void setOutlineVisible(boolean visible)(Code)(Java Doc)
public void setParent(Plot parent)(Code)(Java Doc)
public void zoom(double percent)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.