Java Doc for DefaultContourDataset.java in  » Chart » jfreechart » org » jfree » data » contour » 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 » jfreechart » org.jfree.data.contour 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jfree.data.xy.AbstractXYZDataset
   org.jfree.data.contour.DefaultContourDataset

All known Subclasses:   org.jfree.data.contour.NonGridContourDataset,
DefaultContourDataset
public class DefaultContourDataset extends AbstractXYZDataset implements ContourDataset(Code)
A convenience class that provides a default implementation of the ContourDataset interface. XYPlotXYBlockRenderer


Field Summary
 boolean[]dateAxis
     Flags that track whether x, y and z are dates.
protected  ComparableseriesKey
     The series name (this dataset supports only one series).
protected  int[]xIndex
     The index for the start of each column in the data.
protected  Number[]xValues
     Storage for the x values.
protected  Number[]yValues
     Storage for the y values.
protected  Number[]zValues
     Storage for the z values.

Constructor Summary
public  DefaultContourDataset()
     Creates a new dataset, initially empty.
public  DefaultContourDataset(Comparable seriesKey, Object[] xData, Object[] yData, Object[] zData)
     Constructs a new dataset with the given data.

Method Summary
public static  Object[][]formObjectArray(double[][] data)
     Creates an object array from an array of doubles.
Parameters:
  data - the data.
public static  Object[]formObjectArray(double[] data)
     Creates an object array from an array of doubles.
Parameters:
  data - the data.
public  intgetItemCount(int series)
     Returns the number of items in the specified series.
public  doublegetMaxZValue()
     Returns the maximum z-value.
public  doublegetMinZValue()
     Returns the minimum z-value.
public  doublegetMinZValue(double minX, double minY, double maxX, double maxY)
     Returns the minimum z-value.
Parameters:
  minX - the minimum x value.
Parameters:
  minY - the minimum y value.
Parameters:
  maxX - the maximum x value.
Parameters:
  maxY - the maximum y value.
public  intgetSeriesCount()
     Returns the number of series.
public  ComparablegetSeriesKey(int series)
     Returns the name of the specified series. Method provided to satisfy the XYDataset interface implementation
Parameters:
  series - must be zero.
public  NumbergetX(int series, int item)
     Returns the x value for the specified series and index (zero-based indices).
public  int[]getXIndices()
     Returns the index of the xvalues.
public  NumbergetXValue(int item)
     Returns an x value.
Parameters:
  item - the item index (zero-based).
public  Number[]getXValues()
     Returns the x values.
public  NumbergetY(int series, int item)
     Returns the y value for the specified series and index (zero-based indices).
public  Number[]getYValues()
     Returns a Number array containing all y values.
public  NumbergetZ(int series, int item)
     Returns the z value for the specified series and index (zero-based indices).
public  RangegetZValueRange(Range x, Range y)
     Returns the maximum z-value within visible region of plot.
Parameters:
  x - the x range.
Parameters:
  y - the y range.
public  Number[]getZValues()
     Returns a Number array containing all z values.
public  int[]indexX()
     Returns an int array contain the index into the x values.
public  intindexX(int k)
     Given index k, returns the column index containing k.
Parameters:
  k - index of interest.
public  intindexY(int k)
     Given index k, return the row index containing k.
Parameters:
  k - index of interest.
public  intindexZ(int i, int j)
     Given column and row indices, returns the k index.
Parameters:
  i - index of along x-axis.
Parameters:
  j - index of along y-axis.
public  voidinitialize(Object[] xData, Object[] yData, Object[] zData)
     Initialises the dataset.
public  booleanisDateAxis(int axisNumber)
     Returns true if axis are dates.
Parameters:
  axisNumber - The axis where 0-x, 1-y, and 2-z.
public  voidsetSeriesKeys(Comparable[] seriesKeys)
     Sets the names of the series in the data source.

Field Detail
dateAxis
boolean[] dateAxis(Code)
Flags that track whether x, y and z are dates.



seriesKey
protected Comparable seriesKey(Code)
The series name (this dataset supports only one series).



xIndex
protected int[] xIndex(Code)
The index for the start of each column in the data.



xValues
protected Number[] xValues(Code)
Storage for the x values.



yValues
protected Number[] yValues(Code)
Storage for the y values.



zValues
protected Number[] zValues(Code)
Storage for the z values.




Constructor Detail
DefaultContourDataset
public DefaultContourDataset()(Code)
Creates a new dataset, initially empty.



DefaultContourDataset
public DefaultContourDataset(Comparable seriesKey, Object[] xData, Object[] yData, Object[] zData)(Code)
Constructs a new dataset with the given data.
Parameters:
  seriesKey - the series key.
Parameters:
  xData - the x values.
Parameters:
  yData - the y values.
Parameters:
  zData - the z values.




Method Detail
formObjectArray
public static Object[][] formObjectArray(double[][] data)(Code)
Creates an object array from an array of doubles.
Parameters:
  data - the data. An array of Double objects.



formObjectArray
public static Object[] formObjectArray(double[] data)(Code)
Creates an object array from an array of doubles.
Parameters:
  data - the data. An array of Double objects.



getItemCount
public int getItemCount(int series)(Code)
Returns the number of items in the specified series. This method is provided to satisfy the XYDataset interface implementation.
Parameters:
  series - must be zero, as this dataset only supports one series. The item count.



getMaxZValue
public double getMaxZValue()(Code)
Returns the maximum z-value. The maximum z-value.



getMinZValue
public double getMinZValue()(Code)
Returns the minimum z-value. The minimum z-value.



getMinZValue
public double getMinZValue(double minX, double minY, double maxX, double maxY)(Code)
Returns the minimum z-value.
Parameters:
  minX - the minimum x value.
Parameters:
  minY - the minimum y value.
Parameters:
  maxX - the maximum x value.
Parameters:
  maxY - the maximum y value. The minimum z-value.



getSeriesCount
public int getSeriesCount()(Code)
Returns the number of series.

Required by XYDataset interface (this will always return 1) 1.




getSeriesKey
public Comparable getSeriesKey(int series)(Code)
Returns the name of the specified series. Method provided to satisfy the XYDataset interface implementation
Parameters:
  series - must be zero. The series name.



getX
public Number getX(int series, int item)(Code)
Returns the x value for the specified series and index (zero-based indices). Required by the XYDataset .
Parameters:
  series - must be zero;
Parameters:
  item - the item index (zero-based). The x value.



getXIndices
public int[] getXIndices()(Code)
Returns the index of the xvalues. The x values.



getXValue
public Number getXValue(int item)(Code)
Returns an x value.
Parameters:
  item - the item index (zero-based). The X value.



getXValues
public Number[] getXValues()(Code)
Returns the x values. The x values.



getY
public Number getY(int series, int item)(Code)
Returns the y value for the specified series and index (zero-based indices). Required by the XYDataset .
Parameters:
  series - the series index (must be zero for this dataset).
Parameters:
  item - the item index (zero-based). The Y value.



getYValues
public Number[] getYValues()(Code)
Returns a Number array containing all y values. The Y values.



getZ
public Number getZ(int series, int item)(Code)
Returns the z value for the specified series and index (zero-based indices). Required by the XYDataset
Parameters:
  series - the series index (must be zero for this dataset).
Parameters:
  item - the item index (zero-based). The Z value.



getZValueRange
public Range getZValueRange(Range x, Range y)(Code)
Returns the maximum z-value within visible region of plot.
Parameters:
  x - the x range.
Parameters:
  y - the y range. The z range.



getZValues
public Number[] getZValues()(Code)
Returns a Number array containing all z values. The Z values.



indexX
public int[] indexX()(Code)
Returns an int array contain the index into the x values. The X values.



indexX
public int indexX(int k)(Code)
Given index k, returns the column index containing k.
Parameters:
  k - index of interest. The column index.



indexY
public int indexY(int k)(Code)
Given index k, return the row index containing k.
Parameters:
  k - index of interest. The row index.



indexZ
public int indexZ(int i, int j)(Code)
Given column and row indices, returns the k index.
Parameters:
  i - index of along x-axis.
Parameters:
  j - index of along y-axis. The Z index.



initialize
public void initialize(Object[] xData, Object[] yData, Object[] zData)(Code)
Initialises the dataset.
Parameters:
  xData - the x values.
Parameters:
  yData - the y values.
Parameters:
  zData - the z values.



isDateAxis
public boolean isDateAxis(int axisNumber)(Code)
Returns true if axis are dates.
Parameters:
  axisNumber - The axis where 0-x, 1-y, and 2-z. A boolean.



setSeriesKeys
public void setSeriesKeys(Comparable[] seriesKeys)(Code)
Sets the names of the series in the data source.
Parameters:
  seriesKeys - the keys of the series in the data source.



Methods inherited from org.jfree.data.xy.AbstractXYZDataset
public double getZValue(int series, int item)(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.