Java Doc for AbstractChart.java in  » Chart » charting-0.94 » de » progra » charting » 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 » charting 0.94 » de.progra.charting 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.progra.charting.render.AbstractRenderer
      de.progra.charting.AbstractChart

All known Subclasses:   de.progra.charting.DefaultChart,
AbstractChart
abstract public class AbstractChart extends AbstractRenderer implements Chart(Code)
Implements the standard getter and setter methods for a chart.
author:
   mueller
version:
   1.0


Field Summary
protected  Rectanglebounds
    
protected  CoordSystemcoord
    
protected  Legendlegend
    
protected  ChartDataModelmodel
    
protected  RowColorModelrcModel
    
protected  HashMaprenderer
    
protected  Titletitle
    

Constructor Summary
public  AbstractChart()
    

Method Summary
public  voidaddChartRenderer(AbstractChartRenderer render, int z)
     Adds a ChartRenderer with a specific z-coordinate.
public  RectanglegetBounds()
     Returns the Bounds for the Chart.
public  ChartDataModelgetChartDataModel()
     Returns the ChartDataModel.
public  MapgetChartRenderer()
     Returns the Map of all ChartRenderers.
public  AbstractChartRenderergetChartRenderer(int z)
     Returns the ChartRenderer with a specific z-coordinate.
public  CoordSystemgetCoordSystem()
     Returns the coordinate system.
public  LegendgetLegend()
     Returns this chart's legend.
public  RowColorModelgetRowColorModel()
     Returns the RowColorModel for this chart.
public  TitlegetTitle()
     Returns the title for this chart.
public  voidpaintDefault(Graphics2D g)
     This method is called by the paint method to do the actual painting. The painting is supposed to start at point (0,0) and the size is always the same as the preferred size.
public  voidrender(Graphics2D g)
     Does the layout of the title, legend and coordinate system and calls the render method of all those including the ChartRenderers.
public  voidsetBounds(Rectangle r)
     Sets the Bounds for this Chart.
public  voidsetChartDataModel(ChartDataModel model)
     Stores the ChartDataModel for this Chart.
public  voidsetChartRenderer(Map render)
     Sets the Map with all ChartRenderers.
public  voidsetCoordSystem(CoordSystem c)
     Sets the coordinate system for this chart, which can be null if the ChartRenderer doesn't need a coordinate system, e.g.
public  voidsetLegend(Legend l)
     Sets the legend for this chart.
public  voidsetRowColorModel(RowColorModel rcm)
     Sets the RowColorModel for this chart.
public  voidsetTitle(Title t)
     Sets the title for this chart.

Field Detail
bounds
protected Rectangle bounds(Code)



coord
protected CoordSystem coord(Code)



legend
protected Legend legend(Code)



model
protected ChartDataModel model(Code)



rcModel
protected RowColorModel rcModel(Code)



renderer
protected HashMap renderer(Code)



title
protected Title title(Code)




Constructor Detail
AbstractChart
public AbstractChart()(Code)
Creates new AbstractChart




Method Detail
addChartRenderer
public void addChartRenderer(AbstractChartRenderer render, int z)(Code)
Adds a ChartRenderer with a specific z-coordinate.
Parameters:
  render - the ChartRenderer
Parameters:
  z - the z-coordinate, the highest coordinate is in front.



getBounds
public Rectangle getBounds()(Code)
Returns the Bounds for the Chart. a Rectangle object defining this chart's bounds.



getChartDataModel
public ChartDataModel getChartDataModel()(Code)
Returns the ChartDataModel. the ChartDataModel for the Chart



getChartRenderer
public Map getChartRenderer()(Code)
Returns the Map of all ChartRenderers. a java.util.Map with all ChartRenderers



getChartRenderer
public AbstractChartRenderer getChartRenderer(int z)(Code)
Returns the ChartRenderer with a specific z-coordinate.
Parameters:
  z - the z-coordinate the ChartRenderer or null.



getCoordSystem
public CoordSystem getCoordSystem()(Code)
Returns the coordinate system. a CoordSystem object or null if there is none.



getLegend
public Legend getLegend()(Code)
Returns this chart's legend. the Legend object.



getRowColorModel
public RowColorModel getRowColorModel()(Code)
Returns the RowColorModel for this chart. a RowColorModel object.



getTitle
public Title getTitle()(Code)
Returns the title for this chart. a Title object.



paintDefault
public void paintDefault(Graphics2D g)(Code)
This method is called by the paint method to do the actual painting. The painting is supposed to start at point (0,0) and the size is always the same as the preferred size. The paint method performs the possible scaling.
Parameters:
  g - the Graphics2D object to paint in.



render
public void render(Graphics2D g)(Code)
Does the layout of the title, legend and coordinate system and calls the render method of all those including the ChartRenderers.
Parameters:
  g - the Graphics2D object to paint in.



setBounds
public void setBounds(Rectangle r)(Code)
Sets the Bounds for this Chart. This is important for rendering the chart and always has to be done before rendering.
Parameters:
  r - the Rectangle object defining this chart's bounds.



setChartDataModel
public void setChartDataModel(ChartDataModel model)(Code)
Stores the ChartDataModel for this Chart.
Parameters:
  model - the ChartDataModel



setChartRenderer
public void setChartRenderer(Map render)(Code)
Sets the Map with all ChartRenderers. The keys have to be the z-coordinates of the ChartRenderers.
Parameters:
  render - a java.util.Map with all ChartRenderers.



setCoordSystem
public void setCoordSystem(CoordSystem c)(Code)
Sets the coordinate system for this chart, which can be null if the ChartRenderer doesn't need a coordinate system, e.g. if it's a PieChart.
Parameters:
  c - the CoordSystem object



setLegend
public void setLegend(Legend l)(Code)
Sets the legend for this chart.
Parameters:
  l - the Legend



setRowColorModel
public void setRowColorModel(RowColorModel rcm)(Code)
Sets the RowColorModel for this chart.
Parameters:
  rcm - the new RowColorModel



setTitle
public void setTitle(Title t)(Code)
Sets the title for this chart.
Parameters:
  t - the Title object



Methods inherited from de.progra.charting.render.AbstractRenderer
public Rectangle getBounds()(Code)(Java Doc)
abstract public void paintDefault(Graphics2D g)(Code)(Java Doc)
public void render(Graphics2D g)(Code)(Java Doc)
public void setBounds(Rectangle bounds)(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.