Java Doc for GraphChart2D.java in  » Chart » Chart2D_1.9.6k » net » sourceforge » chart2d » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Chart » Chart2D_1.9.6k » net.sourceforge.chart2d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sourceforge.chart2d.Object2D
   net.sourceforge.chart2d.Chart2D
      net.sourceforge.chart2d.GraphChart2D

All known Subclasses:   net.sourceforge.chart2d.LBChart2D,  net.sourceforge.chart2d.LLChart2D,
GraphChart2D
abstract public class GraphChart2D extends Chart2D (Code)
An abstract class for the common methods of LBChart2D and LLChart2D. A GraphChart2D object is an area that contains axes and one or more overlaid graphs. Changes through its set methods are updated upon next repaint() or getImage() calls.


Field Summary
final static  intLABELS_BOTTOM
     Indicates a LBGraphArea.
final static  intLABELS_LEFT
     Indicates a LLGraphArea.

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

Method Summary
final public  voidaddDataset(Dataset dataset)
     Adds a Dataset object to this chart.
final public  voidaddGraphProperties(GraphProperties graphProps)
     Adds a GraphProperties object to this chart.
final public  voidaddMultiColorsProperties(MultiColorsProperties multiColorsProps)
     Adds a MultiColorsProperties object to this chart.
final public  voidaddWarningRegionProperties(WarningRegionProperties warningRegionProps)
     Adds a WarningRegionProperties object to this chart.
final public  DatasetgetDataset(int i)
     Gets a dataset based on the order the dataset was added.
final  VectorgetDatasetsVector()
     Gets the vector of Dataset objects that were added.
final public  GraphChart2DPropertiesgetGraphChart2DProperties()
     Gets the GraphChart2DProperties for this Chart2D.
abstract  intgetGraphChartType()
     Returns either LABELS_BOTTOM or LABELS_LEFT depending on whether LBChart2D or LLChart2D.
final public  GraphPropertiesgetGraphProperties(int i)
     Gets a graph properties based on the order the graph properties were added.
final  VectorgetGraphPropertiesVector()
     Gets the vector of GraphProperties objects that were added.
final public  MultiColorsPropertiesgetMultiColorsProperties(int i)
     Gets a multiColorsProps based on the order the multiColorsProps was added.
final  VectorgetMultiColorsPropertiesVector()
     Gets the vector of MultiColorsProperties objects that were added.
final  booleangetNeedsUpdateGraphChart2D()
     Gets whether this object needs to be updated.
final  intgetNumSetsTotal()
     Gets the number of sets total over all the Dataset objects.
final public  WarningRegionPropertiesgetWarningRegionProperties(int i)
     Gets a warning region properties based on the order the properties were added.
final  VectorgetWarningRegionPropertiesVector()
     Gets the vector of WarningRegionProperties objects that were added.
final public  voidremoveDataset(Dataset dataset)
     Removes a Dataset object from this chart.
final public  voidremoveGraphProperties(GraphProperties graphProps)
     Removes GraphProperties object from this chart.
final public  voidremoveMultiColorsProperties(MultiColorsProperties multiColorsProps)
     Removes a MultiColorsProperties object from this chart.
final public  voidremoveWarningRegionProperties(WarningRegionProperties warningRegionProps)
     Removes a warning region with the specified properties to this chart.
final public  voidsetGraphChart2DProperties(GraphChart2DProperties props)
     Sets the GraphChart2DProperties for this GraphChart2D.
final public  voidsetLayoutRatios(float graphW, float graphH, float legendW)
     Sets the allocation of space to each component of a graph chart.
final  voidupdateGraphChart2D()
     Updates this object.
final  booleanvalidateGraphChart2D(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
LABELS_BOTTOM
final static int LABELS_BOTTOM(Code)
Indicates a LBGraphArea.



LABELS_LEFT
final static int LABELS_LEFT(Code)
Indicates a LLGraphArea.




Constructor Detail
GraphChart2D
public GraphChart2D()(Code)
Creates a GraphChart2D object with its defaults. A GraphChart2DProperties object must be set for this object before it is used. A GraphProperties object must be added for this object before it is used. A Dataset object must be added for this object before it is used. A MultiColorsProperties object must be added for this object before it is used.




Method Detail
addDataset
final public void addDataset(Dataset dataset)(Code)
Adds a Dataset object to this chart.
Parameters:
  dataset - The dataset to add to this chart.



addGraphProperties
final public void addGraphProperties(GraphProperties graphProps)(Code)
Adds a GraphProperties object to this chart.
Parameters:
  graphProps - The graph properties to add to this chart.



addMultiColorsProperties
final public void addMultiColorsProperties(MultiColorsProperties multiColorsProps)(Code)
Adds a MultiColorsProperties object to this chart.
Parameters:
  multiColorsProps - The multi colors properties to add to this chart.



addWarningRegionProperties
final public void addWarningRegionProperties(WarningRegionProperties warningRegionProps)(Code)
Adds a WarningRegionProperties object to this chart.
Parameters:
  warningRegion - The warning region properties to add to this chart.



getDataset
final public Dataset getDataset(int i)(Code)
Gets a dataset based on the order the dataset was added. First added is number zero. The dataset added to this chart.



getDatasetsVector
final Vector getDatasetsVector()(Code)
Gets the vector of Dataset objects that were added. The dataset objects vector.



getGraphChart2DProperties
final public GraphChart2DProperties getGraphChart2DProperties()(Code)
Gets the GraphChart2DProperties for this Chart2D.
Parameters:
  props - The GraphChart2DProperties.



getGraphChartType
abstract int getGraphChartType()(Code)
Returns either LABELS_BOTTOM or LABELS_LEFT depending on whether LBChart2D or LLChart2D. The type of the chart.



getGraphProperties
final public GraphProperties getGraphProperties(int i)(Code)
Gets a graph properties based on the order the graph properties were added. First added is number zero. The graph properties object added to this chart.



getGraphPropertiesVector
final Vector getGraphPropertiesVector()(Code)
Gets the vector of GraphProperties objects that were added. The graph properties objects vector.



getMultiColorsProperties
final public MultiColorsProperties getMultiColorsProperties(int i)(Code)
Gets a multiColorsProps based on the order the multiColorsProps was added. First added is number zero. The multiColorsProps added to this chart.



getMultiColorsPropertiesVector
final Vector getMultiColorsPropertiesVector()(Code)
Gets the vector of MultiColorsProperties objects that were added. The multi colors properties objects vector.



getNeedsUpdateGraphChart2D
final boolean getNeedsUpdateGraphChart2D()(Code)
Gets whether this object needs to be updated. If true then needs update.



getNumSetsTotal
final int getNumSetsTotal()(Code)
Gets the number of sets total over all the Dataset objects. The total number of sets.



getWarningRegionProperties
final public WarningRegionProperties getWarningRegionProperties(int i)(Code)
Gets a warning region properties based on the order the properties were added. First added is number zero. The warning region properties object added to this chart.



getWarningRegionPropertiesVector
final Vector getWarningRegionPropertiesVector()(Code)
Gets the vector of WarningRegionProperties objects that were added. The warning region properties objects vector.



removeDataset
final public void removeDataset(Dataset dataset)(Code)
Removes a Dataset object from this chart.
Parameters:
  dataset - The dataset to remove from this chart.



removeGraphProperties
final public void removeGraphProperties(GraphProperties graphProps)(Code)
Removes GraphProperties object from this chart.
Parameters:
  graphProps - The graph properties to remove from this chart.



removeMultiColorsProperties
final public void removeMultiColorsProperties(MultiColorsProperties multiColorsProps)(Code)
Removes a MultiColorsProperties object from this chart.
Parameters:
  multiColorsProperties - The multi colors properties to remove from this chart.



removeWarningRegionProperties
final public void removeWarningRegionProperties(WarningRegionProperties warningRegionProps)(Code)
Removes a warning region with the specified properties to this chart.
Parameters:
  warningRegion - The warning region to remove from this chart.



setGraphChart2DProperties
final public void setGraphChart2DProperties(GraphChart2DProperties props)(Code)
Sets the GraphChart2DProperties for this GraphChart2D.
Parameters:
  props - The GraphChart2DProperties.



setLayoutRatios
final public void setLayoutRatios(float graphW, float graphH, float legendW)(Code)
Sets the allocation of space to each component of a graph chart. There are four components: numbers axis, labels axis, graph, and legend. The ratios of the axes can be determined from the ratios of the graph and the legend. Depending on the chart type, the left and bottom axes can be the numbers axis and labels axis. The width of the left axis is 1f - graphW - legendW. The width of the bottom axis is graphW. The height of the left axis is graphH. The ratio of the legend height is always 1f.
Parameters:
  graphW - The ratio of graph width to total.
Parameters:
  graphH - The ratio of graph height to total.
Parameters:
  legendW - The ratio of graph width to total.
Parameters:
  legendH - The ratio of legend height to total.



updateGraphChart2D
final void updateGraphChart2D()(Code)
Updates this object.



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



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

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

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

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.