Java Doc for PieChart2DProperties.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) 


java.lang.Object
   net.sourceforge.chart2d.Properties
      net.sourceforge.chart2d.PieChart2DProperties

PieChart2DProperties
final public class PieChart2DProperties extends Properties (Code)
A data structure for holding the properties common to all PieChart2D charts. A PieChart2D object is an enclosed are with a title, pie sectors, pie labels, and a legend. Pass this to any number of PieChart2D objects.


Field Summary
final public static  intBOTTOM
     Signifies bottom.
final public static  booleanCHART_BETWEEN_PIE_LABELS_AND_PIE_GAP_EXISTENCE_DEFAULT
     The default is true.
final public static  intCHART_BETWEEN_PIE_LABELS_AND_PIE_GAP_THICKNESS_MODEL_DEFAULT
     The default is 6.
final public static  intLEFT
     Signifies left.
final public static  intNONE
     Signifies none.
final public static  intPERCENT
     Indicates the pie numbers labels should have percent ratios.
final public static  booleanPIE_LABELS_BETWEEN_LABELS_GAP_EXISTENCE_DEFAULT
     The default is true.
final public static  intPIE_LABELS_BETWEEN_LABELS_GAP_THICKNESS_MODEL_DEFAULT
     The default is 3.
final public static  booleanPIE_LABELS_EXISTENCE_DEFAULT
     The default is true.
final public static  ColorPIE_LABELS_FONT_COLOR_DEFAULT
     The default is Color.black.
final public static  StringPIE_LABELS_FONT_NAME_DEFAULT
     The default is "SansSerif".
final public static  intPIE_LABELS_FONT_POINT_MODEL_DEFAULT
     The default is 10.
final public static  intPIE_LABELS_FONT_STYLE_DEFAULT
     The default is Font.PLAIN.
final public static  ColorPIE_LABELS_LINES_COLOR_DEFAULT
     The default is Color.black.
final public static  ColorPIE_LABELS_LINES_DOTS_COLOR_DEFAULT
     The default is Color.black.
final public static  booleanPIE_LABELS_LINES_DOTS_EXISTENCE_DEFAULT
     The default is false.
final public static  intPIE_LABELS_LINES_DOTS_THICKNESS_MODEL_DEFAULT
     The default is 2.
final public static  booleanPIE_LABELS_LINES_EXISTENCE_DEFAULT
     The default is true.
final public static  intPIE_LABELS_LINES_THICKNESS_MODEL_DEFAULT
     The default is 1.
final public static  floatPIE_LABELS_POINTS_BETWEEN_PIE_AND_LABEL_GAPS_DEPTH_RATIO_DEFAULT
     The default is .25f.
final public static  booleanPIE_LABELS_POINTS_GAP_OFFSET_EXISTENCE_DEFAULT
     The default is true.
final public static  floatPIE_LABELS_POINTS_GAP_OFFSET_MODEL_RATIO_DEFAULT
     The default is .50f.
final public static  floatPIE_LABELS_POINTS_PIE_SECTORS_DEPTH_RATIO_DEFAULT
     The default is .125f.
final public static  intPIE_LABELS_TYPE_DEFAULT
     The default is RAW + PERCENT.
final public static  intPIE_PREFERRED_SIZE_DEFAULT
     The default is 30.
final public static  ColorPIE_SECTORS_OUTLINE_COLOR_DEFAULT
     The default is Color.black.
final public static  booleanPIE_SECTORS_OUTLINE_EXISTENCE_DEFAULT
     The default is false.
final public static  intPIE_SECTOR_LIGHT_SOURCE_DEFAULT
     The default is TOP.
final public static  intRAW
     Indicates the pie numbers labels should have raw numbers.
final public static  intRIGHT
     Signifies right.
final public static  intTOP
     Signifies top.

Constructor Summary
public  PieChart2DProperties()
     Creates a PieChart2DProperties object with the documented default values.
public  PieChart2DProperties(PieChart2DProperties pieChart2DProps)
     Creates a PieChart2DProperties object with property values copied from another object.

Method Summary
final  voidaddPieChart2D(PieChart2D pieChart2D)
     Adds a PieChart2D to the set of objects using these properties.
final public  booleangetChartBetweenPieLabelsAndPieGapExistence()
     Returns whether the gap between each pie label and the pie exists.
final public  intgetChartBetweenPieLabelsAndPieGapThicknessModel()
     Returns the thickness of the gap between each pie label and the pie for the chart's model size.
final  booleangetPieChart2DNeedsUpdate(PieChart2D pieChart2D)
     Gets whether this object needs to be updated with new properties.
Parameters:
  pieChart2D - The object that might need to be updated.
final public  booleangetPieLabelsBetweenLabelsGapExistence()
     Returns whether a gap between each pie sector label exists.
final public  intgetPieLabelsBetweenLabelsGapThicknessModel()
     Returns the thickness of the gap between each pie label for the chart's model size.
final public  booleangetPieLabelsExistence()
     Returns whether the pie sectors of the pie chart will be labeled. The labels can be raw numbers or percents.
final public  ColorgetPieLabelsFontColor()
     Gets the color of the font of the pie labels.
final public  StringgetPieLabelsFontName()
     Gets name of the font of the pie labels.
final public  intgetPieLabelsFontPointModel()
     Gets the point of the font of the pie labels for the chart's model size.
final public  intgetPieLabelsFontStyle()
     Gets the style of the font of the pie labels.
final public  ColorgetPieLabelsLinesColor()
     Returns the color of the lines relating each pie sector with its particular label.
final public  ColorgetPieLabelsLinesDotsColor()
     Returns the color of the dots that exist at the beginning and ending of the lines relating each pie sector with its particular label.
final public  booleangetPieLabelsLinesDotsExistence()
     Returns whether dots exist at the beginning and ending of the lines relating each pie sector with its particular label.
final public  intgetPieLabelsLinesDotsThicknessModel()
     Returns the thickness (ie diameter) of the dots that exist at the beginning and ending of the lines releating each pie sector with its particular label for the chart's model size.
final public  booleangetPieLabelsLinesExistence()
     Returns whether lines relating each pie sector with its particular label exists.
final public  intgetPieLabelsLinesThicknessModel()
     Returns the thickness of the lines relating each pie sector with its particular label for the model size of the chart.
final public  floatgetPieLabelsPointsBetweenPieAndLabelGapsDepthRatio()
     Returns the depth within each gap between each pie sector and label, from each pie, of the point at which a line coming from a label and a line coming from a pie, meet.
final public  booleangetPieLabelsPointsGapOffsetExistence()
     Returns whether the gap between each pie label and a point from which a line may be drawn and/or on which a dot may be placed to relate each label with a particular pie sector exists.
final public  floatgetPieLabelsPointsGapOffsetModelRatio()
     Gets the ratio on the gap between the pie and the labels, for the gap between the labels and the labels point.
final public  floatgetPieLabelsPointsPieSectorsDepthRatio()
     Returns the depth within each pie sector a point is placed from which a line may be drawn and/or on which a dot may be placed to relate each label with a particular pie sector for the chart's model size.
final public  intgetPieLabelsType()
     Returns the type of pie sector labels of the pie chart.
final public  intgetPiePreferredSize()
     Returns the preffered size of the pie in the pie chart.
final public  intgetPieSectorLightSource()
     Gets from which direction the light is coming for shading of the pie sectors.
final public  ColorgetPieSectorsOutlineColor()
     Returns the color of the outline of the pie sectors.
final public  booleangetPieSectorsOutlineExistence()
     Returns whether the sectors of the pie should have a thin outline.
final  voidremovePieChart2D(PieChart2D pieChart2D)
     Removes a PieChart2D from the set of objects using these properties.
final public  voidsetChartBetweenPieLabelsAndPieGapExistence(boolean existence)
     Specifies whether the gap between each pie label and the pie exists.
final public  voidsetChartBetweenPieLabelsAndPieGapThicknessModel(int thickness)
     Specifies the thickness of the gap between each pie label and the pie for the chart's model size.
final public  voidsetPieChart2DProperties(PieChart2DProperties pieChart2DProps)
     Sets all the properties to be the values of another PieChart2DProperties object.
final public  voidsetPieChart2DPropertiesToDefaults()
     Sets all properties to their default values.
final public  voidsetPieLabelsBetweenLabelsGapExistence(boolean existence)
     Specifies whether a gap between each pie sector label exists.
final public  voidsetPieLabelsBetweenLabelsGapThicknessModel(int thickness)
     Specifies the thickness of the gap between each pie label for the chart's model size.
final public  voidsetPieLabelsExistence(boolean existence)
     Specifies whether the pie sectors of the pie chart will be labeled. The labels can be raw numbers or percents.
final public  voidsetPieLabelsFontColor(Color color)
     Sets the color of the font of the pie labels.
final public  voidsetPieLabelsFontName(String name)
     Sets name of the font of the pie labels.
final public  voidsetPieLabelsFontPointModel(int point)
     Sets the point of the font of the pie labels for the chart's model size.
final public  voidsetPieLabelsFontStyle(int style)
     Sets the style of the font of the pie labels.
final public  voidsetPieLabelsLinesColor(Color color)
     Specifies the color of the lines relating each pie sector with its particular label.
final public  voidsetPieLabelsLinesDotsColor(Color color)
     Specifies the color of the dots that exist at the beginning and ending of the lines relating each pie sector with its particular label.
final public  voidsetPieLabelsLinesDotsExistence(boolean existence)
     Specifies whether dots exist at the beginning and ending of the lines relating each pie sector with its particular label.
final public  voidsetPieLabelsLinesDotsThicknessModel(int thickness)
     Specifies the thickness (ie diameter) of the dots that exist at the beginning and ending of the lines releating each pie sector with its particular label for the chart's model size.
final public  voidsetPieLabelsLinesExistence(boolean existence)
     Specifies whether lines relating each pie sector with its particular label exists.
final public  voidsetPieLabelsLinesThicknessModel(int thickness)
     Specifies the thickness of the lines relating each pie sector with its particular label for the model size of the chart.
final public  voidsetPieLabelsPointsBetweenPieAndLabelGapsDepthRatio(float ratio)
     Specifies the depth within each gap between each pie sector and label, from each pie, of the point at which a line coming from a label and a line coming from a pie, meet.
final public  voidsetPieLabelsPointsGapOffsetExistence(boolean existence)
     Specifies whether the gap between each pie label and a point from which a line may be drawn and/or on which a dot may be placed to relate each label with a particular pie sector exists.
final public  voidsetPieLabelsPointsGapOffsetModelRatio(float ratio)
     Specifies the ratio on the gap between the pie and the labels, for the gap between the labels and the labels point.
final public  voidsetPieLabelsPointsPieSectorsDepthRatio(float ratio)
     Specifies the depth within each pie sector a point is placed from which a line may be drawn and/or on which a dot may be placed to relate each label with a particular pie sector for the chart's model size.
final public  voidsetPieLabelsType(int type)
     Specifies the type of pie sector labels of the pie chart.
final public  voidsetPiePreferredSize(int size)
     Specifies the preffered size of the pie in the pie chart.
final  voidsetPieSectorLightSource(int source)
     Sets from which direction the light is coming for shading of the pie sectors.
final public  voidsetPieSectorsOutlineColor(Color color)
     Specifies the color of the outline of the pie sectors.
final public  voidsetPieSectorsOutlineExistence(boolean existence)
     Specifies whether the sectors of the pie should have a thin outline.
final  voidupdatePieChart2D(PieChart2D pieChart2D)
     Updates the properties of this PieChart2D.
final  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.

Field Detail
BOTTOM
final public static int BOTTOM(Code)
Signifies bottom.



CHART_BETWEEN_PIE_LABELS_AND_PIE_GAP_EXISTENCE_DEFAULT
final public static boolean CHART_BETWEEN_PIE_LABELS_AND_PIE_GAP_EXISTENCE_DEFAULT(Code)
The default is true.



CHART_BETWEEN_PIE_LABELS_AND_PIE_GAP_THICKNESS_MODEL_DEFAULT
final public static int CHART_BETWEEN_PIE_LABELS_AND_PIE_GAP_THICKNESS_MODEL_DEFAULT(Code)
The default is 6.



LEFT
final public static int LEFT(Code)
Signifies left.



NONE
final public static int NONE(Code)
Signifies none.



PERCENT
final public static int PERCENT(Code)
Indicates the pie numbers labels should have percent ratios.



PIE_LABELS_BETWEEN_LABELS_GAP_EXISTENCE_DEFAULT
final public static boolean PIE_LABELS_BETWEEN_LABELS_GAP_EXISTENCE_DEFAULT(Code)
The default is true.



PIE_LABELS_BETWEEN_LABELS_GAP_THICKNESS_MODEL_DEFAULT
final public static int PIE_LABELS_BETWEEN_LABELS_GAP_THICKNESS_MODEL_DEFAULT(Code)
The default is 3.



PIE_LABELS_EXISTENCE_DEFAULT
final public static boolean PIE_LABELS_EXISTENCE_DEFAULT(Code)
The default is true.



PIE_LABELS_FONT_COLOR_DEFAULT
final public static Color PIE_LABELS_FONT_COLOR_DEFAULT(Code)
The default is Color.black.



PIE_LABELS_FONT_NAME_DEFAULT
final public static String PIE_LABELS_FONT_NAME_DEFAULT(Code)
The default is "SansSerif".



PIE_LABELS_FONT_POINT_MODEL_DEFAULT
final public static int PIE_LABELS_FONT_POINT_MODEL_DEFAULT(Code)
The default is 10.



PIE_LABELS_FONT_STYLE_DEFAULT
final public static int PIE_LABELS_FONT_STYLE_DEFAULT(Code)
The default is Font.PLAIN.



PIE_LABELS_LINES_COLOR_DEFAULT
final public static Color PIE_LABELS_LINES_COLOR_DEFAULT(Code)
The default is Color.black.



PIE_LABELS_LINES_DOTS_COLOR_DEFAULT
final public static Color PIE_LABELS_LINES_DOTS_COLOR_DEFAULT(Code)
The default is Color.black.



PIE_LABELS_LINES_DOTS_EXISTENCE_DEFAULT
final public static boolean PIE_LABELS_LINES_DOTS_EXISTENCE_DEFAULT(Code)
The default is false.



PIE_LABELS_LINES_DOTS_THICKNESS_MODEL_DEFAULT
final public static int PIE_LABELS_LINES_DOTS_THICKNESS_MODEL_DEFAULT(Code)
The default is 2.



PIE_LABELS_LINES_EXISTENCE_DEFAULT
final public static boolean PIE_LABELS_LINES_EXISTENCE_DEFAULT(Code)
The default is true.



PIE_LABELS_LINES_THICKNESS_MODEL_DEFAULT
final public static int PIE_LABELS_LINES_THICKNESS_MODEL_DEFAULT(Code)
The default is 1.



PIE_LABELS_POINTS_BETWEEN_PIE_AND_LABEL_GAPS_DEPTH_RATIO_DEFAULT
final public static float PIE_LABELS_POINTS_BETWEEN_PIE_AND_LABEL_GAPS_DEPTH_RATIO_DEFAULT(Code)
The default is .25f.



PIE_LABELS_POINTS_GAP_OFFSET_EXISTENCE_DEFAULT
final public static boolean PIE_LABELS_POINTS_GAP_OFFSET_EXISTENCE_DEFAULT(Code)
The default is true.



PIE_LABELS_POINTS_GAP_OFFSET_MODEL_RATIO_DEFAULT
final public static float PIE_LABELS_POINTS_GAP_OFFSET_MODEL_RATIO_DEFAULT(Code)
The default is .50f.



PIE_LABELS_POINTS_PIE_SECTORS_DEPTH_RATIO_DEFAULT
final public static float PIE_LABELS_POINTS_PIE_SECTORS_DEPTH_RATIO_DEFAULT(Code)
The default is .125f.



PIE_LABELS_TYPE_DEFAULT
final public static int PIE_LABELS_TYPE_DEFAULT(Code)
The default is RAW + PERCENT.



PIE_PREFERRED_SIZE_DEFAULT
final public static int PIE_PREFERRED_SIZE_DEFAULT(Code)
The default is 30.



PIE_SECTORS_OUTLINE_COLOR_DEFAULT
final public static Color PIE_SECTORS_OUTLINE_COLOR_DEFAULT(Code)
The default is Color.black.



PIE_SECTORS_OUTLINE_EXISTENCE_DEFAULT
final public static boolean PIE_SECTORS_OUTLINE_EXISTENCE_DEFAULT(Code)
The default is false.



PIE_SECTOR_LIGHT_SOURCE_DEFAULT
final public static int PIE_SECTOR_LIGHT_SOURCE_DEFAULT(Code)
The default is TOP.



RAW
final public static int RAW(Code)
Indicates the pie numbers labels should have raw numbers.



RIGHT
final public static int RIGHT(Code)
Signifies right.



TOP
final public static int TOP(Code)
Signifies top.




Constructor Detail
PieChart2DProperties
public PieChart2DProperties()(Code)
Creates a PieChart2DProperties object with the documented default values.



PieChart2DProperties
public PieChart2DProperties(PieChart2DProperties pieChart2DProps)(Code)
Creates a PieChart2DProperties object with property values copied from another object. The copying is a deep copy.
Parameters:
  pieChart2DProps - The properties to copy.




Method Detail
addPieChart2D
final void addPieChart2D(PieChart2D pieChart2D)(Code)
Adds a PieChart2D to the set of objects using these properties.
Parameters:
  pieChart2D - The object to add.



getChartBetweenPieLabelsAndPieGapExistence
final public boolean getChartBetweenPieLabelsAndPieGapExistence()(Code)
Returns whether the gap between each pie label and the pie exists. If true, the gap exists.



getChartBetweenPieLabelsAndPieGapThicknessModel
final public int getChartBetweenPieLabelsAndPieGapThicknessModel()(Code)
Returns the thickness of the gap between each pie label and the pie for the chart's model size. The model thickness of the gap.



getPieChart2DNeedsUpdate
final boolean getPieChart2DNeedsUpdate(PieChart2D pieChart2D)(Code)
Gets whether this object needs to be updated with new properties.
Parameters:
  pieChart2D - The object that might need to be updated. If true the object needs to be udpated.



getPieLabelsBetweenLabelsGapExistence
final public boolean getPieLabelsBetweenLabelsGapExistence()(Code)
Returns whether a gap between each pie sector label exists. The gap is applied both vertically and horizontally. If true, then the gap exists.



getPieLabelsBetweenLabelsGapThicknessModel
final public int getPieLabelsBetweenLabelsGapThicknessModel()(Code)
Returns the thickness of the gap between each pie label for the chart's model size. The thickness of the gap.



getPieLabelsExistence
final public boolean getPieLabelsExistence()(Code)
Returns whether the pie sectors of the pie chart will be labeled. The labels can be raw numbers or percents. They encircle the pie. Methods that specify properties of these labels are setPieLabelsType (int) and Chart2DProperties.setChartDataLabelsPrecision (int). If true, the pie sectors will be labeled.



getPieLabelsFontColor
final public Color getPieLabelsFontColor()(Code)
Gets the color of the font of the pie labels. Color The color of the font of the pie labels.



getPieLabelsFontName
final public String getPieLabelsFontName()(Code)
Gets name of the font of the pie labels. Accepts all values accepted by java.awt.Font. String The name of the font for the pie labels.



getPieLabelsFontPointModel
final public int getPieLabelsFontPointModel()(Code)
Gets the point of the font of the pie labels for the chart's model size. int The model font point of the pie labels.



getPieLabelsFontStyle
final public int getPieLabelsFontStyle()(Code)
Gets the style of the font of the pie labels. Accepts all values that java.awt.Font accepts. int The style of the font of the pie labels.



getPieLabelsLinesColor
final public Color getPieLabelsLinesColor()(Code)
Returns the color of the lines relating each pie sector with its particular label. The color of the lines.



getPieLabelsLinesDotsColor
final public Color getPieLabelsLinesDotsColor()(Code)
Returns the color of the dots that exist at the beginning and ending of the lines relating each pie sector with its particular label. The color of the dots.



getPieLabelsLinesDotsExistence
final public boolean getPieLabelsLinesDotsExistence()(Code)
Returns whether dots exist at the beginning and ending of the lines relating each pie sector with its particular label. If true, then two dots per line will exist.



getPieLabelsLinesDotsThicknessModel
final public int getPieLabelsLinesDotsThicknessModel()(Code)
Returns the thickness (ie diameter) of the dots that exist at the beginning and ending of the lines releating each pie sector with its particular label for the chart's model size. The thickness of the dots.



getPieLabelsLinesExistence
final public boolean getPieLabelsLinesExistence()(Code)
Returns whether lines relating each pie sector with its particular label exists. If true, then the pie labels lines exist.



getPieLabelsLinesThicknessModel
final public int getPieLabelsLinesThicknessModel()(Code)
Returns the thickness of the lines relating each pie sector with its particular label for the model size of the chart. The thickness of the line.



getPieLabelsPointsBetweenPieAndLabelGapsDepthRatio
final public float getPieLabelsPointsBetweenPieAndLabelGapsDepthRatio()(Code)
Returns the depth within each gap between each pie sector and label, from each pie, of the point at which a line coming from a label and a line coming from a pie, meet. The depth into the gap where the lines labeling lines meet.



getPieLabelsPointsGapOffsetExistence
final public boolean getPieLabelsPointsGapOffsetExistence()(Code)
Returns whether the gap between each pie label and a point from which a line may be drawn and/or on which a dot may be placed to relate each label with a particular pie sector exists. If true, the gap exists.



getPieLabelsPointsGapOffsetModelRatio
final public float getPieLabelsPointsGapOffsetModelRatio()(Code)
Gets the ratio on the gap between the pie and the labels, for the gap between the labels and the labels point. The ratio.



getPieLabelsPointsPieSectorsDepthRatio
final public float getPieLabelsPointsPieSectorsDepthRatio()(Code)
Returns the depth within each pie sector a point is placed from which a line may be drawn and/or on which a dot may be placed to relate each label with a particular pie sector for the chart's model size. The depth into the pie sector to the pie sector depth for the point's placement.



getPieLabelsType
final public int getPieLabelsType()(Code)
Returns the type of pie sector labels of the pie chart. The possible types are RAW, PERCENT, and RAW+PERCENT. The format for RAW+PERCENT is v (p%) where v is a data value and p is a percent value. The type of the pie labels.



getPiePreferredSize
final public int getPiePreferredSize()(Code)
Returns the preffered size of the pie in the pie chart. A pie does not have a calculable preferred size so one must be explicitly provided in this method. The size indicates the length of the diameter of the pie. This length must be >= 10. The preferred size of the pie.



getPieSectorLightSource
final public int getPieSectorLightSource()(Code)
Gets from which direction the light is coming for shading of the pie sectors. Uses fields TOP, BOTTOM, LEFT, RIGHT, and NONE. The direction of the light.



getPieSectorsOutlineColor
final public Color getPieSectorsOutlineColor()(Code)
Returns the color of the outline of the pie sectors. The color of the outline of the pie sectors.



getPieSectorsOutlineExistence
final public boolean getPieSectorsOutlineExistence()(Code)
Returns whether the sectors of the pie should have a thin outline. If true, then the pie will have a thin outline.



removePieChart2D
final void removePieChart2D(PieChart2D pieChart2D)(Code)
Removes a PieChart2D from the set of objects using these properties.
Parameters:
  pieChart2D - The object to remove.



setChartBetweenPieLabelsAndPieGapExistence
final public void setChartBetweenPieLabelsAndPieGapExistence(boolean existence)(Code)
Specifies whether the gap between each pie label and the pie exists.
Parameters:
  existence - If true, the gap exists.



setChartBetweenPieLabelsAndPieGapThicknessModel
final public void setChartBetweenPieLabelsAndPieGapThicknessModel(int thickness)(Code)
Specifies the thickness of the gap between each pie label and the pie for the chart's model size. int The model thickness of the gap.



setPieChart2DProperties
final public void setPieChart2DProperties(PieChart2DProperties pieChart2DProps)(Code)
Sets all the properties to be the values of another PieChart2DProperties object. The copying is a deep copy.
Parameters:
  pieChart2DProps - The properties to copy.



setPieChart2DPropertiesToDefaults
final public void setPieChart2DPropertiesToDefaults()(Code)
Sets all properties to their default values.



setPieLabelsBetweenLabelsGapExistence
final public void setPieLabelsBetweenLabelsGapExistence(boolean existence)(Code)
Specifies whether a gap between each pie sector label exists. The gap is applied both vertically and horizontally.
Parameters:
  existence - If true, then the gap exists.



setPieLabelsBetweenLabelsGapThicknessModel
final public void setPieLabelsBetweenLabelsGapThicknessModel(int thickness)(Code)
Specifies the thickness of the gap between each pie label for the chart's model size.
Parameters:
  thickness - The thickness of the gap.



setPieLabelsExistence
final public void setPieLabelsExistence(boolean existence)(Code)
Specifies whether the pie sectors of the pie chart will be labeled. The labels can be raw numbers or percents. They encircle the pie. Methods that specify properties of these labels are setPieLabelsType (int) and Chart2DProperties.setChartDataLabelsPrecision (int).
Parameters:
  existence - If true, the pie sectors will be labeled.



setPieLabelsFontColor
final public void setPieLabelsFontColor(Color color)(Code)
Sets the color of the font of the pie labels.
Parameters:
  color - The color of the font of the pie labels.



setPieLabelsFontName
final public void setPieLabelsFontName(String name)(Code)
Sets name of the font of the pie labels. Accepts all values accepted by java.awt.Font.
Parameters:
  name - The name of the font for the pie labels.



setPieLabelsFontPointModel
final public void setPieLabelsFontPointModel(int point)(Code)
Sets the point of the font of the pie labels for the chart's model size.
Parameters:
  point - The model font point of the pie labels.



setPieLabelsFontStyle
final public void setPieLabelsFontStyle(int style)(Code)
Sets the style of the font of the pie labels. Accepts all values that java.awt.Font accepts.
Parameters:
  style - The style of the font of the pie labels.



setPieLabelsLinesColor
final public void setPieLabelsLinesColor(Color color)(Code)
Specifies the color of the lines relating each pie sector with its particular label.
Parameters:
  color - The color of the lines.



setPieLabelsLinesDotsColor
final public void setPieLabelsLinesDotsColor(Color color)(Code)
Specifies the color of the dots that exist at the beginning and ending of the lines relating each pie sector with its particular label.
Parameters:
  color - The color of the dots.



setPieLabelsLinesDotsExistence
final public void setPieLabelsLinesDotsExistence(boolean existence)(Code)
Specifies whether dots exist at the beginning and ending of the lines relating each pie sector with its particular label.
Parameters:
  existence - If true, then two dots per line will exist.



setPieLabelsLinesDotsThicknessModel
final public void setPieLabelsLinesDotsThicknessModel(int thickness)(Code)
Specifies the thickness (ie diameter) of the dots that exist at the beginning and ending of the lines releating each pie sector with its particular label for the chart's model size.
Parameters:
  thickness - The thickness of the dots.



setPieLabelsLinesExistence
final public void setPieLabelsLinesExistence(boolean existence)(Code)
Specifies whether lines relating each pie sector with its particular label exists.
Parameters:
  existence - If true, then the pie labels lines exist.



setPieLabelsLinesThicknessModel
final public void setPieLabelsLinesThicknessModel(int thickness)(Code)
Specifies the thickness of the lines relating each pie sector with its particular label for the model size of the chart.
Parameters:
  thickness - The thickness of the line.



setPieLabelsPointsBetweenPieAndLabelGapsDepthRatio
final public void setPieLabelsPointsBetweenPieAndLabelGapsDepthRatio(float ratio)(Code)
Specifies the depth within each gap between each pie sector and label, from each pie, of the point at which a line coming from a label and a line coming from a pie, meet.
Parameters:
  ratio - The depth into the gap where the lines labeling lines meet.



setPieLabelsPointsGapOffsetExistence
final public void setPieLabelsPointsGapOffsetExistence(boolean existence)(Code)
Specifies whether the gap between each pie label and a point from which a line may be drawn and/or on which a dot may be placed to relate each label with a particular pie sector exists.
Parameters:
  existence - If true, the gap exists.



setPieLabelsPointsGapOffsetModelRatio
final public void setPieLabelsPointsGapOffsetModelRatio(float ratio)(Code)
Specifies the ratio on the gap between the pie and the labels, for the gap between the labels and the labels point.
Parameters:
  ratio - The ratio.



setPieLabelsPointsPieSectorsDepthRatio
final public void setPieLabelsPointsPieSectorsDepthRatio(float ratio)(Code)
Specifies the depth within each pie sector a point is placed from which a line may be drawn and/or on which a dot may be placed to relate each label with a particular pie sector for the chart's model size.
Parameters:
  ratio - The depth into the pie sector to the pie sector depth forthe point's placement.



setPieLabelsType
final public void setPieLabelsType(int type)(Code)
Specifies the type of pie sector labels of the pie chart. The possible types are RAW, PERCENT, and RAW+PERCENT. The format for RAW+PERCENT is v (p%) where v is a data value and p is a percent value.
Parameters:
  type - The type of the pie labels.



setPiePreferredSize
final public void setPiePreferredSize(int size)(Code)
Specifies the preffered size of the pie in the pie chart. A pie does not have a calculable preferred size so one must be explicitly provided in this method. The size indicates the length of the diameter of the pie. This length must be >= 10.
Parameters:
  size - The preferred size of the pie.



setPieSectorLightSource
final void setPieSectorLightSource(int source)(Code)
Sets from which direction the light is coming for shading of the pie sectors. Uses fields TOP, BOTTOM, LEFT, RIGHT, and NONE.
Parameters:
  source - The direction of the light.



setPieSectorsOutlineColor
final public void setPieSectorsOutlineColor(Color color)(Code)
Specifies the color of the outline of the pie sectors.
Parameters:
  color - The color of the outline of the pie sectors.



setPieSectorsOutlineExistence
final public void setPieSectorsOutlineExistence(boolean existence)(Code)
Specifies whether the sectors of the pie should have a thin outline.
Parameters:
  existence - If true, then the pie will have a thin outline.



updatePieChart2D
final void updatePieChart2D(PieChart2D pieChart2D)(Code)
Updates the properties of this PieChart2D.
Parameters:
  pieChart2D - The object to update.



validate
final 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.Properties
final public synchronized boolean isFontNameExists(String name)(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.