Java Doc for PieChart2D.java in  » Chart » Chart2D_1.9.6k » net » sourceforge » chart2d » 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 » Chart2D_1.9.6k » net.sourceforge.chart2d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sourceforge.chart2d.Object2D
   net.sourceforge.chart2d.Chart2D
      net.sourceforge.chart2d.PieChart2D

PieChart2D
final public class PieChart2D extends Chart2D (Code)
A PieChart2D object is an enclosed are with a title, pie sectors, pie labels, and a legend. Changes through its set methods are updated upon next repaint() or getImage() calls.



Constructor Summary
public  PieChart2D()
     Creates a PieChart2D object with its defaults.

Method Summary
final public  DatasetgetDataset()
     Gets the Dataset for this PieChart2D.
final public  BufferedImagegetImage()
     Gets a buffered image of the chart.
final public  MultiColorsPropertiesgetMultiColorsProperties()
     Gets the MultiColorsProperties for this PieChart2D.
final  TitledAreagetObjectArea()
     Gets the PieChartArea of this PieChart2D.
final public  PieChart2DPropertiesgetPieChart2DProperties()
     Gets the PieChart2DProperties for this PieChart2D.
final public  DimensiongetPreferredSize()
     Gets the preferred size of the chart.
final public  voidpack()
     Causes the object to reinintialize to it's preferred size.
final public  voidpaintComponent(Graphics g)
     Paints the chart.
final public  voidsetDataset(Dataset d)
     Sets the Dataset for this PieChart2D.
final public  voidsetLayoutRatios(float pieInfoW)
     Sets the allocation of space to each component of a pie chart.
final public  voidsetMultiColorsProperties(MultiColorsProperties props)
     Sets the MultiColorsProperties for this PieChart2D.
final public  voidsetPieChart2DProperties(PieChart2DProperties props)
     Sets the PieChart2DProperties for this PieChart2D.
final public  voidsetPreferredSize(Dimension size)
     Sets a custom preferred size for the chart.
final public  booleanvalidate(boolean debug)
     Validates the properties of this object. If debug is true then prints a messages indicating whether each property is valid. Returns true if all the properties were valid and false otherwise.
Parameters:
  debug - If true then will print status messages.


Constructor Detail
PieChart2D
public PieChart2D()(Code)
Creates a PieChart2D object with its defaults.




Method Detail
getDataset
final public Dataset getDataset()(Code)
Gets the Dataset for this PieChart2D. The Dataset.



getImage
final public BufferedImage getImage()(Code)
Gets a buffered image of the chart. An image of this chart



getMultiColorsProperties
final public MultiColorsProperties getMultiColorsProperties()(Code)
Gets the MultiColorsProperties for this PieChart2D. The MultiColorsProperties.



getObjectArea
final TitledArea getObjectArea()(Code)
Gets the PieChartArea of this PieChart2D. The PieChartArea of this PieChart2D.



getPieChart2DProperties
final public PieChart2DProperties getPieChart2DProperties()(Code)
Gets the PieChart2DProperties for this PieChart2D. The PieChart2DProperties.



getPreferredSize
final public Dimension getPreferredSize()(Code)
Gets the preferred size of the chart. The preferred size is within the maximum and minimum sizes of the chart. Much calculation is performed when calling this method. The preferred minimum size of the chart.



pack
final public void pack()(Code)
Causes the object to reinintialize to it's preferred size.



paintComponent
final public void paintComponent(Graphics g)(Code)
Paints the chart. This is provided for the layout manager to call.
Parameters:
  g - The graphics context for calculations and painting.



setDataset
final public void setDataset(Dataset d)(Code)
Sets the Dataset for this PieChart2D.
Parameters:
  d - The Dataset.



setLayoutRatios
final public void setLayoutRatios(float pieInfoW)(Code)
Sets the allocation of space to each component of a pie chart. There are three components: pieInfo and legend. The pieInfoW needs to be within 0f and 1f. The legendW will be 1f - pieInfoW. Both the pieInfoW and the legendH will be 1f.
Parameters:
  pieInfoW - The ratio of pieInfo width to total.



setMultiColorsProperties
final public void setMultiColorsProperties(MultiColorsProperties props)(Code)
Sets the MultiColorsProperties for this PieChart2D.
Parameters:
  props - The MultiColorsProperties.



setPieChart2DProperties
final public void setPieChart2DProperties(PieChart2DProperties props)(Code)
Sets the PieChart2DProperties for this PieChart2D.
Parameters:
  props - The PieChart2DProperties.



setPreferredSize
final public void setPreferredSize(Dimension size)(Code)
Sets a custom preferred size for the chart. This custom size will override the preferred size calculations that normally occurr. If null is passed, the preferred size calculations will be reinstated.
Parameters:
  size - The custom preferred size for this chart.



validate
final public boolean validate(boolean debug)(Code)
Validates the properties of this object. If debug is true then prints a messages indicating whether each property is valid. Returns true if all the properties were valid and false otherwise.
Parameters:
  debug - If true then will print status messages. If true then valid.



Methods inherited from net.sourceforge.chart2d.Chart2D
final public Chart2DProperties getChart2DProperties()(Code)(Java Doc)
final public LegendProperties getLegendProperties()(Code)(Java Doc)
final boolean getNeedsUpdateChart2D()(Code)(Java Doc)
final public void setChart2DProperties(Chart2DProperties props)(Code)(Java Doc)
final public void setLegendProperties(LegendProperties props)(Code)(Java Doc)
final void updateChart2D()(Code)(Java Doc)
final boolean validateChart2D(boolean debug)(Code)(Java Doc)

Fields inherited from net.sourceforge.chart2d.Object2D
final public static Dimension MAX_SIZE_DEFAULT(Code)(Java Doc)
final public static Dimension MIN_SIZE_DEFAULT(Code)(Java Doc)

Methods inherited from net.sourceforge.chart2d.Object2D
abstract public BufferedImage getImage()(Code)(Java Doc)
final boolean getNeedsUpdateObject2D()(Code)(Java Doc)
final public Object2DProperties getObject2DProperties()(Code)(Java Doc)
abstract TitledArea getObjectArea()(Code)(Java Doc)
abstract public Dimension getPreferredSize()(Code)(Java Doc)
abstract public void pack()(Code)(Java Doc)
final public void setMaximumSize(Dimension size)(Code)(Java Doc)
final public void setMinimumSize(Dimension size)(Code)(Java Doc)
final public void setObject2DProperties(Object2DProperties props)(Code)(Java Doc)
abstract public void setPreferredSize(Dimension size)(Code)(Java Doc)
final void updateObject2D()(Code)(Java Doc)
abstract public boolean validate(boolean debug)(Code)(Java Doc)
final boolean validateObject2D(boolean debug)(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.