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


java.lang.Object
   org.jfree.chart.ClipPath

ClipPath
public class ClipPath implements Cloneable(Code)
This class would typically be used with a org.jfree.chart.plot.ContourPlot . It allows the user to define a GeneralPath curve in plot coordinates. This curve can then be used mask off or define regions within the contour plot. The data must be sorted. XYPlotXYBlockRenderer



Constructor Summary
public  ClipPath()
     Constructor for ClipPath.
public  ClipPath(double[] xValue, double[] yValue)
     Constructor for ClipPath. Default values are assumed for the fillPath and drawPath options as false and true respectively.
public  ClipPath(double[] xValue, double[] yValue, boolean clip, boolean fillPath, boolean drawPath)
     Constructor for ClipPath.
public  ClipPath(double[] xValue, double[] yValue, boolean fillPath, boolean drawPath, Paint fillPaint, Paint drawPaint, Stroke drawStroke, Composite composite)
     Constructor for ClipPath.

Method Summary
public  Objectclone()
     Returns a clone of the object (a deeper clone than default to avoid bugs when setting values in cloned object).
public  GeneralPathdraw(Graphics2D g2, Rectangle2D dataArea, ValueAxis horizontalAxis, ValueAxis verticalAxis)
     Draws the clip path.
Parameters:
  g2 - current graphics2D.
Parameters:
  dataArea - the dataArea that the plot is being draw in.
Parameters:
  horizontalAxis - the horizontal axis.
Parameters:
  verticalAxis - the vertical axis.
public  GeneralPathgenerateClipPath(Rectangle2D dataArea, ValueAxis horizontalAxis, ValueAxis verticalAxis)
     Generates the clip path.
Parameters:
  dataArea - the dataArea that the plot is being draw in.
Parameters:
  horizontalAxis - the horizontal axis.
Parameters:
  verticalAxis - the vertical axis.
public  CompositegetComposite()
     Returns the composite.
public  PaintgetDrawPaint()
     Returns the drawPaint.
public  StrokegetDrawStroke()
     Returns the drawStroke.
public  PaintgetFillPaint()
     Returns the fillPaint.
public  double[]getXValue()
     Returns the xValue.
public  double[]getYValue()
     Returns the yValue.
public  booleanisClip()
     Returns the clip.
public  booleanisDrawPath()
     Returns the drawPath.
public  booleanisFillPath()
     Returns the fillPath.
public  voidsetClip(boolean clip)
     Sets the clip.
public  voidsetComposite(Composite composite)
     Sets the composite.
public  voidsetDrawPaint(Paint drawPaint)
     Sets the drawPaint.
public  voidsetDrawPath(boolean drawPath)
     Sets the drawPath.
public  voidsetDrawStroke(Stroke drawStroke)
     Sets the drawStroke.
public  voidsetFillPaint(Paint fillPaint)
     Sets the fillPaint.
public  voidsetFillPath(boolean fillPath)
     Sets the fillPath.
public  voidsetXValue(double[] xValue)
     Sets the xValue.
public  voidsetYValue(double[] yValue)
     Sets the yValue.


Constructor Detail
ClipPath
public ClipPath()(Code)
Constructor for ClipPath.



ClipPath
public ClipPath(double[] xValue, double[] yValue)(Code)
Constructor for ClipPath. Default values are assumed for the fillPath and drawPath options as false and true respectively. The fillPaint is set to Color.GRAY, the drawColor is Color.BLUE, the stroke is BasicStroke(1) and the composite is AlphaComposite.Src.
Parameters:
  xValue - x coordinates of curved to be created
Parameters:
  yValue - y coordinates of curved to be created



ClipPath
public ClipPath(double[] xValue, double[] yValue, boolean clip, boolean fillPath, boolean drawPath)(Code)
Constructor for ClipPath. The fillPaint is set to Color.GRAY, the drawColor is Color.BLUE, the stroke is BasicStroke(1) and the composite is AlphaComposite.Src.
Parameters:
  xValue - x coordinates of curved to be created
Parameters:
  yValue - y coordinates of curved to be created
Parameters:
  clip - clip?
Parameters:
  fillPath - whether the path is to filled
Parameters:
  drawPath - whether the path is to drawn as an outline



ClipPath
public ClipPath(double[] xValue, double[] yValue, boolean fillPath, boolean drawPath, Paint fillPaint, Paint drawPaint, Stroke drawStroke, Composite composite)(Code)
Constructor for ClipPath.
Parameters:
  xValue - x coordinates of curved to be created
Parameters:
  yValue - y coordinates of curved to be created
Parameters:
  fillPath - whether the path is to filled
Parameters:
  drawPath - whether the path is to drawn as an outline
Parameters:
  fillPaint - the fill paint
Parameters:
  drawPaint - the outline stroke color
Parameters:
  drawStroke - the stroke style
Parameters:
  composite - the composite rule




Method Detail
clone
public Object clone() throws CloneNotSupportedException(Code)
Returns a clone of the object (a deeper clone than default to avoid bugs when setting values in cloned object). The clone.
throws:
  CloneNotSupportedException - if cloning is not supported.



draw
public GeneralPath draw(Graphics2D g2, Rectangle2D dataArea, ValueAxis horizontalAxis, ValueAxis verticalAxis)(Code)
Draws the clip path.
Parameters:
  g2 - current graphics2D.
Parameters:
  dataArea - the dataArea that the plot is being draw in.
Parameters:
  horizontalAxis - the horizontal axis.
Parameters:
  verticalAxis - the vertical axis. The GeneralPath defining the outline



generateClipPath
public GeneralPath generateClipPath(Rectangle2D dataArea, ValueAxis horizontalAxis, ValueAxis verticalAxis)(Code)
Generates the clip path.
Parameters:
  dataArea - the dataArea that the plot is being draw in.
Parameters:
  horizontalAxis - the horizontal axis.
Parameters:
  verticalAxis - the vertical axis. The GeneralPath defining the outline



getComposite
public Composite getComposite()(Code)
Returns the composite. Composite



getDrawPaint
public Paint getDrawPaint()(Code)
Returns the drawPaint. Paint



getDrawStroke
public Stroke getDrawStroke()(Code)
Returns the drawStroke. Stroke



getFillPaint
public Paint getFillPaint()(Code)
Returns the fillPaint. Paint



getXValue
public double[] getXValue()(Code)
Returns the xValue. double[]



getYValue
public double[] getYValue()(Code)
Returns the yValue. double[]



isClip
public boolean isClip()(Code)
Returns the clip. boolean



isDrawPath
public boolean isDrawPath()(Code)
Returns the drawPath. boolean



isFillPath
public boolean isFillPath()(Code)
Returns the fillPath. boolean



setClip
public void setClip(boolean clip)(Code)
Sets the clip.
Parameters:
  clip - The clip to set



setComposite
public void setComposite(Composite composite)(Code)
Sets the composite.
Parameters:
  composite - The composite to set



setDrawPaint
public void setDrawPaint(Paint drawPaint)(Code)
Sets the drawPaint.
Parameters:
  drawPaint - The drawPaint to set



setDrawPath
public void setDrawPath(boolean drawPath)(Code)
Sets the drawPath.
Parameters:
  drawPath - The drawPath to set



setDrawStroke
public void setDrawStroke(Stroke drawStroke)(Code)
Sets the drawStroke.
Parameters:
  drawStroke - The drawStroke to set



setFillPaint
public void setFillPaint(Paint fillPaint)(Code)
Sets the fillPaint.
Parameters:
  fillPaint - The fillPaint to set



setFillPath
public void setFillPath(boolean fillPath)(Code)
Sets the fillPath.
Parameters:
  fillPath - The fillPath to set



setXValue
public void setXValue(double[] xValue)(Code)
Sets the xValue.
Parameters:
  xValue - The xValue to set



setYValue
public void setYValue(double[] yValue)(Code)
Sets the yValue.
Parameters:
  yValue - The yValue to set



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.