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


java.lang.Object
   org.jfree.data.general.AbstractDataset

All known Subclasses:   org.jfree.data.general.DefaultValueDataset,  org.jfree.data.statistics.DefaultStatisticalCategoryDataset,  org.jfree.data.general.DefaultKeyedValueDataset,  org.jfree.data.general.DefaultPieDataset,  org.jfree.data.category.CategoryToPieDataset,  org.jfree.data.statistics.DefaultBoxAndWhiskerCategoryDataset,  org.jfree.data.general.WaferMapDataset,  org.jfree.data.general.AbstractSeriesDataset,  org.jfree.data.category.DefaultCategoryDataset,
AbstractDataset
abstract public class AbstractDataset implements Dataset,Cloneable,Serializable,ObjectInputValidation(Code)
An abstract implementation of the Dataset interface, containing a mechanism for registering change listeners.



Constructor Summary
protected  AbstractDataset()
     Constructs a dataset.

Method Summary
public  voidaddChangeListener(DatasetChangeListener listener)
     Registers an object to receive notification of changes to the dataset.
public  Objectclone()
     Returns a clone of the dataset.
protected  voidfireDatasetChanged()
     Notifies all registered listeners that the dataset has changed.
public  DatasetGroupgetGroup()
     Returns the dataset group for the dataset.
public  booleanhasListener(EventListener listener)
     Returns true if the specified object is registered with the dataset as a listener.
protected  voidnotifyListeners(DatasetChangeEvent event)
     Notifies all registered listeners that the dataset has changed.
public  voidremoveChangeListener(DatasetChangeListener listener)
     Deregisters an object so that it no longer receives notification of changes to the dataset.
public  voidsetGroup(DatasetGroup group)
     Sets the dataset group for the dataset.
public  voidvalidateObject()
     Validates the object.


Constructor Detail
AbstractDataset
protected AbstractDataset()(Code)
Constructs a dataset. By default, the dataset is assigned to its own group.




Method Detail
addChangeListener
public void addChangeListener(DatasetChangeListener listener)(Code)
Registers an object to receive notification of changes to the dataset.
Parameters:
  listener - the object to register.



clone
public Object clone() throws CloneNotSupportedException(Code)
Returns a clone of the dataset. The cloned dataset will NOT include the DatasetChangeListener references that have been registered with this dataset. A clone.
throws:
  CloneNotSupportedException - if the dataset does not support cloning.



fireDatasetChanged
protected void fireDatasetChanged()(Code)
Notifies all registered listeners that the dataset has changed.



getGroup
public DatasetGroup getGroup()(Code)
Returns the dataset group for the dataset. The group.



hasListener
public boolean hasListener(EventListener listener)(Code)
Returns true if the specified object is registered with the dataset as a listener. Most applications won't need to call this method, it exists mainly for use by unit testing code.
Parameters:
  listener - the listener. A boolean.



notifyListeners
protected void notifyListeners(DatasetChangeEvent event)(Code)
Notifies all registered listeners that the dataset has changed.
Parameters:
  event - contains information about the event that triggered the notification.



removeChangeListener
public void removeChangeListener(DatasetChangeListener listener)(Code)
Deregisters an object so that it no longer receives notification of changes to the dataset.
Parameters:
  listener - the object to deregister.



setGroup
public void setGroup(DatasetGroup group)(Code)
Sets the dataset group for the dataset.
Parameters:
  group - the group (null not permitted).



validateObject
public void validateObject() throws InvalidObjectException(Code)
Validates the object. We use this opportunity to call listeners who have registered during the deserialization process, as listeners are not serialized. This method is called by the serialization system after the entire graph is read. This object has registered itself to the system with a priority of 10. Other callbacks may register with a higher priority number to be called before this object, or with a lower priority number to be called after the listeners were notified. All listeners are supposed to have register by now, either in their readObject or validateObject methods. Notify them that this dataset has changed.
exception:
  InvalidObjectException - If the object cannot validate itself.



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.