Java Doc for PiePlot3D.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.PiePlot
         org.jfree.chart.plot.PiePlot3D

PiePlot3D
public class PiePlot3D extends PiePlot implements Serializable(Code)
A plot that displays data in the form of a 3D pie chart, using data from any class that implements the PieDataset interface.

Although this class extends PiePlot , it does not currently support exploded sections.




Constructor Summary
public  PiePlot3D()
     Creates a new instance with no dataset.
public  PiePlot3D(PieDataset dataset)
     Creates a pie chart with a three dimensional effect using the specified dataset.

Method Summary
public  voiddraw(Graphics2D g2, Rectangle2D plotArea, Point2D anchor, PlotState parentState, PlotRenderingInfo info)
     Draws the plot on a Java 2D graphics device (such as the screen or a printer).
protected  voiddrawSide(Graphics2D g2, Rectangle2D plotArea, Arc2D arc, Area front, Area back, Paint paint, Paint outlinePaint, Stroke outlineStroke, boolean drawFront, boolean drawBack)
     Draws the side of a pie section.
public  booleanequals(Object obj)
     Tests this plot for equality with an arbitrary object.
Parameters:
  obj - the object (null permitted).
public  doublegetDepthFactor()
     Returns the depth factor for the chart.
public  StringgetPlotType()
     Returns a short string describing the type of plot.
public  voidsetDepthFactor(double factor)
     Sets the pie depth as a percentage of the height of the plot area, and sends a PlotChangeEvent to all registered listeners.


Constructor Detail
PiePlot3D
public PiePlot3D()(Code)
Creates a new instance with no dataset.



PiePlot3D
public PiePlot3D(PieDataset dataset)(Code)
Creates a pie chart with a three dimensional effect using the specified dataset.
Parameters:
  dataset - the dataset (null permitted).




Method Detail
draw
public void draw(Graphics2D g2, Rectangle2D plotArea, Point2D anchor, PlotState parentState, PlotRenderingInfo info)(Code)
Draws the plot on a Java 2D graphics device (such as the screen or a printer). This method is called by the org.jfree.chart.JFreeChart class, you don't normally need to call it yourself.
Parameters:
  g2 - the graphics device.
Parameters:
  plotArea - the area within which the plot should be drawn.
Parameters:
  anchor - the anchor point.
Parameters:
  parentState - the state from the parent plot, if there is one.
Parameters:
  info - collects info about the drawing (null permitted).



drawSide
protected void drawSide(Graphics2D g2, Rectangle2D plotArea, Arc2D arc, Area front, Area back, Paint paint, Paint outlinePaint, Stroke outlineStroke, boolean drawFront, boolean drawBack)(Code)
Draws the side of a pie section.
Parameters:
  g2 - the graphics device.
Parameters:
  plotArea - the plot area.
Parameters:
  arc - the arc.
Parameters:
  front - the front of the pie.
Parameters:
  back - the back of the pie.
Parameters:
  paint - the color.
Parameters:
  outlinePaint - the outline paint.
Parameters:
  outlineStroke - the outline stroke.
Parameters:
  drawFront - draw the front?
Parameters:
  drawBack - draw the back?



equals
public boolean equals(Object obj)(Code)
Tests this plot for equality with an arbitrary object.
Parameters:
  obj - the object (null permitted). A boolean.



getDepthFactor
public double getDepthFactor()(Code)
Returns the depth factor for the chart. The depth factor.
See Also:   PiePlot3D.setDepthFactor(double)



getPlotType
public String getPlotType()(Code)
Returns a short string describing the type of plot. Pie 3D Plot.



setDepthFactor
public void setDepthFactor(double factor)(Code)
Sets the pie depth as a percentage of the height of the plot area, and sends a PlotChangeEvent to all registered listeners.
Parameters:
  factor - the depth factor (for example, 0.20 is twenty percent).
See Also:   PiePlot3D.getDepthFactor()



Fields inherited from org.jfree.chart.plot.PiePlot
final public static double DEFAULT_INTERIOR_GAP(Code)(Java Doc)
final public static Paint DEFAULT_LABEL_BACKGROUND_PAINT(Code)(Java Doc)
final public static Font DEFAULT_LABEL_FONT(Code)(Java Doc)
final public static Paint DEFAULT_LABEL_OUTLINE_PAINT(Code)(Java Doc)
final public static Stroke DEFAULT_LABEL_OUTLINE_STROKE(Code)(Java Doc)
final public static Paint DEFAULT_LABEL_PAINT(Code)(Java Doc)
final public static Paint DEFAULT_LABEL_SHADOW_PAINT(Code)(Java Doc)
final public static double DEFAULT_MINIMUM_ARC_ANGLE_TO_DRAW(Code)(Java Doc)
final public static double DEFAULT_START_ANGLE(Code)(Java Doc)
final public static double MAX_INTERIOR_GAP(Code)(Java Doc)
protected static ResourceBundle localizationResources(Code)(Java Doc)

Methods inherited from org.jfree.chart.plot.PiePlot
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public void draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info)(Code)(Java Doc)
protected void drawItem(Graphics2D g2, int section, Rectangle2D dataArea, PiePlotState state, int currentPass)(Code)(Java Doc)
protected void drawLabels(Graphics2D g2, List keys, double totalValue, Rectangle2D plotArea, Rectangle2D linkArea, PiePlotState state)(Code)(Java Doc)
protected void drawLeftLabel(Graphics2D g2, PiePlotState state, PieLabelRecord record)(Code)(Java Doc)
protected void drawLeftLabels(KeyedValues leftKeys, Graphics2D g2, Rectangle2D plotArea, Rectangle2D linkArea, float maxLabelWidth, PiePlotState state)(Code)(Java Doc)
protected void drawPie(Graphics2D g2, Rectangle2D plotArea, PlotRenderingInfo info)(Code)(Java Doc)
protected void drawRightLabel(Graphics2D g2, PiePlotState state, PieLabelRecord record)(Code)(Java Doc)
protected void drawRightLabels(KeyedValues keys, Graphics2D g2, Rectangle2D plotArea, Rectangle2D linkArea, float maxLabelWidth, PiePlotState state)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected Rectangle2D getArcBounds(Rectangle2D unexploded, Rectangle2D exploded, double angle, double extent, double explodePercent)(Code)(Java Doc)
public Paint getBaseSectionOutlinePaint()(Code)(Java Doc)
public Stroke getBaseSectionOutlineStroke()(Code)(Java Doc)
public Paint getBaseSectionPaint()(Code)(Java Doc)
public PieDataset getDataset()(Code)(Java Doc)
public Rotation getDirection()(Code)(Java Doc)
public double getExplodePercent(Comparable key)(Code)(Java Doc)
public double getExplodePercent(int section)(Code)(Java Doc)
public boolean getIgnoreNullValues()(Code)(Java Doc)
public boolean getIgnoreZeroValues()(Code)(Java Doc)
public double getInteriorGap()(Code)(Java Doc)
public Paint getLabelBackgroundPaint()(Code)(Java Doc)
public AbstractPieLabelDistributor getLabelDistributor()(Code)(Java Doc)
public Font getLabelFont()(Code)(Java Doc)
public double getLabelGap()(Code)(Java Doc)
public PieSectionLabelGenerator getLabelGenerator()(Code)(Java Doc)
public double getLabelLinkMargin()(Code)(Java Doc)
public Paint getLabelLinkPaint()(Code)(Java Doc)
public Stroke getLabelLinkStroke()(Code)(Java Doc)
public boolean getLabelLinksVisible()(Code)(Java Doc)
public Paint getLabelOutlinePaint()(Code)(Java Doc)
public Stroke getLabelOutlineStroke()(Code)(Java Doc)
public Paint getLabelPaint()(Code)(Java Doc)
public Paint getLabelShadowPaint()(Code)(Java Doc)
public Shape getLegendItemShape()(Code)(Java Doc)
public LegendItemCollection getLegendItems()(Code)(Java Doc)
public PieSectionLabelGenerator getLegendLabelGenerator()(Code)(Java Doc)
public PieSectionLabelGenerator getLegendLabelToolTipGenerator()(Code)(Java Doc)
public PieURLGenerator getLegendLabelURLGenerator()(Code)(Java Doc)
public double getMaximumExplodePercent()(Code)(Java Doc)
public double getMaximumLabelWidth()(Code)(Java Doc)
public double getMinimumArcAngleToDraw()(Code)(Java Doc)
public int getPieIndex()(Code)(Java Doc)
public String getPlotType()(Code)(Java Doc)
protected Comparable getSectionKey(int section)(Code)(Java Doc)
public Paint getSectionOutlinePaint()(Code)(Java Doc)
public Paint getSectionOutlinePaint(Comparable key)(Code)(Java Doc)
public Paint getSectionOutlinePaint(int section)(Code)(Java Doc)
public Stroke getSectionOutlineStroke()(Code)(Java Doc)
public Stroke getSectionOutlineStroke(Comparable key)(Code)(Java Doc)
public Stroke getSectionOutlineStroke(int section)(Code)(Java Doc)
public boolean getSectionOutlinesVisible()(Code)(Java Doc)
public Paint getSectionPaint()(Code)(Java Doc)
public Paint getSectionPaint(Comparable key)(Code)(Java Doc)
public Paint getSectionPaint(int section)(Code)(Java Doc)
public Paint getShadowPaint()(Code)(Java Doc)
public double getShadowXOffset()(Code)(Java Doc)
public double getShadowYOffset()(Code)(Java Doc)
public double getStartAngle()(Code)(Java Doc)
public PieToolTipGenerator getToolTipGenerator()(Code)(Java Doc)
public PieURLGenerator getURLGenerator()(Code)(Java Doc)
public PiePlotState initialise(Graphics2D g2, Rectangle2D plotArea, PiePlot plot, Integer index, PlotRenderingInfo info)(Code)(Java Doc)
public boolean isCircular()(Code)(Java Doc)
protected Paint lookupSectionOutlinePaint(Comparable key)(Code)(Java Doc)
protected Paint lookupSectionOutlinePaint(Comparable key, boolean autoPopulate)(Code)(Java Doc)
protected Stroke lookupSectionOutlineStroke(Comparable key)(Code)(Java Doc)
protected Stroke lookupSectionOutlineStroke(Comparable key, boolean autoPopulate)(Code)(Java Doc)
protected Paint lookupSectionPaint(Comparable key)(Code)(Java Doc)
protected Paint lookupSectionPaint(Comparable key, boolean autoPopulate)(Code)(Java Doc)
public void setBaseSectionOutlinePaint(Paint paint)(Code)(Java Doc)
public void setBaseSectionOutlineStroke(Stroke stroke)(Code)(Java Doc)
public void setBaseSectionPaint(Paint paint)(Code)(Java Doc)
public void setCircular(boolean flag)(Code)(Java Doc)
public void setCircular(boolean circular, boolean notify)(Code)(Java Doc)
public void setDataset(PieDataset dataset)(Code)(Java Doc)
public void setDirection(Rotation direction)(Code)(Java Doc)
public void setExplodePercent(Comparable key, double percent)(Code)(Java Doc)
public void setExplodePercent(int section, double percent)(Code)(Java Doc)
public void setIgnoreNullValues(boolean flag)(Code)(Java Doc)
public void setIgnoreZeroValues(boolean flag)(Code)(Java Doc)
public void setInteriorGap(double percent)(Code)(Java Doc)
public void setLabelBackgroundPaint(Paint paint)(Code)(Java Doc)
public void setLabelDistributor(AbstractPieLabelDistributor distributor)(Code)(Java Doc)
public void setLabelFont(Font font)(Code)(Java Doc)
public void setLabelGap(double gap)(Code)(Java Doc)
public void setLabelGenerator(PieSectionLabelGenerator generator)(Code)(Java Doc)
public void setLabelLinkMargin(double margin)(Code)(Java Doc)
public void setLabelLinkPaint(Paint paint)(Code)(Java Doc)
public void setLabelLinkStroke(Stroke stroke)(Code)(Java Doc)
public void setLabelLinksVisible(boolean visible)(Code)(Java Doc)
public void setLabelOutlinePaint(Paint paint)(Code)(Java Doc)
public void setLabelOutlineStroke(Stroke stroke)(Code)(Java Doc)
public void setLabelPaint(Paint paint)(Code)(Java Doc)
public void setLabelShadowPaint(Paint paint)(Code)(Java Doc)
public void setLegendItemShape(Shape shape)(Code)(Java Doc)
public void setLegendLabelGenerator(PieSectionLabelGenerator generator)(Code)(Java Doc)
public void setLegendLabelToolTipGenerator(PieSectionLabelGenerator generator)(Code)(Java Doc)
public void setLegendLabelURLGenerator(PieURLGenerator generator)(Code)(Java Doc)
public void setMaximumLabelWidth(double width)(Code)(Java Doc)
public void setMinimumArcAngleToDraw(double angle)(Code)(Java Doc)
public void setPieIndex(int index)(Code)(Java Doc)
public void setSectionOutlinePaint(Paint paint)(Code)(Java Doc)
public void setSectionOutlinePaint(Comparable key, Paint paint)(Code)(Java Doc)
public void setSectionOutlinePaint(int section, Paint paint)(Code)(Java Doc)
public void setSectionOutlineStroke(Stroke stroke)(Code)(Java Doc)
public void setSectionOutlineStroke(Comparable key, Stroke stroke)(Code)(Java Doc)
public void setSectionOutlineStroke(int section, Stroke stroke)(Code)(Java Doc)
public void setSectionOutlinesVisible(boolean visible)(Code)(Java Doc)
public void setSectionPaint(Paint paint)(Code)(Java Doc)
public void setSectionPaint(Comparable key, Paint paint)(Code)(Java Doc)
public void setSectionPaint(int section, Paint paint)(Code)(Java Doc)
public void setShadowPaint(Paint paint)(Code)(Java Doc)
public void setShadowXOffset(double offset)(Code)(Java Doc)
public void setShadowYOffset(double offset)(Code)(Java Doc)
public void setStartAngle(double angle)(Code)(Java Doc)
public void setToolTipGenerator(PieToolTipGenerator generator)(Code)(Java Doc)
public void setURLGenerator(PieURLGenerator generator)(Code)(Java Doc)

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.