Java Doc for JRBaseMeterPlot.java in  » Report » jasperreports-2.0.1 » net » sf » jasperreports » charts » base » 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 » Report » jasperreports 2.0.1 » net.sf.jasperreports.charts.base 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.jasperreports.engine.base.JRBaseChartPlot
      net.sf.jasperreports.charts.base.JRBaseMeterPlot

All known Subclasses:   net.sf.jasperreports.charts.design.JRDesignMeterPlot,
JRBaseMeterPlot
public class JRBaseMeterPlot extends JRBaseChartPlot implements JRMeterPlot(Code)
An immutable representation of the layout of a Meter chart.
author:
   Barry Klawans (bklawans@users.sourceforge.net)
version:
   $Id: JRBaseMeterPlot.java 1793 2007-07-30 09:06:18Z teodord $


Field Summary
protected  JRDataRangedataRange
     The range displayed by the Meter.
protected  Listintervals
     The defined intervals for the Meter.
protected  intmeterAngle
     The extend of the meter face in degrees.
protected  ColormeterBackgroundColor
     The color to use for the face of the meter.
protected  ColorneedleColor
     The color to use for the pointer on the meter.
protected  byteshape
     The shape to use when drawing the Meter.
protected  ColortickColor
     The color to use for each tick on the face of the meter.
protected  doubletickInterval
     How often to draw ticks around the face of the meter.
protected  Stringunits
     Optional description of what the meter is displaying.
protected  JRValueDisplayvalueDisplay
     Formatting information for the textual display of the value.

Constructor Summary
public  JRBaseMeterPlot(JRChartPlot meterPlot, JRChart chart)
     Constructs a copy of an existing meter.
public  JRBaseMeterPlot(JRMeterPlot meterPlot, JRBaseObjectFactory factory)
     Constructs a copy of an existing meter and registers all expressions maintained by the meter plot with a factory.

Method Summary
public  voidcollectExpressions(JRExpressionCollector collector)
     Adds all the expression used by this plot with the specified collector.
public  JRDataRangegetDataRange()
    
public  ListgetIntervals()
    
public  intgetMeterAngle()
    
public  ColorgetMeterBackgroundColor()
    
public  ColorgetNeedleColor()
    
public  bytegetShape()
    
public  ColorgetTickColor()
    
public  doublegetTickInterval()
    
public  StringgetUnits()
    
public  JRValueDisplaygetValueDisplay()
    

Field Detail
dataRange
protected JRDataRange dataRange(Code)
The range displayed by the Meter.



intervals
protected List intervals(Code)
The defined intervals for the Meter. Each interval indicates a subsection of the meter and a color to use for that section.



meterAngle
protected int meterAngle(Code)
The extend of the meter face in degrees. It will always be centered around the straight up position.



meterBackgroundColor
protected Color meterBackgroundColor(Code)
The color to use for the face of the meter.



needleColor
protected Color needleColor(Code)
The color to use for the pointer on the meter.



shape
protected byte shape(Code)
The shape to use when drawing the Meter. Only applied if the meter is over 180 degrees wide and less than a full circle.



tickColor
protected Color tickColor(Code)
The color to use for each tick on the face of the meter.



tickInterval
protected double tickInterval(Code)
How often to draw ticks around the face of the meter. The interval is relative to the meter range - if the meter displays 100 to 200 and the tickInterval is 20, there will be 4 ticks at 120, 140, 160 and 180.



units
protected String units(Code)
Optional description of what the meter is displaying. It will be appended to the textual representation of the value.



valueDisplay
protected JRValueDisplay valueDisplay(Code)
Formatting information for the textual display of the value.




Constructor Detail
JRBaseMeterPlot
public JRBaseMeterPlot(JRChartPlot meterPlot, JRChart chart)(Code)
Constructs a copy of an existing meter.
Parameters:
  meterPlot - the meter to copy



JRBaseMeterPlot
public JRBaseMeterPlot(JRMeterPlot meterPlot, JRBaseObjectFactory factory)(Code)
Constructs a copy of an existing meter and registers all expressions maintained by the meter plot with a factory.
Parameters:
  meterPlot - the meter to copy
Parameters:
  factory - the factory to register expressions with




Method Detail
collectExpressions
public void collectExpressions(JRExpressionCollector collector)(Code)
Adds all the expression used by this plot with the specified collector. All collected expression that are also registered with a factory will be included with the report is compiled.
Parameters:
  collector - the expression collector to use



getDataRange
public JRDataRange getDataRange()(Code)



getIntervals
public List getIntervals()(Code)



getMeterAngle
public int getMeterAngle()(Code)



getMeterBackgroundColor
public Color getMeterBackgroundColor()(Code)



getNeedleColor
public Color getNeedleColor()(Code)



getShape
public byte getShape()(Code)



getTickColor
public Color getTickColor()(Code)



getTickInterval
public double getTickInterval()(Code)



getUnits
public String getUnits()(Code)



getValueDisplay
public JRValueDisplay getValueDisplay()(Code)



Fields inherited from net.sf.jasperreports.engine.base.JRBaseChartPlot
protected Color backcolor(Code)(Java Doc)
protected float backgroundAlpha(Code)(Java Doc)
protected JRChart chart(Code)(Java Doc)
protected float foregroundAlpha(Code)(Java Doc)
protected double labelRotation(Code)(Java Doc)
protected PlotOrientation orientation(Code)(Java Doc)
protected SortedSet seriesColors(Code)(Java Doc)

Methods inherited from net.sf.jasperreports.engine.base.JRBaseChartPlot
public void addSeriesColor(JRSeriesColor seriesColor)(Code)(Java Doc)
public void clearSeriesColors()(Code)(Java Doc)
public Color getBackcolor()(Code)(Java Doc)
public float getBackgroundAlpha()(Code)(Java Doc)
public JRChart getChart()(Code)(Java Doc)
public float getForegroundAlpha()(Code)(Java Doc)
public double getLabelRotation()(Code)(Java Doc)
public PlotOrientation getOrientation()(Code)(Java Doc)
public Color getOwnBackcolor()(Code)(Java Doc)
public SortedSet getSeriesColors()(Code)(Java Doc)
public void setBackcolor(Color backcolor)(Code)(Java Doc)
public void setBackgroundAlpha(float backgroundAlpha)(Code)(Java Doc)
public void setForegroundAlpha(float foregroundAlpha)(Code)(Java Doc)
public void setLabelRotation(double labelRotation)(Code)(Java Doc)
public void setOrientation(PlotOrientation orientation)(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.