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

GraphProperties
final public class GraphProperties (Code)
A data structure for holding the properties common to all graph area objects. A graph area is the rectangular region surrounded on two sides by axes and containing either lines, dots, or bars as graph components. Pass this to any number of GraphChart2D objects.


Field Summary
public static  AlphaCompositeALPHA_COMPOSITE_MEDIUM
     A medium transparent (some blending) alpha composite.
public static  AlphaCompositeALPHA_COMPOSITE_MILD
     A mildly transparent (some blending) alpha composite.
public static  AlphaCompositeALPHA_COMPOSITE_NONE
     An opaque (no blending) alpha composite.
public static  intBOTTOM
     Indicates the bottom of something.
public static  intCOMPONENT
     Indicates only the component.
public static  float[]CONTINUOUS
     Indicates the lines will be continuous.
public static  float[]DASHED
     Indicates the lines will be dashed.
public static  float[]DOTTED
     Indicates the lines will be dotted.
public static  intGRAPH
     Indicates only the graph.
final public static  booleanGRAPH_ALLOW_COMPONENT_ALIGNMENT_DEFAULT
     The default is false.
final public static  ColorGRAPH_BACKGROUND_COLOR_DEFAULT
     The default is Color.white.
final public static  booleanGRAPH_BACKGROUND_EXISTENCE_DEFAULT
     The default is false.
final public static  floatGRAPH_BARS_EXCESS_SPACE_FEEDBACK_RATIO_DEFAULT
     The default is 1f.
final public static  booleanGRAPH_BARS_EXISTENCE_DEFAULT
     The default is true.
public static  floatGRAPH_BARS_ROUNDING_RATIO_DEFAULT
     The default is .75f.
final public static  intGRAPH_BARS_THICKNESS_MODEL_DEFAULT
     The default is 10.
final public static  floatGRAPH_BARS_WITHIN_CATEGORY_OVERLAP_RATIO_DEFAULT
     The default is .535f.
final public static  booleanGRAPH_BETWEEN_COMPONENTS_GAP_EXISTENCE_DEFAULT
     The default is true.
final public static  intGRAPH_BETWEEN_COMPONENTS_GAP_THICKNESS_MODEL_DEFAULT
     The default is 2.
final public static  booleanGRAPH_BORDER_EXISTENCE_DEFAULT
     The default is true.
final public static  ColorGRAPH_BORDER_LEFT_BOTTOM_COLOR_DEFAULT
     The default is Color.black.
final public static  ColorGRAPH_BORDER_RIGHT_TOP_COLOR_DEFAULT
     The default is Color.gray.
final public static  intGRAPH_BORDER_THICKNESS_MODEL_DEFAULT
     The default is 2.
public static  AlphaCompositeGRAPH_COMPONENTS_ALPHA_COMPOSITE_DEFAULT
     The default is ALPHA_COMPOSITE_NONE.
public static  intGRAPH_COMPONENTS_LIGHT_SOURCE_DEFAULT
     The default is TOP.
public static  intGRAPH_COMPONENTS_LIGHT_TYPE_DEFAULT
     The default is COMPONENT.
final public static  booleanGRAPH_COMPONENTS_OVERFLOW_CLIP_DEFAULT
     The default is true.
final public static  floatGRAPH_DOTS_EXCESS_SPACE_FEEDBACK_RATIO_DEFAULT
     The default is 0f.
final public static  booleanGRAPH_DOTS_EXISTENCE_DEFAULT
     The default is false.
final public static  intGRAPH_DOTS_THICKNESS_MODEL_DEFAULT
     The default is 8.
final public static  floatGRAPH_DOTS_WITHIN_CATEGORY_OVERLAP_RATIO_DEFAULT
     The default is .40f.
final public static  ColorGRAPH_LABELS_LINES_COLOR_DEFAULT
     The default is Color.gray.
final public static  booleanGRAPH_LABELS_LINES_EXISTENCE_DEFAULT
     The default is false.
final public static  float[]GRAPH_LABELS_LINES_STYLE_DEFAULT
     The default is CONTINUOUS.
final public static  intGRAPH_LABELS_LINES_THICKNESS_MODEL_DEFAULT
     The default is 2.
final public static  floatGRAPH_LINES_EXCESS_SPACE_FEEDBACK_RATIO_DEFAULT
     The default is 0f.
final public static  booleanGRAPH_LINES_EXISTENCE_DEFAULT
     The default is false.
final public static  booleanGRAPH_LINES_FILL_INTERIOR_DEFAULT
     The default is false.
final public static  booleanGRAPH_LINES_THICKNESS_ASSOCIATION_DEFAULT
     The default is true.
final public static  intGRAPH_LINES_THICKNESS_MODEL_DEFAULT
     The default is 5.
final public static  floatGRAPH_LINES_WITHIN_CATEGORY_OVERLAP_RATIO_DEFAULT
     The default is 0f.
final public static  ColorGRAPH_NUMBERS_LINES_COLOR_DEFAULT
     The default is Color.gray.
final public static  booleanGRAPH_NUMBERS_LINES_EXISTENCE_DEFAULT
     The default is true.
final public static  float[]GRAPH_NUMBERS_LINES_STYLE_DEFAULT
     The default is CONTINUOUS.
final public static  intGRAPH_NUMBERS_LINES_THICKNESS_MODEL_DEFAULT
     The default is 2.
final public static  ColorGRAPH_OUTLINE_COMPONENTS_COLOR_DEFAULT
     The default is Color.black.
final public static  booleanGRAPH_OUTLINE_COMPONENTS_EXISTENCE_DEFAULT
     The default is false.
public static  intLEFT
     Indicates the left of something.
public static  intNONE
     Indicates none.
public static  intRIGHT
     Indicates the right of something.
public static  intTOP
     Indicates the top of something.

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

Method Summary
final  voidaddGraphChart2D(GraphChart2D graphChart2D)
     Adds a GraphChart2D to the set of objects using these properties.
final  voidconfigureGraphArea(int type, GraphArea graph)
     Accepts a graph area and configures it with current properties.
final  voidconfigureGraphArea(GraphProperties backgroundGraphProps, int type, GraphArea graph)
     Accepts a graph area and configures it with current properties.
final public  booleangetGraphAllowComponentAlignment()
     Gets whether the graph's components (ie bars, dots, or lines) are allowed to overlap/align or are offset for each set and within each category.
final public  ColorgetGraphBackgroundColor()
     Gets the color of the background of this graph.
final public  booleangetGraphBackgroundExistence()
     Gets whether the background of this graph exists.
final public  floatgetGraphBarsExcessSpaceFeedbackRatio()
     Gets the amount of the excess space to feed back to bars thickness. Frequently the graphs are larger than necessary, the excess space can be fedback to the bars, making them larger.
final public  booleangetGraphBarsExistence()
     Gets whether the graph contains bar components.
final public  floatgetGraphBarsRoundingRatio()
     Gets the degree of rounding for the bars.
final public  intgetGraphBarsThicknessModel()
     Gets the thickness of the bar components for the chart's model size.
final public  floatgetGraphBarsWithinCategoryOverlapRatio()
     Gets how much the bars can overlap eachother when there are multiple data values per data set and per data category.
final public  booleangetGraphBetweenComponentsGapExistence()
     Gets whether a gap between each category of components exists (ie not the gap between each each component with each category).
final public  intgetGraphBetweenComponentsGapThicknessModel()
     Gets the thickness of the gap between each category of components for the chart's model size.
final public  booleangetGraphBorderExistence()
     Gets whether the graph's left and bottom border exists.
final public  ColorgetGraphBorderLeftBottomColor()
     Gets the color of the graph's left and bottom border.
final public  ColorgetGraphBorderRightTopColor()
     Gets the color of the graph's right and top border.
final public  intgetGraphBorderThicknessModel()
     Gets the thickness of the graph's left and bottom border for the chart's model size.
final  booleangetGraphChart2DNeedsUpdate(GraphChart2D graphChart2D)
     Gets whether this object needs to be updated with new properties.
Parameters:
  graphChart2D - The object that may need to be updated.
final public  AlphaCompositegetGraphComponentsAlphaComposite()
     Gets the actual AlphaComposite object to use on the Graphics2D object context for painting the graph components managed by this GraphProperties object.
final public  intgetGraphComponentsLightSource()
     Gets the direction of the source of the light if any.
final public  intgetGraphComponentsLightType()
     Gets the type of the lighting affect.
final public  booleangetGraphComponentsOverflowClip()
     Gets whether the graph's components will be clipped if they pass over the graph's inner space or border.
final public  floatgetGraphDotsExcessSpaceFeedbackRatio()
     Gets the amount of the excess space to feed back to dots thickness. Frequently the graphs are larger than necessary, the excess space can be fedback to the dots, making them larger.
final public  booleangetGraphDotsExistence()
     Gets whether the graph contains dot components.
final public  intgetGraphDotsThicknessModel()
     Gets the thickness of the dot components for the chart's model size.
final public  floatgetGraphDotsWithinCategoryOverlapRatio()
     Gets how much the dots can overlap eachother when there are multiple data values per data set and per data category.
final public  ColorgetGraphLabelsLinesColor()
     Gets the color of the vertical lines of this graph.
final public  booleangetGraphLabelsLinesExistence()
     Gets whether the vertical lines of this graph exist.
final public  float[]getGraphLabelsLinesStyle()
     Gets the style of the vertical lines of this graph.
final public  intgetGraphLabelsLinesThicknessModel()
     Gets the thickness of the vertical lines of this graph for the chart's model size.
final public  floatgetGraphLinesExcessSpaceFeedbackRatio()
     Gets the amount of the excess space to feed back to lines thickness. Frequently the graphs are larger than necessary, the excess space can be fedback to the lines, making them larger.
final public  booleangetGraphLinesExistence()
     Gets whether the graph contains line components.
final public  booleangetGraphLinesFillInterior()
     Gets whether the graph lines will made to form a shap (ie like a mountain range).
final public  booleangetGraphLinesThicknessAssociation()
     Gets whether the horizontal and vertical lines (if they both exist) should both be the same thickness at all times.
final public  intgetGraphLinesThicknessModel()
     Gets the thickness of the line components for the chart's model size.
final public  floatgetGraphLinesWithinCategoryOverlapRatio()
     Gets how much the lines can overlap eachother when there are multiple data values per data set and per data category.
final public  ColorgetGraphNumbersLinesColor()
     Gets the color of the horizontal lines of this graph.
final public  booleangetGraphNumbersLinesExistence()
     Gets whether the horizontal lines of this graph exist.
final public  float[]getGraphNumbersLinesStyle()
     Gets the style of the horizontal lines of this graph.
final public  intgetGraphNumbersLinesThicknessModel()
     Gets the thickness of the horizontal lines of this graph for the chart's model size.
final public  ColorgetGraphOutlineComponentsColor()
     Gets the color of the thin outline around components (ie bars, lines, or dots).
final public  booleangetGraphOutlineComponentsExistence()
     Gets whether there exists a thin outline around each component (ie bars, lines, or dots).
final  voidremoveGraphChart2D(GraphChart2D graphChart2D)
     Removes a GraphChart2D from the set of objects using these properties.
final public  voidsetGraphAllowComponentAlignment(boolean alignment)
     Sets whether the graph's components (ie bars, dots, or lines) are allowed to overlap/align or are offset for each set and within each category.
final public  voidsetGraphBackgroundColor(Color color)
     Sets the color of the background of this graph.
final public  voidsetGraphBackgroundExistence(boolean existence)
     Sets whether the background of this graph exists.
final public  voidsetGraphBarsExcessSpaceFeedbackRatio(float ratio)
     Sets the amount of the excess space to feed back to bars thickness. Frequently the graphs are larger than necessary, the excess space can be fedback to the bars, making them larger.
final public  voidsetGraphBarsExistence(boolean existence)
     Sets whether the graph contains bar components.
final public  voidsetGraphBarsRoundingRatio(float r)
     Sets the degree of rounding for the bars.
final public  voidsetGraphBarsThicknessModel(int thickness)
     Sets the thickness of the bar components for the chart's model size.
final public  voidsetGraphBarsWithinCategoryOverlapRatio(float ratio)
     Sets how much the bars can overlap eachother when there are multiple data values per data set and per data category.
final public  voidsetGraphBetweenComponentsGapExistence(boolean existence)
     Sets whether a gap between each category of components exists (ie not the gap between each each component with each category).
final public  voidsetGraphBetweenComponentsGapThicknessModel(int thickness)
     Sets the thickness of the gap between each category of components for the chart's model size.
final public  voidsetGraphBorderExistence(boolean existence)
     Sets whether the graph's left and bottom border exists.
final public  voidsetGraphBorderLeftBottomColor(Color color)
     Sets the color of the graph's left and bottom border.
final public  voidsetGraphBorderRightTopColor(Color color)
     Sets the color of the graph's right and top border.
final public  voidsetGraphBorderThicknessModel(int thickness)
     Sets the thickness of the graph's left and bottom border for the chart's model size.
final public  voidsetGraphComponentsAlphaComposite(AlphaComposite a)
     Sets the actual AlphaComposite object to use on the Graphics2D object context for painting the graph components managed by this GraphProperties object.
final public  voidsetGraphComponentsLightSource(int s)
     Sets the direction of the source of the light if any.
final public  voidsetGraphComponentsLightType(int t)
     Sets the type of the lighting affect.
final public  voidsetGraphComponentsOverflowClip(boolean c)
     Sets whether the graph's components will be clipped if they pass over the graph's inner space or border.
final public  voidsetGraphDotsExcessSpaceFeedbackRatio(float ratio)
     Sets the amount of the excess space to feed back to dots thickness. Frequently the graphs are larger than necessary, the excess space can be fedback to the dots, making them larger.
final public  voidsetGraphDotsExistence(boolean existence)
     Sets whether the graph contains dot components.
final public  voidsetGraphDotsThicknessModel(int thickness)
     Sets the thickness of the dot components for the chart's model size.
final public  voidsetGraphDotsWithinCategoryOverlapRatio(float ratio)
     Sets how much the dots can overlap eachother when there are multiple data values per data set and per data category.
final public  voidsetGraphLabelsLinesColor(Color color)
     Sets the color of the vertical lines of this graph.
final public  voidsetGraphLabelsLinesExistence(boolean existence)
     Sets whether the vertical lines of this graph exist.
final public  voidsetGraphLabelsLinesStyle(float[] style)
     Sets the style of the vertical lines of this graph.
final public  voidsetGraphLabelsLinesThicknessModel(int thickness)
     Sets the thickness of the vertical lines of this graph for the chart's model size.
final public  voidsetGraphLinesExcessSpaceFeedbackRatio(float ratio)
     Sets the amount of the excess space to feed back to lines thickness. Frequently the graphs are larger than necessary, the excess space can be fedback to the lines, making them larger.
final public  voidsetGraphLinesExistence(boolean existence)
     Sets whether the graph contains line components.
final public  voidsetGraphLinesFillInterior(boolean fill)
     Sets whether the graph lines will made to form a shap (ie like a mountain range).
final public  voidsetGraphLinesThicknessAssociation(boolean association)
     Sets whether the horizontal and vertical lines (if they both exist) should both be the same thickness at all times.
final public  voidsetGraphLinesThicknessModel(int thickness)
     Sets the thickness of the line components for the chart's model size.
final public  voidsetGraphLinesWithinCategoryOverlapRatio(float ratio)
     Sets how much the lines can overlap eachother when there are multiple data values per data set and per data category.
final public  voidsetGraphNumbersLinesColor(Color color)
     Sets the color of the horizontal lines of this graph.
final public  voidsetGraphNumbersLinesExistence(boolean existence)
     Sets whether the horizontal lines of this graph exist.
final public  voidsetGraphNumbersLinesStyle(float[] style)
     Sets the style of the horizontal lines of this graph.
final public  voidsetGraphNumbersLinesThicknessModel(int thickness)
     Sets the thickness of the horizontal lines of this graph for the chart's model size.
final public  voidsetGraphOutlineComponentsColor(Color color)
     Sets the color of the thin outline around components (ie bars, lines, or dots).
final public  voidsetGraphOutlineComponentsExistence(boolean existence)
     Sets whether there exists a thin outline around each component (ie bars, lines, or dots).
final public  voidsetGraphProperties(GraphProperties graphProps)
     Sets all properties to be the values of another GraphProperties object.
final public  voidsetGraphPropertiesToDefaults()
     Sets all properties to their default values.
final  voidupdateGraphChart2D(GraphChart2D graphChart2D)
     Updates the properties of this GraphChart2D.
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
ALPHA_COMPOSITE_MEDIUM
public static AlphaComposite ALPHA_COMPOSITE_MEDIUM(Code)
A medium transparent (some blending) alpha composite.



ALPHA_COMPOSITE_MILD
public static AlphaComposite ALPHA_COMPOSITE_MILD(Code)
A mildly transparent (some blending) alpha composite.



ALPHA_COMPOSITE_NONE
public static AlphaComposite ALPHA_COMPOSITE_NONE(Code)
An opaque (no blending) alpha composite.



BOTTOM
public static int BOTTOM(Code)
Indicates the bottom of something. Used by setGraphComponentsLightSource(int).



COMPONENT
public static int COMPONENT(Code)
Indicates only the component. Used by setGraphComponentsLightType(int).



CONTINUOUS
public static float[] CONTINUOUS(Code)
Indicates the lines will be continuous. Used by setGraphNumbersLinesStyle(int) and setGraphLabelsLinesStyle(int).



DASHED
public static float[] DASHED(Code)
Indicates the lines will be dashed. Used by setGraphNumbersLinesStyle(int) and setGraphLabelsLinesStyle(int).



DOTTED
public static float[] DOTTED(Code)
Indicates the lines will be dotted. Used by setGraphNumbersLinesStyle(int) and setGraphLabelsLinesStyle(int).



GRAPH
public static int GRAPH(Code)
Indicates only the graph. Used by setGraphComponentsLightType(int).



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



GRAPH_BACKGROUND_COLOR_DEFAULT
final public static Color GRAPH_BACKGROUND_COLOR_DEFAULT(Code)
The default is Color.white.



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



GRAPH_BARS_EXCESS_SPACE_FEEDBACK_RATIO_DEFAULT
final public static float GRAPH_BARS_EXCESS_SPACE_FEEDBACK_RATIO_DEFAULT(Code)
The default is 1f.



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



GRAPH_BARS_ROUNDING_RATIO_DEFAULT
public static float GRAPH_BARS_ROUNDING_RATIO_DEFAULT(Code)
The default is .75f.



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



GRAPH_BARS_WITHIN_CATEGORY_OVERLAP_RATIO_DEFAULT
final public static float GRAPH_BARS_WITHIN_CATEGORY_OVERLAP_RATIO_DEFAULT(Code)
The default is .535f.



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



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



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



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



GRAPH_BORDER_RIGHT_TOP_COLOR_DEFAULT
final public static Color GRAPH_BORDER_RIGHT_TOP_COLOR_DEFAULT(Code)
The default is Color.gray.



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



GRAPH_COMPONENTS_ALPHA_COMPOSITE_DEFAULT
public static AlphaComposite GRAPH_COMPONENTS_ALPHA_COMPOSITE_DEFAULT(Code)
The default is ALPHA_COMPOSITE_NONE.



GRAPH_COMPONENTS_LIGHT_SOURCE_DEFAULT
public static int GRAPH_COMPONENTS_LIGHT_SOURCE_DEFAULT(Code)
The default is TOP.



GRAPH_COMPONENTS_LIGHT_TYPE_DEFAULT
public static int GRAPH_COMPONENTS_LIGHT_TYPE_DEFAULT(Code)
The default is COMPONENT.



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



GRAPH_DOTS_EXCESS_SPACE_FEEDBACK_RATIO_DEFAULT
final public static float GRAPH_DOTS_EXCESS_SPACE_FEEDBACK_RATIO_DEFAULT(Code)
The default is 0f.



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



GRAPH_DOTS_THICKNESS_MODEL_DEFAULT
final public static int GRAPH_DOTS_THICKNESS_MODEL_DEFAULT(Code)
The default is 8.



GRAPH_DOTS_WITHIN_CATEGORY_OVERLAP_RATIO_DEFAULT
final public static float GRAPH_DOTS_WITHIN_CATEGORY_OVERLAP_RATIO_DEFAULT(Code)
The default is .40f.



GRAPH_LABELS_LINES_COLOR_DEFAULT
final public static Color GRAPH_LABELS_LINES_COLOR_DEFAULT(Code)
The default is Color.gray.



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



GRAPH_LABELS_LINES_STYLE_DEFAULT
final public static float[] GRAPH_LABELS_LINES_STYLE_DEFAULT(Code)
The default is CONTINUOUS.



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



GRAPH_LINES_EXCESS_SPACE_FEEDBACK_RATIO_DEFAULT
final public static float GRAPH_LINES_EXCESS_SPACE_FEEDBACK_RATIO_DEFAULT(Code)
The default is 0f.



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



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



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



GRAPH_LINES_THICKNESS_MODEL_DEFAULT
final public static int GRAPH_LINES_THICKNESS_MODEL_DEFAULT(Code)
The default is 5.



GRAPH_LINES_WITHIN_CATEGORY_OVERLAP_RATIO_DEFAULT
final public static float GRAPH_LINES_WITHIN_CATEGORY_OVERLAP_RATIO_DEFAULT(Code)
The default is 0f.



GRAPH_NUMBERS_LINES_COLOR_DEFAULT
final public static Color GRAPH_NUMBERS_LINES_COLOR_DEFAULT(Code)
The default is Color.gray.



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



GRAPH_NUMBERS_LINES_STYLE_DEFAULT
final public static float[] GRAPH_NUMBERS_LINES_STYLE_DEFAULT(Code)
The default is CONTINUOUS.



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



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



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



LEFT
public static int LEFT(Code)
Indicates the left of something. Used by setGraphComponentsLightSource(int).



NONE
public static int NONE(Code)
Indicates none. Used by setGraphComponentsLightSource(int).



RIGHT
public static int RIGHT(Code)
Indicates the right of something. Used by setGraphComponentsLightSource(int).



TOP
public static int TOP(Code)
Indicates the top of something. Used by setGraphComponentsLightSource(int).




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



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




Method Detail
addGraphChart2D
final void addGraphChart2D(GraphChart2D graphChart2D)(Code)
Adds a GraphChart2D to the set of objects using these properties.
Parameters:
  graphChart2D - The Object2D to add.



configureGraphArea
final void configureGraphArea(int type, GraphArea graph)(Code)
Accepts a graph area and configures it with current properties.
Parameters:
  type - Whether the graph is labels bottom or labels left using GraphChart2D fields.
Parameters:
  graph - The graph area to configure.



configureGraphArea
final void configureGraphArea(GraphProperties backgroundGraphProps, int type, GraphArea graph)(Code)
Accepts a graph area and configures it with current properties. Uses the properties of the background graph in order to overlay correctly.
Parameters:
  backgroundGraphProps - The properties of the background graph.
Parameters:
  type - Whether the graph is labels bottom or labels left using GraphChart2D fields.
Parameters:
  graph - The graph area to configure.



getGraphAllowComponentAlignment
final public boolean getGraphAllowComponentAlignment()(Code)
Gets whether the graph's components (ie bars, dots, or lines) are allowed to overlap/align or are offset for each set and within each category. For non-stacked bars charts, don't align; for all other chart types alignment is generally preferrable. boolean If true, the components will not be offset within thecategory.



getGraphBackgroundColor
final public Color getGraphBackgroundColor()(Code)
Gets the color of the background of this graph. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would totally paint over the previous graph. Color The color of the background of this graph.



getGraphBackgroundExistence
final public boolean getGraphBackgroundExistence()(Code)
Gets whether the background of this graph exists. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would totally paint over the previous graph. boolean If true, the background of this graph will exist.



getGraphBarsExcessSpaceFeedbackRatio
final public float getGraphBarsExcessSpaceFeedbackRatio()(Code)
Gets the amount of the excess space to feed back to bars thickness. Frequently the graphs are larger than necessary, the excess space can be fedback to the bars, making them larger. The ratio is the amount of space to feed back to the bars, to the total amount of space. float The ratio on the total amount of space to feedback.



getGraphBarsExistence
final public boolean getGraphBarsExistence()(Code)
Gets whether the graph contains bar components. boolean If true, then the graph contains bars.



getGraphBarsRoundingRatio
final public float getGraphBarsRoundingRatio()(Code)
Gets the degree of rounding for the bars. Uses the RoundRectangle in its implemenation. See the arcw and arch properties for guidance of RoundRectangle. The ratio is the diameter of the half-ellipse making the arc over the dimension in one direction of a bar. For the "Labels" ratio, the direction is the same direction in which the labels axis runs. Possible values are between zero and 1. Zero means less round, one means more round. The rounding ratio.



getGraphBarsThicknessModel
final public int getGraphBarsThicknessModel()(Code)
Gets the thickness of the bar components for the chart's model size. int The model thickness of the bars.



getGraphBarsWithinCategoryOverlapRatio
final public float getGraphBarsWithinCategoryOverlapRatio()(Code)
Gets how much the bars can overlap eachother when there are multiple data values per data set and per data category. ratio The ratio on the thickness of the bar for overlap.



getGraphBetweenComponentsGapExistence
final public boolean getGraphBetweenComponentsGapExistence()(Code)
Gets whether a gap between each category of components exists (ie not the gap between each each component with each category). boolean If true, then the gap between components exists.



getGraphBetweenComponentsGapThicknessModel
final public int getGraphBetweenComponentsGapThicknessModel()(Code)
Gets the thickness of the gap between each category of components for the chart's model size. int The model thickness of teh gap between components.



getGraphBorderExistence
final public boolean getGraphBorderExistence()(Code)
Gets whether the graph's left and bottom border exists. boolean If true, then the graph's left and bottom border exists.



getGraphBorderLeftBottomColor
final public Color getGraphBorderLeftBottomColor()(Code)
Gets the color of the graph's left and bottom border. Color The color of the graph's left and bottom border.



getGraphBorderRightTopColor
final public Color getGraphBorderRightTopColor()(Code)
Gets the color of the graph's right and top border. Color The color of the graph's right and top border.



getGraphBorderThicknessModel
final public int getGraphBorderThicknessModel()(Code)
Gets the thickness of the graph's left and bottom border for the chart's model size. int The model thickness of the graph's left and bottom border.



getGraphChart2DNeedsUpdate
final boolean getGraphChart2DNeedsUpdate(GraphChart2D graphChart2D)(Code)
Gets whether this object needs to be updated with new properties.
Parameters:
  graphChart2D - The object that may need to be updated. If true then needs update.



getGraphComponentsAlphaComposite
final public AlphaComposite getGraphComponentsAlphaComposite()(Code)
Gets the actual AlphaComposite object to use on the Graphics2D object context for painting the graph components managed by this GraphProperties object. By passing different AlphaComposite objects, the graph components can take on a blending or transparency effect. Underneath components can be seen through components painted over them. This is especially useful for "line area" or "filled line" charts because top lines can paint over underneath lines if not using a "stacked" dataset object. The AlphaComposite object to use.



getGraphComponentsLightSource
final public int getGraphComponentsLightSource()(Code)
Gets the direction of the source of the light if any. Possible values are: TOP, BOTTOM, LEFT, RIGHT, and NONE. The direction of the light source.



getGraphComponentsLightType
final public int getGraphComponentsLightType()(Code)
Gets the type of the lighting affect. Possible values are: COMPONENT and GRAPH. COMPONENT implies that the light source is positioned directly on the components (for example leaving a complete shading affect for each component). GRAPH implies that the light source is positioned directly on the graph (for example leaving the components on one side of the graph lighter than the others). The lighting affect type.



getGraphComponentsOverflowClip
final public boolean getGraphComponentsOverflowClip()(Code)
Gets whether the graph's components will be clipped if they pass over the graph's inner space or border. The only time the graph's components should not be clipped is if the graph's inner space and border are set to not exist. Not clipping may cause components to be painted over other chart components such as the legend or axis. If true, then the components will be clipped.



getGraphDotsExcessSpaceFeedbackRatio
final public float getGraphDotsExcessSpaceFeedbackRatio()(Code)
Gets the amount of the excess space to feed back to dots thickness. Frequently the graphs are larger than necessary, the excess space can be fedback to the dots, making them larger. The ratio is the amount of space to feed back to the dots, to the total amount of space. float The ratio on the total amount of space to feedback.



getGraphDotsExistence
final public boolean getGraphDotsExistence()(Code)
Gets whether the graph contains dot components. boolean If true, then the graph contains dots.



getGraphDotsThicknessModel
final public int getGraphDotsThicknessModel()(Code)
Gets the thickness of the dot components for the chart's model size. int The model thickness of the dots.



getGraphDotsWithinCategoryOverlapRatio
final public float getGraphDotsWithinCategoryOverlapRatio()(Code)
Gets how much the dots can overlap eachother when there are multiple data values per data set and per data category. ratio The ratio on the thickness of the dot for overlap.



getGraphLabelsLinesColor
final public Color getGraphLabelsLinesColor()(Code)
Gets the color of the vertical lines of this graph. These lines are aligned with the axis's ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components. Color The color of the vertical lines.



getGraphLabelsLinesExistence
final public boolean getGraphLabelsLinesExistence()(Code)
Gets whether the vertical lines of this graph exist. These lines are aligned with the axis' ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components. boolean If true, the vertical lines exist.



getGraphLabelsLinesStyle
final public float[] getGraphLabelsLinesStyle()(Code)
Gets the style of the vertical lines of this graph. These lines are aligned with the axis's ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components. Possible values for style are: CONTINUOUS, DASHED, and DOTTED. float[] The style of the vertical lines.



getGraphLabelsLinesThicknessModel
final public int getGraphLabelsLinesThicknessModel()(Code)
Gets the thickness of the vertical lines of this graph for the chart's model size. These lines are aligned with the axis's ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components. int The model thickness of the vertical lines.



getGraphLinesExcessSpaceFeedbackRatio
final public float getGraphLinesExcessSpaceFeedbackRatio()(Code)
Gets the amount of the excess space to feed back to lines thickness. Frequently the graphs are larger than necessary, the excess space can be fedback to the lines, making them larger. The ratio is the amount of space to feed back to the lines, to the total amount of space. float The ratio on the total amount of space to feedback.



getGraphLinesExistence
final public boolean getGraphLinesExistence()(Code)
Gets whether the graph contains line components. boolean If true, then the graph contains lines.



getGraphLinesFillInterior
final public boolean getGraphLinesFillInterior()(Code)
Gets whether the graph lines will made to form a shap (ie like a mountain range). boolean If true, then the lines will be filled.



getGraphLinesThicknessAssociation
final public boolean getGraphLinesThicknessAssociation()(Code)
Gets whether the horizontal and vertical lines (if they both exist) should both be the same thickness at all times. Uses the smaller thickness if they are not already equal. boolean If true, then these lines will have equal thickness.



getGraphLinesThicknessModel
final public int getGraphLinesThicknessModel()(Code)
Gets the thickness of the line components for the chart's model size. int The model thickness of the lines.



getGraphLinesWithinCategoryOverlapRatio
final public float getGraphLinesWithinCategoryOverlapRatio()(Code)
Gets how much the lines can overlap eachother when there are multiple data values per data set and per data category. ratio The ratio on the thickness of the line for overlap.



getGraphNumbersLinesColor
final public Color getGraphNumbersLinesColor()(Code)
Gets the color of the horizontal lines of this graph. These lines are aligned with the axis's ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components. Color The color of the horizontal lines.



getGraphNumbersLinesExistence
final public boolean getGraphNumbersLinesExistence()(Code)
Gets whether the horizontal lines of this graph exist. These lines are aligned with the axis' ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components. boolean If true, the horizontal lines exist.



getGraphNumbersLinesStyle
final public float[] getGraphNumbersLinesStyle()(Code)
Gets the style of the horizontal lines of this graph. These lines are aligned with the axis's ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components. Possible values for style are: CONTINUOUS, DASHED, and DOTTED. float[] The style of the horizontal lines.



getGraphNumbersLinesThicknessModel
final public int getGraphNumbersLinesThicknessModel()(Code)
Gets the thickness of the horizontal lines of this graph for the chart's model size. These lines are aligned with the axis's ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components. int The model thickness of the horizontal lines.



getGraphOutlineComponentsColor
final public Color getGraphOutlineComponentsColor()(Code)
Gets the color of the thin outline around components (ie bars, lines, or dots). Color The color of each component's outline.



getGraphOutlineComponentsExistence
final public boolean getGraphOutlineComponentsExistence()(Code)
Gets whether there exists a thin outline around each component (ie bars, lines, or dots). boolean If true, the components will have an outline.



removeGraphChart2D
final void removeGraphChart2D(GraphChart2D graphChart2D)(Code)
Removes a GraphChart2D from the set of objects using these properties.
Parameters:
  graphChart2D - The Object2D to remove.



setGraphAllowComponentAlignment
final public void setGraphAllowComponentAlignment(boolean alignment)(Code)
Sets whether the graph's components (ie bars, dots, or lines) are allowed to overlap/align or are offset for each set and within each category. For non-stacked bars charts, don't align; for all other chart types alignment is generally preferrable.
Parameters:
  alignment - If true, the components will not be offset within thecategory.



setGraphBackgroundColor
final public void setGraphBackgroundColor(Color color)(Code)
Sets the color of the background of this graph. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would totally paint over the previous graph.
Parameters:
  color - The color of the background of this graph.



setGraphBackgroundExistence
final public void setGraphBackgroundExistence(boolean existence)(Code)
Sets whether the background of this graph exists. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would totally paint over the previous graph.
Parameters:
  existence - If true, the background of this graph will exist.



setGraphBarsExcessSpaceFeedbackRatio
final public void setGraphBarsExcessSpaceFeedbackRatio(float ratio)(Code)
Sets the amount of the excess space to feed back to bars thickness. Frequently the graphs are larger than necessary, the excess space can be fedback to the bars, making them larger. The ratio is the amount of space to feed back to the bars, to the total amount of space.
Parameters:
  ratio - The ratio on the total amount of space to feedback.



setGraphBarsExistence
final public void setGraphBarsExistence(boolean existence)(Code)
Sets whether the graph contains bar components.
Parameters:
  existence - If true, then the graph contains bars.



setGraphBarsRoundingRatio
final public void setGraphBarsRoundingRatio(float r)(Code)
Sets the degree of rounding for the bars. Uses the RoundRectangle in its implemenation. See the arcw and arch properties for guidance of RoundRectangle. The ratio is the diameter of the half-ellipse making the arc over the dimension in one direction of a bar. For the "Labels" ratio, the direction is the same direction in which the labels axis runs. Possible values are between zero and 1. Zero means less round, one means more round.
Parameters:
  r - The rounding ratio.



setGraphBarsThicknessModel
final public void setGraphBarsThicknessModel(int thickness)(Code)
Sets the thickness of the bar components for the chart's model size.
Parameters:
  thickness - The model thickness of the bars.



setGraphBarsWithinCategoryOverlapRatio
final public void setGraphBarsWithinCategoryOverlapRatio(float ratio)(Code)
Sets how much the bars can overlap eachother when there are multiple data values per data set and per data category.
Parameters:
  ratio - The ratio on the thickness of the bar for overlap.



setGraphBetweenComponentsGapExistence
final public void setGraphBetweenComponentsGapExistence(boolean existence)(Code)
Sets whether a gap between each category of components exists (ie not the gap between each each component with each category).
Parameters:
  existence - If true, then the gap between components exists.



setGraphBetweenComponentsGapThicknessModel
final public void setGraphBetweenComponentsGapThicknessModel(int thickness)(Code)
Sets the thickness of the gap between each category of components for the chart's model size.
Parameters:
  thickness - The model thickness of teh gap between components.



setGraphBorderExistence
final public void setGraphBorderExistence(boolean existence)(Code)
Sets whether the graph's left and bottom border exists.
Parameters:
  existence - If true, then the graph's left and bottom border exists.



setGraphBorderLeftBottomColor
final public void setGraphBorderLeftBottomColor(Color color)(Code)
Sets the color of the graph's left and bottom border.
Parameters:
  color - The color of the graph's left and bottom border.



setGraphBorderRightTopColor
final public void setGraphBorderRightTopColor(Color color)(Code)
Sets the color of the graph's right and top border.
Parameters:
  color - The color of the graph's right and top border.



setGraphBorderThicknessModel
final public void setGraphBorderThicknessModel(int thickness)(Code)
Sets the thickness of the graph's left and bottom border for the chart's model size.
Parameters:
  thickness - The model thickness of the graph's left and bottom border.



setGraphComponentsAlphaComposite
final public void setGraphComponentsAlphaComposite(AlphaComposite a)(Code)
Sets the actual AlphaComposite object to use on the Graphics2D object context for painting the graph components managed by this GraphProperties object. By passing different AlphaComposite objects, the graph components can take on a blending or transparency effect. Underneath components can be seen through components painted over them. This is especially useful for "line area" or "filled line" charts because top lines can paint over underneath lines if not using a "stacked" dataset object.
Parameters:
  a - The AlphaComposite object to use.



setGraphComponentsLightSource
final public void setGraphComponentsLightSource(int s)(Code)
Sets the direction of the source of the light if any. Possible values are: TOP, BOTTOM, LEFT, RIGHT, TOPLEFT, BOTTOMRIGHT, and NONE.
Parameters:
  s - The direction of the light source.



setGraphComponentsLightType
final public void setGraphComponentsLightType(int t)(Code)
Sets the type of the lighting affect. Possible values are: COMPONENT and GRAPH. COMPONENT implies that the light source is positioned directly on the components (for example leaving a complete shading affect for each component). GRAPH implies that the light source is positioned directly on the graph (for example leaving the components on one side of the graph lighter than the others).
Parameters:
  t - The lighting affect type.



setGraphComponentsOverflowClip
final public void setGraphComponentsOverflowClip(boolean c)(Code)
Sets whether the graph's components will be clipped if they pass over the graph's inner space or border. The only time the graph's components should not be clipped is if the graph's inner space and border are set to not exist. Not clipping may cause components to be painted over other chart components such as the legend or axis.
Parameters:
  c - If true, then the components will be clipped.



setGraphDotsExcessSpaceFeedbackRatio
final public void setGraphDotsExcessSpaceFeedbackRatio(float ratio)(Code)
Sets the amount of the excess space to feed back to dots thickness. Frequently the graphs are larger than necessary, the excess space can be fedback to the dots, making them larger. The ratio is the amount of space to feed back to the dots, to the total amount of space.
Parameters:
  ratio - The ratio on the total amount of space to feedback.



setGraphDotsExistence
final public void setGraphDotsExistence(boolean existence)(Code)
Sets whether the graph contains dot components.
Parameters:
  existence - If true, then the graph contains dots.



setGraphDotsThicknessModel
final public void setGraphDotsThicknessModel(int thickness)(Code)
Sets the thickness of the dot components for the chart's model size.
Parameters:
  thickness - The model thickness of the dots.



setGraphDotsWithinCategoryOverlapRatio
final public void setGraphDotsWithinCategoryOverlapRatio(float ratio)(Code)
Sets how much the dots can overlap eachother when there are multiple data values per data set and per data category.
Parameters:
  ratio - The ratio on the thickness of the dot for overlap.



setGraphLabelsLinesColor
final public void setGraphLabelsLinesColor(Color color)(Code)
Sets the color of the vertical lines of this graph. These lines are aligned with the axis's ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components.
Parameters:
  color - The color of the vertical lines.



setGraphLabelsLinesExistence
final public void setGraphLabelsLinesExistence(boolean existence)(Code)
Sets whether the vertical lines of this graph exist. These lines are aligned with the axis' ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components.
Parameters:
  existence - If true, the vertical lines exist.



setGraphLabelsLinesStyle
final public void setGraphLabelsLinesStyle(float[] style)(Code)
Sets the style of the vertical lines of this graph. These lines are aligned with the axis's ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components. Possible values for style are: CONTINUOUS, DASHED, and DOTTED.
Parameters:
  style - The style of the vertical lines.



setGraphLabelsLinesThicknessModel
final public void setGraphLabelsLinesThicknessModel(int thickness)(Code)
Sets the thickness of the vertical lines of this graph for the chart's model size. These lines are aligned with the axis's ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components.
Parameters:
  thickness - The model thickness of the vertical lines.



setGraphLinesExcessSpaceFeedbackRatio
final public void setGraphLinesExcessSpaceFeedbackRatio(float ratio)(Code)
Sets the amount of the excess space to feed back to lines thickness. Frequently the graphs are larger than necessary, the excess space can be fedback to the lines, making them larger. The ratio is the amount of space to feed back to the lines, to the total amount of space.
Parameters:
  ratio - The ratio on the total amount of space to feedback.



setGraphLinesExistence
final public void setGraphLinesExistence(boolean existence)(Code)
Sets whether the graph contains line components.
Parameters:
  existence - If true, then the graph contains lines.



setGraphLinesFillInterior
final public void setGraphLinesFillInterior(boolean fill)(Code)
Sets whether the graph lines will made to form a shap (ie like a mountain range).
Parameters:
  fill - If true, then the lines will be filled.



setGraphLinesThicknessAssociation
final public void setGraphLinesThicknessAssociation(boolean association)(Code)
Sets whether the horizontal and vertical lines (if they both exist) should both be the same thickness at all times. Uses the smaller thickness if they are not already equal.
Parameters:
  association - If true, then these lines will have equal thickness.



setGraphLinesThicknessModel
final public void setGraphLinesThicknessModel(int thickness)(Code)
Sets the thickness of the line components for the chart's model size.
Parameters:
  thickness - The model thickness of the lines.



setGraphLinesWithinCategoryOverlapRatio
final public void setGraphLinesWithinCategoryOverlapRatio(float ratio)(Code)
Sets how much the lines can overlap eachother when there are multiple data values per data set and per data category.
Parameters:
  ratio - The ratio on the thickness of the line for overlap.



setGraphNumbersLinesColor
final public void setGraphNumbersLinesColor(Color color)(Code)
Sets the color of the horizontal lines of this graph. These lines are aligned with the axis's ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components.
Parameters:
  color - The color of the horizontal lines.



setGraphNumbersLinesExistence
final public void setGraphNumbersLinesExistence(boolean existence)(Code)
Sets whether the horizontal lines of this graph exist. These lines are aligned with the axis' ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components.
Parameters:
  existence - If true, the horizontal lines exist.



setGraphNumbersLinesStyle
final public void setGraphNumbersLinesStyle(float[] style)(Code)
Sets the style of the horizontal lines of this graph. These lines are aligned with the axis's ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components. Possible values for style are: CONTINUOUS, DASHED, and DOTTED.
Parameters:
  style - The style of the horizontal lines.



setGraphNumbersLinesThicknessModel
final public void setGraphNumbersLinesThicknessModel(int thickness)(Code)
Sets the thickness of the horizontal lines of this graph for the chart's model size. These lines are aligned with the axis's ticks. For each chart this graph is added to, this property will only be respected if its the first graph added that the chart; otherwise, graphs added after any chart would paint over the previous graph's components.
Parameters:
  thickness - The model thickness of the horizontal lines.



setGraphOutlineComponentsColor
final public void setGraphOutlineComponentsColor(Color color)(Code)
Sets the color of the thin outline around components (ie bars, lines, or dots).
Parameters:
  color - The color of each component's outline.



setGraphOutlineComponentsExistence
final public void setGraphOutlineComponentsExistence(boolean existence)(Code)
Sets whether there exists a thin outline around each component (ie bars, lines, or dots).
Parameters:
  existence - If true, the components will have an outline.



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



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



updateGraphChart2D
final void updateGraphChart2D(GraphChart2D graphChart2D)(Code)
Updates the properties of this GraphChart2D.
Parameters:
  graphChart2D - 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 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.