Java Doc for StandardDialScale.java in  » Chart » jfreechart » org » jfree » experimental » chart » plot » dial » 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.experimental.chart.plot.dial 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jfree.experimental.chart.plot.dial.AbstractDialLayer
      org.jfree.experimental.chart.plot.dial.StandardDialScale

StandardDialScale
public class StandardDialScale extends AbstractDialLayer implements DialScale,DialLayer,Cloneable,PublicCloneable,Serializable(Code)
A scale for a DialPlot .



Constructor Summary
public  StandardDialScale()
     Creates a new instance of DialScale.
public  StandardDialScale(double lowerBound, double upperBound, double startAngle, double extent)
     Creates a new instance.

Method Summary
public  doubleangleToValue(double angle)
    
public  Objectclone()
     Returns a clone of this instance.
public  voiddraw(Graphics2D g2, DialPlot plot, Rectangle2D frame, Rectangle2D view)
     Draws the scale on the dial plot.
public  booleanequals(Object obj)
     Tests this StandardDialScale for equality with an arbitrary object.
Parameters:
  obj - the object (null permitted).
public  doublegetExtent()
     Returns the extent.
public  booleangetFirstTickLabelVisible()
     Returns a flag that controls whether or not the first tick label is visible.
public  doublegetMajorTickIncrement()
     Returns the increment (in data units) between major tick labels.
public  doublegetMajorTickLength()
     Returns the length factor for the major tick marks.
public  PaintgetMajorTickPaint()
     Returns the major tick paint.
public  StrokegetMajorTickStroke()
     Returns the stroke used to draw the major tick marks.
public  intgetMinorTickCount()
     Returns the number of minor tick marks between major tick marks.
public  doublegetMinorTickLength()
     Returns the length factor for the minor tick marks.
public  doublegetStartAngle()
     Returns the start angle for the scale (in degrees using the same orientation as Java's Arc2D class).
public  FontgetTickLabelFont()
     Returns the font used to draw the tick labels.
public  doublegetTickLabelOffset()
     Returns the tick label offset.
public  PaintgetTickLabelPaint()
     Returns the paint used to draw the tick labels.
public  booleangetTickLabelsVisible()
     Returns true if the tick labels should be displayed, and false otherwise.
public  doublegetTickRadius()
     Returns the radius (as a percentage of the maximum space available) of the outer limit of the tick marks.
public  booleanisClippedToWindow()
     Returns true to indicate that this layer should be clipped within the dial window.
public  voidsetExtent(double extent)
     Sets the extent.
public  voidsetFirstTickLabelVisible(boolean visible)
     Sets a flag that controls whether or not the first tick label is visible, and sends a DialLayerChangeEvent to all registered listeners.
public  voidsetMajorTickIncrement(double increment)
     Sets the increment (in data units) between major tick labels.
public  voidsetMajorTickLength(double length)
     Sets the length factor for the major tick marks.
public  voidsetMajorTickPaint(Paint paint)
     Sets the major tick paint.
public  voidsetMajorTickStroke(Stroke stroke)
     Sets the stroke used to draw the major tick marks.
public  voidsetMinorTickCount(int count)
     Sets the number of minor tick marks between major tick marks.
public  voidsetMinorTickLength(double length)
     Sets the length factor for the minor tick marks.
public  voidsetStartAngle(double angle)
     Sets the start angle for the scale.
public  voidsetTickLabelFont(Font font)
     Sets the font used to display the tick labels.
public  voidsetTickLabelOffset(double offset)
     Sets the tick label offset.
public  voidsetTickLabelPaint(Paint paint)
     Sets the paint used to draw the tick labels.
public  voidsetTickLabelsVisible(boolean visible)
     Sets the flag that controls whether or not the tick labels are displayed, and sends a DialLayerChangeEvent to all registered listeners.
public  voidsetTickRadius(double radius)
     Sets the tick radius.
public  doublevalueToAngle(double value)
     Converts a data value to an angle against this scale.
Parameters:
  value - the data value.


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



StandardDialScale
public StandardDialScale(double lowerBound, double upperBound, double startAngle, double extent)(Code)
Creates a new instance.
Parameters:
  lowerBound - the lower bound of the scale.
Parameters:
  upperBound - the upper bound of the scale.
Parameters:
  startAngle - the start angle (in degrees, using the same orientation as Java's Arc2D class).
Parameters:
  extent - the extent (in degrees, counter-clockwise).




Method Detail
angleToValue
public double angleToValue(double angle)(Code)



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



draw
public void draw(Graphics2D g2, DialPlot plot, Rectangle2D frame, Rectangle2D view)(Code)
Draws the scale on the dial plot.
Parameters:
  g2 - the graphics target (null not permitted).
Parameters:
  plot - the dial plot (null not permitted).
Parameters:
  frame - the reference frame that is used to construct thegeometry of the plot (null not permitted).
Parameters:
  view - the visible part of the plot (null not permitted).



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



getExtent
public double getExtent()(Code)
Returns the extent. The extent.



getFirstTickLabelVisible
public boolean getFirstTickLabelVisible()(Code)
Returns a flag that controls whether or not the first tick label is visible. A boolean.



getMajorTickIncrement
public double getMajorTickIncrement()(Code)
Returns the increment (in data units) between major tick labels. The increment between major tick labels.
See Also:   StandardDialScale.setMajorTickIncrement(double)



getMajorTickLength
public double getMajorTickLength()(Code)
Returns the length factor for the major tick marks. The value is subtracted from the tick radius to determine the inner starting point for the tick marks. The length factor.
See Also:   StandardDialScale.setMajorTickLength(double)



getMajorTickPaint
public Paint getMajorTickPaint()(Code)
Returns the major tick paint. The major tick paint (never null).
See Also:   StandardDialScale.setMajorTickPaint(Paint)



getMajorTickStroke
public Stroke getMajorTickStroke()(Code)
Returns the stroke used to draw the major tick marks. The stroke (never null).
See Also:   StandardDialScale.setMajorTickStroke(Stroke)



getMinorTickCount
public int getMinorTickCount()(Code)
Returns the number of minor tick marks between major tick marks. The number of minor tick marks between major tick marks.
See Also:   StandardDialScale.setMinorTickCount(int)



getMinorTickLength
public double getMinorTickLength()(Code)
Returns the length factor for the minor tick marks. The value is subtracted from the tick radius to determine the inner starting point for the tick marks. The length factor.
See Also:   StandardDialScale.setMinorTickLength(double)



getStartAngle
public double getStartAngle()(Code)
Returns the start angle for the scale (in degrees using the same orientation as Java's Arc2D class). The start angle.
See Also:   StandardDialScale.setStartAngle(double)



getTickLabelFont
public Font getTickLabelFont()(Code)
Returns the font used to draw the tick labels. The font (never null).
See Also:   StandardDialScale.setTickLabelFont(Font)



getTickLabelOffset
public double getTickLabelOffset()(Code)
Returns the tick label offset. The tick label offset.
See Also:   StandardDialScale.setTickLabelOffset(double)



getTickLabelPaint
public Paint getTickLabelPaint()(Code)
Returns the paint used to draw the tick labels. The paint (null not permitted).



getTickLabelsVisible
public boolean getTickLabelsVisible()(Code)
Returns true if the tick labels should be displayed, and false otherwise. A boolean.



getTickRadius
public double getTickRadius()(Code)
Returns the radius (as a percentage of the maximum space available) of the outer limit of the tick marks. The tick radius.
See Also:   StandardDialScale.setTickRadius(double)



isClippedToWindow
public boolean isClippedToWindow()(Code)
Returns true to indicate that this layer should be clipped within the dial window. true.



setExtent
public void setExtent(double extent)(Code)
Sets the extent.
Parameters:
  extent - the extent.
See Also:   StandardDialScale.getExtent()



setFirstTickLabelVisible
public void setFirstTickLabelVisible(boolean visible)(Code)
Sets a flag that controls whether or not the first tick label is visible, and sends a DialLayerChangeEvent to all registered listeners.
Parameters:
  visible - the new flag value.



setMajorTickIncrement
public void setMajorTickIncrement(double increment)(Code)
Sets the increment (in data units) between major tick labels.
Parameters:
  increment - the increment.
See Also:   StandardDialScale.getMajorTickIncrement()



setMajorTickLength
public void setMajorTickLength(double length)(Code)
Sets the length factor for the major tick marks.
Parameters:
  length - the length.
See Also:   StandardDialScale.getMajorTickLength()



setMajorTickPaint
public void setMajorTickPaint(Paint paint)(Code)
Sets the major tick paint.
Parameters:
  paint - the paint (null not permitted).
See Also:   StandardDialScale.getMajorTickPaint()



setMajorTickStroke
public void setMajorTickStroke(Stroke stroke)(Code)
Sets the stroke used to draw the major tick marks.
Parameters:
  stroke - the stroke (null not permitted).
See Also:   StandardDialScale.getMajorTickStroke()



setMinorTickCount
public void setMinorTickCount(int count)(Code)
Sets the number of minor tick marks between major tick marks.
Parameters:
  count - the count.
See Also:   StandardDialScale.getMinorTickCount()



setMinorTickLength
public void setMinorTickLength(double length)(Code)
Sets the length factor for the minor tick marks.
Parameters:
  length - the length.
See Also:   StandardDialScale.getMinorTickLength()



setStartAngle
public void setStartAngle(double angle)(Code)
Sets the start angle for the scale.
Parameters:
  angle - the angle.
See Also:   StandardDialScale.getStartAngle()



setTickLabelFont
public void setTickLabelFont(Font font)(Code)
Sets the font used to display the tick labels.
Parameters:
  font - the font (null not permitted).
See Also:   StandardDialScale.getTickLabelFont()



setTickLabelOffset
public void setTickLabelOffset(double offset)(Code)
Sets the tick label offset.
Parameters:
  offset - the offset.
See Also:   StandardDialScale.getTickLabelOffset()



setTickLabelPaint
public void setTickLabelPaint(Paint paint)(Code)
Sets the paint used to draw the tick labels.
Parameters:
  paint - the paint (null not permitted).



setTickLabelsVisible
public void setTickLabelsVisible(boolean visible)(Code)
Sets the flag that controls whether or not the tick labels are displayed, and sends a DialLayerChangeEvent to all registered listeners.
Parameters:
  visible - the new flag value.



setTickRadius
public void setTickRadius(double radius)(Code)
Sets the tick radius.
Parameters:
  radius - the radius.
See Also:   StandardDialScale.getTickRadius()



valueToAngle
public double valueToAngle(double value)(Code)
Converts a data value to an angle against this scale.
Parameters:
  value - the data value. The angle (in degrees, using the same specification as Java'sArc2D class).



Methods inherited from org.jfree.experimental.chart.plot.dial.AbstractDialLayer
public void addChangeListener(DialLayerChangeListener listener)(Code)(Java Doc)
public boolean hasListener(EventListener listener)(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
protected void notifyListeners(DialLayerChangeEvent event)(Code)(Java Doc)
public void removeChangeListener(DialLayerChangeListener listener)(Code)(Java Doc)
public void setVisible(boolean visible)(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.