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


java.lang.Object
   de.progra.charting.model.AbstractChartDataModel

All known Subclasses:   de.progra.charting.model.ObjectChartDataModel,  de.progra.charting.model.DefaultChartDataModel,
AbstractChartDataModel
abstract public class AbstractChartDataModel implements ChartDataModel(Code)
This class implements the event-handling methods for a chart model.
author:
   mueller
version:
   1.0


Field Summary
protected  booleanautoscale
     Flag defining the automatic scaling of max and min values.
protected  EventListenerListlistener
     The listener list.
protected  booleanmanualscale
     Flag defining the manual scaling of max and min values.
protected  doublemaxcolumnmincolumn
     Maximum and minimum column values to be displayed.
protected  Numbermaxvalueminvalue
     Maximum and minimum values to be displayed.

Constructor Summary
public  AbstractChartDataModel()
    

Method Summary
public  voidaddChartDataModelListener(ChartDataModelListener l)
     Adds a ChartDataModelListener.
public  booleanequals(Object o)
     Compares this ChartDataModel with another object.
public  voidfireChartDataModelChangedEvent(Object src)
     Promotes a new ChartDataModelEvent.
public  intgetAxisBinding(int set)
    
public  ClassgetColumnClass()
     Returns the class of the column values.
public  StringgetDataSetName(int set)
     Returns the title of the DataSet.
abstract protected  doublegetFirstColumnValue()
    
abstract protected  doublegetLastColumnValue()
    
public  doublegetManualMaximumColumnValue()
    
public  NumbergetManualMaximumValue()
    
public  doublegetManualMinimumColumnValue()
    
public  NumbergetManualMinimumValue()
    
abstract protected  TreeSetgetOrderedValues(int axis)
    
public  booleanisAutoScale()
    
public  booleanisColumnNumeric()
     Determines if the column values are numeric.
public  booleanisManualScale()
     Returns true if the manual axis scaling is enabled.
public  voidremoveChartDataModelListener(ChartDataModelListener l)
     Removes a ChartDataModelListener.
public  voidsetAutoScale(boolean b)
    
public  voidsetAxisBinding(int set, int axis)
     Provides a default empty implementation.
public  voidsetManualScale(boolean b)
     Enables the manual axis scaling.
public  voidsetMaximumColumnValue(double d)
     Sets the maximum x-axis value.
public  voidsetMaximumValue(Number n)
     Sets the maximum y-axis value.
public  voidsetMinimumColumnValue(double d)
     Sets the minimum x-axis value.
public  voidsetMinimumValue(Number n)
     Sets the minimum y-axis value.
public  voidsetValueAt(int set, int index, Object value)
     Provides an empty implementation for not-editable DataModels.

Field Detail
autoscale
protected boolean autoscale(Code)
Flag defining the automatic scaling of max and min values.



listener
protected EventListenerList listener(Code)
The listener list.



manualscale
protected boolean manualscale(Code)
Flag defining the manual scaling of max and min values.



maxcolumnmincolumn
protected double maxcolumnmincolumn(Code)
Maximum and minimum column values to be displayed.



maxvalueminvalue
protected Number maxvalueminvalue(Code)
Maximum and minimum values to be displayed.




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




Method Detail
addChartDataModelListener
public void addChartDataModelListener(ChartDataModelListener l)(Code)
Adds a ChartDataModelListener.
Parameters:
  l - the ChartDataModelListener



equals
public boolean equals(Object o)(Code)
Compares this ChartDataModel with another object.
Parameters:
  o - the object to compare with true, if o is an AbstractChartDataModel, the number ofDataSets is equal and all DataSet names and column values are equal.



fireChartDataModelChangedEvent
public void fireChartDataModelChangedEvent(Object src)(Code)
Promotes a new ChartDataModelEvent.
Parameters:
  src - the source object of the event.



getAxisBinding
public int getAxisBinding(int set)(Code)
Returns the Axis Binding for a specific DataSet, ie the Axis on which the DataSet should be plotted
Parameters:
  set - the DataSet whose Axis binding should be determined DataSet.FIRST_YAXIS by default.



getColumnClass
public Class getColumnClass()(Code)
Returns the class of the column values. Object.class per default



getDataSetName
public String getDataSetName(int set)(Code)
Returns the title of the DataSet.
Parameters:
  set - the DataSet identifier the the number ofthe DataSet per default.



getFirstColumnValue
abstract protected double getFirstColumnValue()(Code)



getLastColumnValue
abstract protected double getLastColumnValue()(Code)



getManualMaximumColumnValue
public double getManualMaximumColumnValue()(Code)



getManualMaximumValue
public Number getManualMaximumValue()(Code)



getManualMinimumColumnValue
public double getManualMinimumColumnValue()(Code)



getManualMinimumValue
public Number getManualMinimumValue()(Code)



getOrderedValues
abstract protected TreeSet getOrderedValues(int axis)(Code)



isAutoScale
public boolean isAutoScale()(Code)



isColumnNumeric
public boolean isColumnNumeric()(Code)
Determines if the column values are numeric. false per default



isManualScale
public boolean isManualScale()(Code)
Returns true if the manual axis scaling is enabled. This overrides the enabled automatic axis scaling.



removeChartDataModelListener
public void removeChartDataModelListener(ChartDataModelListener l)(Code)
Removes a ChartDataModelListener.
Parameters:
  l - the ChartDataListener



setAutoScale
public void setAutoScale(boolean b)(Code)



setAxisBinding
public void setAxisBinding(int set, int axis)(Code)
Provides a default empty implementation.
Parameters:
  set - the DataSet
Parameters:
  axis - the Axis binding



setManualScale
public void setManualScale(boolean b)(Code)
Enables the manual axis scaling. Set the desired maximum and minimum values using the setMaximum...Value functions.



setMaximumColumnValue
public void setMaximumColumnValue(double d)(Code)
Sets the maximum x-axis value.



setMaximumValue
public void setMaximumValue(Number n)(Code)
Sets the maximum y-axis value.



setMinimumColumnValue
public void setMinimumColumnValue(double d)(Code)
Sets the minimum x-axis value.



setMinimumValue
public void setMinimumValue(Number n)(Code)
Sets the minimum y-axis value.



setValueAt
public void setValueAt(int set, int index, Object value)(Code)
Provides an empty implementation for not-editable DataModels.
Parameters:
  set - the DataSet in which the value should be set
Parameters:
  index - the index in the DataSet where the value should be stored
Parameters:
  value - the value object



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.