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


org.jfree.data.xy.AbstractXYDataset
   org.jfree.data.xy.VectorSeriesCollection

VectorSeriesCollection
public class VectorSeriesCollection extends AbstractXYDataset implements VectorXYDataset,Serializable(Code)
A collection of VectorSeries objects.
since:
   1.0.6



Constructor Summary
public  VectorSeriesCollection()
     Creates a new instance of VectorSeriesCollection.

Method Summary
public  voidaddSeries(VectorSeries series)
     Adds a series to the collection and sends a DatasetChangeEvent to all registered listeners.
public  Objectclone()
     Returns a clone of this instance.
public  booleanequals(Object obj)
     Tests this instance for equality with an arbitrary object.
Parameters:
  obj - the object (null permitted).
public  intgetItemCount(int series)
     Returns the number of items in the specified series.
Parameters:
  series - the series (zero-based index).
public  VectorSeriesgetSeries(int series)
     Returns a series from the collection.
Parameters:
  series - the series index (zero-based).
public  intgetSeriesCount()
     Returns the number of series in the collection.
public  ComparablegetSeriesKey(int series)
     Returns the key for a series.
Parameters:
  series - the series index (in the range 0 to getSeriesCount() - 1).
public  VectorgetVector(int series, int item)
     Returns the vector for an item in a series.
public  doublegetVectorXValue(int series, int item)
     Returns the x-component of the vector for an item in a series.
Parameters:
  series - the series index.
Parameters:
  item - the item index.
public  doublegetVectorYValue(int series, int item)
     Returns the y-component of the vector for an item in a series.
Parameters:
  series - the series index.
Parameters:
  item - the item index.
public  NumbergetX(int series, int item)
     Returns the x-value for an item within a series.
public  doublegetXValue(int series, int item)
     Returns the x-value for an item within a series.
Parameters:
  series - the series index.
Parameters:
  item - the item index.
public  NumbergetY(int series, int item)
     Returns the y-value for an item within a series.
public  doublegetYValue(int series, int item)
     Returns the y-value for an item within a series.
Parameters:
  series - the series index.
Parameters:
  item - the item index.
public  intindexOf(VectorSeries series)
     Returns the index of the specified series, or -1 if that series is not present in the dataset.
Parameters:
  series - the series (null not permitted).
public  voidremoveAllSeries()
     Removes all the series from the collection and sends a DatasetChangeEvent to all registered listeners.
public  booleanremoveSeries(VectorSeries series)
     Removes the specified series from the collection and sends a DatasetChangeEvent to all registered listeners.
Parameters:
  series - the series (null not permitted).


Constructor Detail
VectorSeriesCollection
public VectorSeriesCollection()(Code)
Creates a new instance of VectorSeriesCollection.




Method Detail
addSeries
public void addSeries(VectorSeries series)(Code)
Adds a series to the collection and sends a DatasetChangeEvent to all registered listeners.
Parameters:
  series - the series (null not permitted).



clone
public Object clone() throws CloneNotSupportedException(Code)
Returns a clone of this instance. A clone.
throws:
  CloneNotSupportedException - if there is a problem.



equals
public boolean equals(Object obj)(Code)
Tests this instance for equality with an arbitrary object.
Parameters:
  obj - the object (null permitted). A boolean.



getItemCount
public int getItemCount(int series)(Code)
Returns the number of items in the specified series.
Parameters:
  series - the series (zero-based index). The item count.
throws:
  IllegalArgumentException - if series is not in therange 0 to getSeriesCount() - 1.



getSeries
public VectorSeries getSeries(int series)(Code)
Returns a series from the collection.
Parameters:
  series - the series index (zero-based). The series.
throws:
  IllegalArgumentException - if series is not in therange 0 to getSeriesCount() - 1.



getSeriesCount
public int getSeriesCount()(Code)
Returns the number of series in the collection. The series count.



getSeriesKey
public Comparable getSeriesKey(int series)(Code)
Returns the key for a series.
Parameters:
  series - the series index (in the range 0 to getSeriesCount() - 1). The key for a series.
throws:
  IllegalArgumentException - if series is not in thespecified range.



getVector
public Vector getVector(int series, int item)(Code)
Returns the vector for an item in a series.
Parameters:
  series - the series index.
Parameters:
  item - the item index. The vector (possibly null).



getVectorXValue
public double getVectorXValue(int series, int item)(Code)
Returns the x-component of the vector for an item in a series.
Parameters:
  series - the series index.
Parameters:
  item - the item index. The x-component of the vector.



getVectorYValue
public double getVectorYValue(int series, int item)(Code)
Returns the y-component of the vector for an item in a series.
Parameters:
  series - the series index.
Parameters:
  item - the item index. The y-component of the vector.



getX
public Number getX(int series, int item)(Code)
Returns the x-value for an item within a series. Note that this method creates a new Double instance every time it is called---use VectorSeriesCollection.getXValue(int,int) instead, if possible.
Parameters:
  series - the series index.
Parameters:
  item - the item index. The x-value.



getXValue
public double getXValue(int series, int item)(Code)
Returns the x-value for an item within a series.
Parameters:
  series - the series index.
Parameters:
  item - the item index. The x-value.



getY
public Number getY(int series, int item)(Code)
Returns the y-value for an item within a series. Note that this method creates a new Double instance every time it is called---use VectorSeriesCollection.getYValue(int,int) instead, if possible.
Parameters:
  series - the series index.
Parameters:
  item - the item index. The y-value.



getYValue
public double getYValue(int series, int item)(Code)
Returns the y-value for an item within a series.
Parameters:
  series - the series index.
Parameters:
  item - the item index. The y-value.



indexOf
public int indexOf(VectorSeries series)(Code)
Returns the index of the specified series, or -1 if that series is not present in the dataset.
Parameters:
  series - the series (null not permitted). The series index.



removeAllSeries
public void removeAllSeries()(Code)
Removes all the series from the collection and sends a DatasetChangeEvent to all registered listeners.



removeSeries
public boolean removeSeries(VectorSeries series)(Code)
Removes the specified series from the collection and sends a DatasetChangeEvent to all registered listeners.
Parameters:
  series - the series (null not permitted). A boolean indicating whether the series has actually been removed.



Methods inherited from org.jfree.data.xy.AbstractXYDataset
public DomainOrder getDomainOrder()(Code)(Java Doc)
public double getXValue(int series, int item)(Code)(Java Doc)
public double getYValue(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.