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


java.lang.Object
   org.jfree.chart.plot.Plot
      org.jfree.chart.plot.ContourPlot

ContourPlot
public class ContourPlot extends Plot implements ContourValuePlot,ValueAxisPlot,PropertyChangeListener,Serializable,Cloneable(Code)
A class for creating shaded contours. XYPlotXYBlockRenderer


Field Summary
final protected static  RectangleInsetsDEFAULT_INSETS
     The default insets.
protected static  ResourceBundlelocalizationResources
     The resourceBundle for the localization.

Constructor Summary
public  ContourPlot()
     Creates a new plot with no dataset or axes.
public  ContourPlot(ContourDataset dataset, ValueAxis domainAxis, ValueAxis rangeAxis, ColorBar colorBar)
     Constructs a contour plot with the specified axes (other attributes take default values).

Method Summary
public  voidaddAnnotation(XYAnnotation annotation)
     Adds an annotation to the plot.
public  voidaddDomainMarker(Marker marker)
     Adds a marker for the domain axis.
public  voidaddRangeMarker(Marker marker)
     Adds a marker for the range axis.
public  voidaxisChanged(AxisChangeEvent event)
     Receives notification of a change to one of the plot's axes.
public  voidclearAnnotations()
     Clears all the annotations.
public  voidclearDomainMarkers()
     Clears all the domain markers.
public  voidclearRangeMarkers()
     Clears all the range markers.
public  Objectclone()
    
public  voidcontourRenderer(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, ContourPlot plot, ValueAxis horizontalAxis, ValueAxis verticalAxis, ColorBar colorBar, ContourDataset data, CrosshairState crosshairState)
     Fills the plot.
public  voiddatasetChanged(DatasetChangeEvent event)
     Receives notification of a change to the plot's dataset.
public  voiddraw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info)
     Draws the plot on a Java 2D graphics device (such as the screen or a printer).

The optional info argument collects information about the rendering of the plot (dimensions, tooltip information etc).

public  voiddrawDomainMarker(Graphics2D g2, ContourPlot plot, ValueAxis domainAxis, Marker marker, Rectangle2D dataArea)
     Draws a vertical line on the chart to represent a 'range marker'.
protected  voiddrawHorizontalLine(Graphics2D g2, Rectangle2D dataArea, double value, Stroke stroke, Paint paint)
     Utility method for drawing a crosshair on the chart (if required).
public  voiddrawRangeMarker(Graphics2D g2, ContourPlot plot, ValueAxis rangeAxis, Marker marker, Rectangle2D dataArea)
     Draws a horizontal line across the chart to represent a 'range marker'.
protected  voiddrawVerticalLine(Graphics2D g2, Rectangle2D dataArea, double value, Stroke stroke, Paint paint)
     Utility method for drawing a crosshair on the chart (if required).
public  ClipPathgetClipPath()
     Returns the clipPath.
public  ColorBargetColorBar()
     Returns the colorbar.
public  RectangleEdgegetColorBarLocation()
     Returns the color bar location.
public  RangegetContourDataRange()
     Returns the range for the Contours.
public  doublegetDataAreaRatio()
     Returns the data area ratio.
public  RangegetDataRange(ValueAxis axis)
     Returns the range for an axis.
Parameters:
  axis - the axis.
public  ContourDatasetgetDataset()
     Returns the primary dataset for the plot.
public  ValueAxisgetDomainAxis()
     Returns the domain axis for the plot.
public  PaintgetDomainCrosshairPaint()
     Returns the domain crosshair color.
public  StrokegetDomainCrosshairStroke()
     Returns the Stroke used to draw the crosshair (if visible).
public  doublegetDomainCrosshairValue()
     Returns the domain crosshair value.
public  PaintgetMissingPaint()
     Returns the missingPaint.
public  StringgetPlotType()
     Returns the plot type as a string.
public  doublegetPtSizePct()
     Returns the ptSizePct.
public  ValueAxisgetRangeAxis()
     Returns the range axis for the plot.
public  PaintgetRangeCrosshairPaint()
     Returns the range crosshair color.
public  StrokegetRangeCrosshairStroke()
     Returns the Stroke used to draw the crosshair (if visible).
public  doublegetRangeCrosshairValue()
     Returns the range crosshair value.
public  ContourToolTipGeneratorgetToolTipGenerator()
     Returns the tool tip generator.
public  XYURLGeneratorgetURLGenerator()
     Returns the URL generator for HTML image maps.
public  voidhandleClick(int x, int y, PlotRenderingInfo info)
     Handles a 'click' on the plot by updating the anchor values...
public  booleanisCompatibleDomainAxis(ValueAxis axis)
     Checks the compatibility of a domain axis, returning true if the axis is compatible with the plot, and false otherwise.
Parameters:
  axis - The proposed axis.
public  booleanisDomainCrosshairLockedOnData()
     Returns a flag indicating whether or not the crosshair should "lock-on" to actual data values.
public  booleanisDomainCrosshairVisible()
     Returns a flag indicating whether or not the domain crosshair is visible.
public  booleanisDomainZoomable()
     Returns false.
public  booleanisRangeCrosshairLockedOnData()
     Returns a flag indicating whether or not the crosshair should "lock-on" to actual data values.
public  booleanisRangeCrosshairVisible()
     Returns a flag indicating whether or not the range crosshair is visible.
public  booleanisRangeZoomable()
     Returns false.
public  booleanisRenderAsPoints()
     Returns the renderAsPoints.
public  voidpointRenderer(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, ContourPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, ColorBar colorBar, ContourDataset data, CrosshairState crosshairState)
     Draws the visual representation of a single data item.
public  voidpropertyChange(PropertyChangeEvent event)
     Notifies all registered listeners of a property change.
public  voidrender(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, CrosshairState crosshairState)
     Draws a representation of the data within the dataArea region, using the current renderer.
public  voidsetClipPath(ClipPath clipPath)
     Sets the clipPath.
public  voidsetColorBarAxis(ColorBar axis)
     Sets the colorbar for the plot.
public  voidsetColorBarLocation(RectangleEdge edge)
     Sets the color bar location and sends a PlotChangeEvent to all registered listeners.
public  voidsetDataAreaRatio(double ratio)
     Sets the data area ratio.
public  voidsetDataset(ContourDataset dataset)
     Sets the dataset for the plot, replacing the existing dataset if there is one.
public  voidsetDomainAxis(ValueAxis axis)
     Sets the domain axis for the plot (this must be compatible with the plot type or an exception is thrown).
public  voidsetDomainCrosshairLockedOnData(boolean flag)
     Sets the flag indicating whether or not the domain crosshair should "lock-on" to actual data values.
public  voidsetDomainCrosshairPaint(Paint paint)
     Sets the Paint used to color the crosshairs (if visible) and notifies registered listeners that the axis has been modified.
public  voidsetDomainCrosshairStroke(Stroke stroke)
     Sets the Stroke used to draw the crosshairs (if visible) and notifies registered listeners that the axis has been modified.
public  voidsetDomainCrosshairValue(double value)
     Sets the domain crosshair value.
public  voidsetDomainCrosshairValue(double value, boolean notify)
     Sets the domain crosshair value.
public  voidsetDomainCrosshairVisible(boolean flag)
     Sets the flag indicating whether or not the domain crosshair is visible.
public  voidsetMissingPaint(Paint paint)
     Sets the missingPaint.
public  voidsetPtSizePct(double ptSizePct)
     Sets the ptSizePct.
public  voidsetRangeAxis(ValueAxis axis)
     Sets the range axis for the plot.
public  voidsetRangeCrosshairLockedOnData(boolean flag)
     Sets the flag indicating whether or not the range crosshair should "lock-on" to actual data values.
public  voidsetRangeCrosshairPaint(Paint paint)
     Sets the Paint used to color the crosshairs (if visible) and notifies registered listeners that the axis has been modified.
public  voidsetRangeCrosshairStroke(Stroke stroke)
     Sets the Stroke used to draw the crosshairs (if visible) and notifies registered listeners that the axis has been modified.
public  voidsetRangeCrosshairValue(double value)
     Sets the domain crosshair value.
public  voidsetRangeCrosshairValue(double value, boolean notify)
     Sets the range crosshair value.
public  voidsetRangeCrosshairVisible(boolean flag)
     Sets the flag indicating whether or not the range crosshair is visible.
public  voidsetRenderAsPoints(boolean renderAsPoints)
     Sets the renderAsPoints.
public  voidsetToolTipGenerator(ContourToolTipGenerator generator)
     Sets the tool tip generator.
public  voidsetURLGenerator(XYURLGenerator urlGenerator)
     Sets the URL generator for HTML image maps.
public  RangevisibleRange(ContourDataset data, Range x, Range y)
     Returns the visible z-range.
Parameters:
  data - the dataset.
Parameters:
  x - the x range.
Parameters:
  y - the y range.
public  voidzoom(double percent)
     Zooms the axis ranges by the specified percentage about the anchor point.
public  voidzoomDomainAxes(double x, double y, double factor)
     Multiplies the range on the domain axis/axes by the specified factor (to be implemented).
public  voidzoomDomainAxes(double x, double y, double lowerPercent, double upperPercent)
     Zooms the domain axes (not yet implemented).
public  voidzoomRangeAxes(double x, double y, double factor)
     Multiplies the range on the range axis/axes by the specified factor.
public  voidzoomRangeAxes(double x, double y, double lowerPercent, double upperPercent)
     Zooms the range axes (not yet implemented).

Field Detail
DEFAULT_INSETS
final protected static RectangleInsets DEFAULT_INSETS(Code)
The default insets.



localizationResources
protected static ResourceBundle localizationResources(Code)
The resourceBundle for the localization.




Constructor Detail
ContourPlot
public ContourPlot()(Code)
Creates a new plot with no dataset or axes.



ContourPlot
public ContourPlot(ContourDataset dataset, ValueAxis domainAxis, ValueAxis rangeAxis, ColorBar colorBar)(Code)
Constructs a contour plot with the specified axes (other attributes take default values).
Parameters:
  dataset - The dataset.
Parameters:
  domainAxis - The domain axis.
Parameters:
  rangeAxis - The range axis.
Parameters:
  colorBar - The z-axis axis.




Method Detail
addAnnotation
public void addAnnotation(XYAnnotation annotation)(Code)
Adds an annotation to the plot.
Parameters:
  annotation - the annotation.



addDomainMarker
public void addDomainMarker(Marker marker)(Code)
Adds a marker for the domain axis.

Typically a marker will be drawn by the renderer as a line perpendicular to the range axis, however this is entirely up to the renderer.
Parameters:
  marker - the marker.




addRangeMarker
public void addRangeMarker(Marker marker)(Code)
Adds a marker for the range axis.

Typically a marker will be drawn by the renderer as a line perpendicular to the range axis, however this is entirely up to the renderer.
Parameters:
  marker - The marker.




axisChanged
public void axisChanged(AxisChangeEvent event)(Code)
Receives notification of a change to one of the plot's axes.
Parameters:
  event - information about the event.



clearAnnotations
public void clearAnnotations()(Code)
Clears all the annotations.



clearDomainMarkers
public void clearDomainMarkers()(Code)
Clears all the domain markers.



clearRangeMarkers
public void clearRangeMarkers()(Code)
Clears all the range markers.



clone
public Object clone() throws CloneNotSupportedException(Code)
Extends plot cloning to this plot type
See Also:   org.jfree.chart.plot.Plot.clone



contourRenderer
public void contourRenderer(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, ContourPlot plot, ValueAxis horizontalAxis, ValueAxis verticalAxis, ColorBar colorBar, ContourDataset data, CrosshairState crosshairState)(Code)
Fills the plot.
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the area within which the data is being drawn.
Parameters:
  info - collects information about the drawing.
Parameters:
  plot - the plot (can be used to obtain standard color information etc).
Parameters:
  horizontalAxis - the domain (horizontal) axis.
Parameters:
  verticalAxis - the range (vertical) axis.
Parameters:
  colorBar - the color bar axis.
Parameters:
  data - the dataset.
Parameters:
  crosshairState - information about crosshairs on a plot.



datasetChanged
public void datasetChanged(DatasetChangeEvent event)(Code)
Receives notification of a change to the plot's dataset.

The chart reacts by passing on a chart change event to all registered listeners.
Parameters:
  event - Information about the event (not used here).




draw
public void draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info)(Code)
Draws the plot on a Java 2D graphics device (such as the screen or a printer).

The optional info argument collects information about the rendering of the plot (dimensions, tooltip information etc). Just pass in null if you do not need this information.
Parameters:
  g2 - the graphics device.
Parameters:
  area - the area within which the plot (including axis labels)should be drawn.
Parameters:
  anchor - the anchor point (null permitted).
Parameters:
  parentState - the state from the parent plot, if there is one.
Parameters:
  info - collects chart drawing information (null permitted).




drawDomainMarker
public void drawDomainMarker(Graphics2D g2, ContourPlot plot, ValueAxis domainAxis, Marker marker, Rectangle2D dataArea)(Code)
Draws a vertical line on the chart to represent a 'range marker'.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  domainAxis - the domain axis.
Parameters:
  marker - the marker line.
Parameters:
  dataArea - the axis data area.



drawHorizontalLine
protected void drawHorizontalLine(Graphics2D g2, Rectangle2D dataArea, double value, Stroke stroke, Paint paint)(Code)
Utility method for drawing a crosshair on the chart (if required).
Parameters:
  g2 - The graphics device.
Parameters:
  dataArea - The data area.
Parameters:
  value - The coordinate, where to draw the line.
Parameters:
  stroke - The stroke to use.
Parameters:
  paint - The paint to use.



drawRangeMarker
public void drawRangeMarker(Graphics2D g2, ContourPlot plot, ValueAxis rangeAxis, Marker marker, Rectangle2D dataArea)(Code)
Draws a horizontal line across the chart to represent a 'range marker'.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  rangeAxis - the range axis.
Parameters:
  marker - the marker line.
Parameters:
  dataArea - the axis data area.



drawVerticalLine
protected void drawVerticalLine(Graphics2D g2, Rectangle2D dataArea, double value, Stroke stroke, Paint paint)(Code)
Utility method for drawing a crosshair on the chart (if required).
Parameters:
  g2 - The graphics device.
Parameters:
  dataArea - The data area.
Parameters:
  value - The coordinate, where to draw the line.
Parameters:
  stroke - The stroke to use.
Parameters:
  paint - The paint to use.



getClipPath
public ClipPath getClipPath()(Code)
Returns the clipPath. ClipPath



getColorBar
public ColorBar getColorBar()(Code)
Returns the colorbar. The colorbar.



getColorBarLocation
public RectangleEdge getColorBarLocation()(Code)
Returns the color bar location. The color bar location.



getContourDataRange
public Range getContourDataRange()(Code)
Returns the range for the Contours. The range for the Contours (z-axis).



getDataAreaRatio
public double getDataAreaRatio()(Code)
Returns the data area ratio. The ratio.



getDataRange
public Range getDataRange(ValueAxis axis)(Code)
Returns the range for an axis.
Parameters:
  axis - the axis. The range for an axis.



getDataset
public ContourDataset getDataset()(Code)
Returns the primary dataset for the plot. The primary dataset (possibly null).



getDomainAxis
public ValueAxis getDomainAxis()(Code)
Returns the domain axis for the plot. The domain axis.



getDomainCrosshairPaint
public Paint getDomainCrosshairPaint()(Code)
Returns the domain crosshair color. The crosshair color.



getDomainCrosshairStroke
public Stroke getDomainCrosshairStroke()(Code)
Returns the Stroke used to draw the crosshair (if visible). The crosshair stroke.



getDomainCrosshairValue
public double getDomainCrosshairValue()(Code)
Returns the domain crosshair value. The value.



getMissingPaint
public Paint getMissingPaint()(Code)
Returns the missingPaint. Paint



getPlotType
public String getPlotType()(Code)
Returns the plot type as a string. A short string describing the type of plot.



getPtSizePct
public double getPtSizePct()(Code)
Returns the ptSizePct. double



getRangeAxis
public ValueAxis getRangeAxis()(Code)
Returns the range axis for the plot. The range axis.



getRangeCrosshairPaint
public Paint getRangeCrosshairPaint()(Code)
Returns the range crosshair color. The crosshair color.



getRangeCrosshairStroke
public Stroke getRangeCrosshairStroke()(Code)
Returns the Stroke used to draw the crosshair (if visible). The crosshair stroke.



getRangeCrosshairValue
public double getRangeCrosshairValue()(Code)
Returns the range crosshair value. The value.



getToolTipGenerator
public ContourToolTipGenerator getToolTipGenerator()(Code)
Returns the tool tip generator. The tool tip generator (possibly null).



getURLGenerator
public XYURLGenerator getURLGenerator()(Code)
Returns the URL generator for HTML image maps. The URL generator (possibly null).



handleClick
public void handleClick(int x, int y, PlotRenderingInfo info)(Code)
Handles a 'click' on the plot by updating the anchor values...
Parameters:
  x - x-coordinate, where the click occured.
Parameters:
  y - y-coordinate, where the click occured.
Parameters:
  info - An object for collection dimension information.



isCompatibleDomainAxis
public boolean isCompatibleDomainAxis(ValueAxis axis)(Code)
Checks the compatibility of a domain axis, returning true if the axis is compatible with the plot, and false otherwise.
Parameters:
  axis - The proposed axis. true if the axis is compatible with the plot.



isDomainCrosshairLockedOnData
public boolean isDomainCrosshairLockedOnData()(Code)
Returns a flag indicating whether or not the crosshair should "lock-on" to actual data values. The flag.



isDomainCrosshairVisible
public boolean isDomainCrosshairVisible()(Code)
Returns a flag indicating whether or not the domain crosshair is visible. The flag.



isDomainZoomable
public boolean isDomainZoomable()(Code)
Returns false. A boolean.



isRangeCrosshairLockedOnData
public boolean isRangeCrosshairLockedOnData()(Code)
Returns a flag indicating whether or not the crosshair should "lock-on" to actual data values. The flag.



isRangeCrosshairVisible
public boolean isRangeCrosshairVisible()(Code)
Returns a flag indicating whether or not the range crosshair is visible. The flag.



isRangeZoomable
public boolean isRangeZoomable()(Code)
Returns false. A boolean.



isRenderAsPoints
public boolean isRenderAsPoints()(Code)
Returns the renderAsPoints. boolean



pointRenderer
public void pointRenderer(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, ContourPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, ColorBar colorBar, ContourDataset data, CrosshairState crosshairState)(Code)
Draws the visual representation of a single data item.
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the area within which the data is being drawn.
Parameters:
  info - collects information about the drawing.
Parameters:
  plot - the plot (can be used to obtain standard color information etc).
Parameters:
  domainAxis - the domain (horizontal) axis.
Parameters:
  rangeAxis - the range (vertical) axis.
Parameters:
  colorBar - the color bar axis.
Parameters:
  data - the dataset.
Parameters:
  crosshairState - information about crosshairs on a plot.



propertyChange
public void propertyChange(PropertyChangeEvent event)(Code)
Notifies all registered listeners of a property change.

One source of property change events is the plot's renderer.
Parameters:
  event - Information about the property change.




render
public void render(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, CrosshairState crosshairState)(Code)
Draws a representation of the data within the dataArea region, using the current renderer.

The info and crosshairState arguments may be null.
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the region in which the data is to be drawn.
Parameters:
  info - an optional object for collection dimension information.
Parameters:
  crosshairState - an optional object for collecting crosshair info.




setClipPath
public void setClipPath(ClipPath clipPath)(Code)
Sets the clipPath.
Parameters:
  clipPath - The clipPath to set



setColorBarAxis
public void setColorBarAxis(ColorBar axis)(Code)
Sets the colorbar for the plot.
Parameters:
  axis - The new axis (null permitted).



setColorBarLocation
public void setColorBarLocation(RectangleEdge edge)(Code)
Sets the color bar location and sends a PlotChangeEvent to all registered listeners.
Parameters:
  edge - the location.



setDataAreaRatio
public void setDataAreaRatio(double ratio)(Code)
Sets the data area ratio.
Parameters:
  ratio - the ratio.



setDataset
public void setDataset(ContourDataset dataset)(Code)
Sets the dataset for the plot, replacing the existing dataset if there is one.
Parameters:
  dataset - the dataset (null permitted).



setDomainAxis
public void setDomainAxis(ValueAxis axis)(Code)
Sets the domain axis for the plot (this must be compatible with the plot type or an exception is thrown).
Parameters:
  axis - The new axis.



setDomainCrosshairLockedOnData
public void setDomainCrosshairLockedOnData(boolean flag)(Code)
Sets the flag indicating whether or not the domain crosshair should "lock-on" to actual data values.
Parameters:
  flag - the flag.



setDomainCrosshairPaint
public void setDomainCrosshairPaint(Paint paint)(Code)
Sets the Paint used to color the crosshairs (if visible) and notifies registered listeners that the axis has been modified.
Parameters:
  paint - the new crosshair paint.



setDomainCrosshairStroke
public void setDomainCrosshairStroke(Stroke stroke)(Code)
Sets the Stroke used to draw the crosshairs (if visible) and notifies registered listeners that the axis has been modified.
Parameters:
  stroke - the new crosshair stroke.



setDomainCrosshairValue
public void setDomainCrosshairValue(double value)(Code)
Sets the domain crosshair value.

Registered listeners are notified that the plot has been modified, but only if the crosshair is visible.
Parameters:
  value - the new value.




setDomainCrosshairValue
public void setDomainCrosshairValue(double value, boolean notify)(Code)
Sets the domain crosshair value.

Registered listeners are notified that the axis has been modified, but only if the crosshair is visible.
Parameters:
  value - the new value.
Parameters:
  notify - a flag that controls whether or not listeners are notified.




setDomainCrosshairVisible
public void setDomainCrosshairVisible(boolean flag)(Code)
Sets the flag indicating whether or not the domain crosshair is visible.
Parameters:
  flag - the new value of the flag.



setMissingPaint
public void setMissingPaint(Paint paint)(Code)
Sets the missingPaint.
Parameters:
  paint - the missingPaint to set.



setPtSizePct
public void setPtSizePct(double ptSizePct)(Code)
Sets the ptSizePct.
Parameters:
  ptSizePct - The ptSizePct to set



setRangeAxis
public void setRangeAxis(ValueAxis axis)(Code)
Sets the range axis for the plot.

An exception is thrown if the new axis and the plot are not mutually compatible.
Parameters:
  axis - The new axis (null permitted).




setRangeCrosshairLockedOnData
public void setRangeCrosshairLockedOnData(boolean flag)(Code)
Sets the flag indicating whether or not the range crosshair should "lock-on" to actual data values.
Parameters:
  flag - the flag.



setRangeCrosshairPaint
public void setRangeCrosshairPaint(Paint paint)(Code)
Sets the Paint used to color the crosshairs (if visible) and notifies registered listeners that the axis has been modified.
Parameters:
  paint - the new crosshair paint.



setRangeCrosshairStroke
public void setRangeCrosshairStroke(Stroke stroke)(Code)
Sets the Stroke used to draw the crosshairs (if visible) and notifies registered listeners that the axis has been modified.
Parameters:
  stroke - the new crosshair stroke.



setRangeCrosshairValue
public void setRangeCrosshairValue(double value)(Code)
Sets the domain crosshair value.

Registered listeners are notified that the plot has been modified, but only if the crosshair is visible.
Parameters:
  value - the new value.




setRangeCrosshairValue
public void setRangeCrosshairValue(double value, boolean notify)(Code)
Sets the range crosshair value.

Registered listeners are notified that the axis has been modified, but only if the crosshair is visible.
Parameters:
  value - the new value.
Parameters:
  notify - a flag that controls whether or not listeners are notified.




setRangeCrosshairVisible
public void setRangeCrosshairVisible(boolean flag)(Code)
Sets the flag indicating whether or not the range crosshair is visible.
Parameters:
  flag - the new value of the flag.



setRenderAsPoints
public void setRenderAsPoints(boolean renderAsPoints)(Code)
Sets the renderAsPoints.
Parameters:
  renderAsPoints - The renderAsPoints to set



setToolTipGenerator
public void setToolTipGenerator(ContourToolTipGenerator generator)(Code)
Sets the tool tip generator.
Parameters:
  generator - the tool tip generator (null permitted).



setURLGenerator
public void setURLGenerator(XYURLGenerator urlGenerator)(Code)
Sets the URL generator for HTML image maps.
Parameters:
  urlGenerator - the URL generator (null permitted).



visibleRange
public Range visibleRange(ContourDataset data, Range x, Range y)(Code)
Returns the visible z-range.
Parameters:
  data - the dataset.
Parameters:
  x - the x range.
Parameters:
  y - the y range. The range.



zoom
public void zoom(double percent)(Code)
Zooms the axis ranges by the specified percentage about the anchor point.
Parameters:
  percent - The amount of the zoom.



zoomDomainAxes
public void zoomDomainAxes(double x, double y, double factor)(Code)
Multiplies the range on the domain axis/axes by the specified factor (to be implemented).
Parameters:
  x - the x-coordinate (in Java2D space).
Parameters:
  y - the y-coordinate (in Java2D space).
Parameters:
  factor - the zoom factor.



zoomDomainAxes
public void zoomDomainAxes(double x, double y, double lowerPercent, double upperPercent)(Code)
Zooms the domain axes (not yet implemented).
Parameters:
  x - the x-coordinate (in Java2D space).
Parameters:
  y - the y-coordinate (in Java2D space).
Parameters:
  lowerPercent - the new lower bound.
Parameters:
  upperPercent - the new upper bound.



zoomRangeAxes
public void zoomRangeAxes(double x, double y, double factor)(Code)
Multiplies the range on the range axis/axes by the specified factor.
Parameters:
  x - the x-coordinate (in Java2D space).
Parameters:
  y - the y-coordinate (in Java2D space).
Parameters:
  factor - the zoom factor.



zoomRangeAxes
public void zoomRangeAxes(double x, double y, double lowerPercent, double upperPercent)(Code)
Zooms the range axes (not yet implemented).
Parameters:
  x - the x-coordinate (in Java2D space).
Parameters:
  y - the y-coordinate (in Java2D space).
Parameters:
  lowerPercent - the new lower bound.
Parameters:
  upperPercent - the new upper bound.



Fields inherited from org.jfree.chart.plot.Plot
final public static float DEFAULT_BACKGROUND_ALPHA(Code)(Java Doc)
final public static Paint DEFAULT_BACKGROUND_PAINT(Code)(Java Doc)
final public static float DEFAULT_FOREGROUND_ALPHA(Code)(Java Doc)
final public static RectangleInsets DEFAULT_INSETS(Code)(Java Doc)
final public static Shape DEFAULT_LEGEND_ITEM_BOX(Code)(Java Doc)
final public static Shape DEFAULT_LEGEND_ITEM_CIRCLE(Code)(Java Doc)
final public static Paint DEFAULT_OUTLINE_PAINT(Code)(Java Doc)
final public static Stroke DEFAULT_OUTLINE_STROKE(Code)(Java Doc)
final public static int MINIMUM_HEIGHT_TO_DRAW(Code)(Java Doc)
final public static int MINIMUM_WIDTH_TO_DRAW(Code)(Java Doc)
final public static Number ZERO(Code)(Java Doc)

Methods inherited from org.jfree.chart.plot.Plot
public void addChangeListener(PlotChangeListener listener)(Code)(Java Doc)
public void axisChanged(AxisChangeEvent event)(Code)(Java Doc)
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public void datasetChanged(DatasetChangeEvent event)(Code)(Java Doc)
abstract public void draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info)(Code)(Java Doc)
public void drawBackground(Graphics2D g2, Rectangle2D area)(Code)(Java Doc)
public void drawBackgroundImage(Graphics2D g2, Rectangle2D area)(Code)(Java Doc)
protected void drawNoDataMessage(Graphics2D g2, Rectangle2D area)(Code)(Java Doc)
public void drawOutline(Graphics2D g2, Rectangle2D area)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void fillBackground(Graphics2D g2, Rectangle2D area)(Code)(Java Doc)
protected void fillBackground(Graphics2D g2, Rectangle2D area, PlotOrientation orientation)(Code)(Java Doc)
public float getBackgroundAlpha()(Code)(Java Doc)
public Image getBackgroundImage()(Code)(Java Doc)
public int getBackgroundImageAlignment()(Code)(Java Doc)
public float getBackgroundImageAlpha()(Code)(Java Doc)
public Paint getBackgroundPaint()(Code)(Java Doc)
public DatasetGroup getDatasetGroup()(Code)(Java Doc)
public DrawingSupplier getDrawingSupplier()(Code)(Java Doc)
public float getForegroundAlpha()(Code)(Java Doc)
public RectangleInsets getInsets()(Code)(Java Doc)
public LegendItemCollection getLegendItems()(Code)(Java Doc)
public String getNoDataMessage()(Code)(Java Doc)
public Font getNoDataMessageFont()(Code)(Java Doc)
public Paint getNoDataMessagePaint()(Code)(Java Doc)
public Paint getOutlinePaint()(Code)(Java Doc)
public Stroke getOutlineStroke()(Code)(Java Doc)
public Plot getParent()(Code)(Java Doc)
abstract public String getPlotType()(Code)(Java Doc)
protected double getRectX(double x, double w1, double w2, RectangleEdge edge)(Code)(Java Doc)
protected double getRectY(double y, double h1, double h2, RectangleEdge edge)(Code)(Java Doc)
public Plot getRootPlot()(Code)(Java Doc)
public void handleClick(int x, int y, PlotRenderingInfo info)(Code)(Java Doc)
public boolean isOutlineVisible()(Code)(Java Doc)
public boolean isSubplot()(Code)(Java Doc)
public void markerChanged(MarkerChangeEvent event)(Code)(Java Doc)
public void notifyListeners(PlotChangeEvent event)(Code)(Java Doc)
public void removeChangeListener(PlotChangeListener listener)(Code)(Java Doc)
public static RectangleEdge resolveDomainAxisLocation(AxisLocation location, PlotOrientation orientation)(Code)(Java Doc)
public static RectangleEdge resolveRangeAxisLocation(AxisLocation location, PlotOrientation orientation)(Code)(Java Doc)
public void setBackgroundAlpha(float alpha)(Code)(Java Doc)
public void setBackgroundImage(Image image)(Code)(Java Doc)
public void setBackgroundImageAlignment(int alignment)(Code)(Java Doc)
public void setBackgroundImageAlpha(float alpha)(Code)(Java Doc)
public void setBackgroundPaint(Paint paint)(Code)(Java Doc)
protected void setDatasetGroup(DatasetGroup group)(Code)(Java Doc)
public void setDrawingSupplier(DrawingSupplier supplier)(Code)(Java Doc)
public void setForegroundAlpha(float alpha)(Code)(Java Doc)
public void setInsets(RectangleInsets insets)(Code)(Java Doc)
public void setInsets(RectangleInsets insets, boolean notify)(Code)(Java Doc)
public void setNoDataMessage(String message)(Code)(Java Doc)
public void setNoDataMessageFont(Font font)(Code)(Java Doc)
public void setNoDataMessagePaint(Paint paint)(Code)(Java Doc)
public void setOutlinePaint(Paint paint)(Code)(Java Doc)
public void setOutlineStroke(Stroke stroke)(Code)(Java Doc)
public void setOutlineVisible(boolean visible)(Code)(Java Doc)
public void setParent(Plot parent)(Code)(Java Doc)
public void zoom(double percent)(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.