Java Doc for SpiderWebPlot.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.SpiderWebPlot

SpiderWebPlot
public class SpiderWebPlot extends Plot implements Cloneable,Serializable(Code)
A plot that displays data from a CategoryDataset in the form of a "spider web". Multiple series can be plotted on the same axis to allow easy comparison. This plot doesn't support negative values at present.


Field Summary
final public static  doubleDEFAULT_AXIS_LABEL_GAP
     The default axis label gap (currently 10%).
final public static  doubleDEFAULT_HEAD
     The default head radius percent (currently 1%).
final public static  doubleDEFAULT_INTERIOR_GAP
     The default interior gap.
final public static  PaintDEFAULT_LABEL_BACKGROUND_PAINT
     The default series label background paint.
final public static  FontDEFAULT_LABEL_FONT
     The default series label font.
final public static  PaintDEFAULT_LABEL_OUTLINE_PAINT
     The default series label outline paint.
final public static  StrokeDEFAULT_LABEL_OUTLINE_STROKE
     The default series label outline stroke.
final public static  PaintDEFAULT_LABEL_PAINT
     The default series label paint.
final public static  PaintDEFAULT_LABEL_SHADOW_PAINT
     The default series label shadow paint.
final public static  doubleDEFAULT_MAX_VALUE
    
final public static  doubleDEFAULT_START_ANGLE
     The default starting angle for the radar chart axes.
final public static  doubleMAX_INTERIOR_GAP
     The maximum interior gap (currently 40%).
protected  doubleheadPercent
     The head radius as a percentage of the available drawing area.

Constructor Summary
public  SpiderWebPlot()
     Creates a default plot with no dataset.
public  SpiderWebPlot(CategoryDataset dataset)
     Creates a new spider web plot with the given dataset, with each row representing a series.
public  SpiderWebPlot(CategoryDataset dataset, TableOrder extract)
     Creates a new spider web plot with the given dataset.

Method Summary
protected  Point2DcalculateLabelLocation(Rectangle2D labelBounds, double ascent, Rectangle2D plotArea, double startAngle)
     Returns the location for a label
Parameters:
  labelBounds - the label bounds.
Parameters:
  ascent - the ascent (height of font).
Parameters:
  plotArea - the plot area
Parameters:
  startAngle - the start angle for the pie series.
public  Objectclone()
     Returns a clone of this plot.
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).
protected  voiddrawLabel(Graphics2D g2, Rectangle2D plotArea, double value, int cat, double startAngle, double extent)
     Draws the label for one axis.
protected  voiddrawRadarPoly(Graphics2D g2, Rectangle2D plotArea, Point2D centre, PlotRenderingInfo info, int series, int catCount, double headH, double headW)
     Draws a radar plot polygon.
public  booleanequals(Object obj)
     Tests this plot for equality with an arbitrary object.
Parameters:
  obj - the object (null permitted).
public  doublegetAxisLabelGap()
     Returns the axis label gap.
public  PaintgetAxisLinePaint()
     Returns the paint used to draw the axis lines.
public  StrokegetAxisLineStroke()
     Returns the stroke used to draw the axis lines.
public  PaintgetBaseSeriesOutlinePaint()
     Returns the base series paint.
public  StrokegetBaseSeriesOutlineStroke()
     Returns the base series stroke.
public  PaintgetBaseSeriesPaint()
     Returns the base series paint.
public  TableOrdergetDataExtractOrder()
     Returns the data extract order (by row or by column).
public  CategoryDatasetgetDataset()
     Returns the dataset.
public  RotationgetDirection()
     Returns the direction in which the radar axes are drawn (clockwise or anti-clockwise).
public  doublegetHeadPercent()
     Returns the head percent.
public  doublegetInteriorGap()
     Returns the interior gap, measured as a percentage of the available drawing space.
public  FontgetLabelFont()
     Returns the series label font.
public  CategoryItemLabelGeneratorgetLabelGenerator()
     Returns the label generator.
public  PaintgetLabelPaint()
     Returns the series label paint.
public  ShapegetLegendItemShape()
     Returns the shape used for legend items.
public  LegendItemCollectiongetLegendItems()
     Returns a collection of legend items for the radar chart.
public  doublegetMaxValue()
     Returns the maximum value any category axis can take.
public  StringgetPlotType()
     Returns a short string describing the type of plot.
protected  NumbergetPlotValue(int series, int cat)
     Returns the value to be plotted at the interseries of the series and the category.
public  PaintgetSeriesOutlinePaint()
     Returns the outline paint for ALL series in the plot.
public  PaintgetSeriesOutlinePaint(int series)
     Returns the paint for the specified series.
Parameters:
  series - the series index (zero-based).
public  StrokegetSeriesOutlineStroke()
     Returns the outline stroke for ALL series in the plot.
public  StrokegetSeriesOutlineStroke(int series)
     Returns the stroke for the specified series.
Parameters:
  series - the series index (zero-based).
public  PaintgetSeriesPaint()
     Returns the paint for ALL series in the plot.
public  PaintgetSeriesPaint(int series)
     Returns the paint for the specified series.
Parameters:
  series - the series index (zero-based).
public  doublegetStartAngle()
     Returns the start angle for the first radar axis.
public  CategoryToolTipGeneratorgetToolTipGenerator()
     Returns the tool tip generator for the plot.
public  CategoryURLGeneratorgetURLGenerator()
     Returns the URL generator for the plot.
protected  Point2DgetWebPoint(Rectangle2D bounds, double angle, double length)
     Returns a cartesian point from a polar angle, length and bounding box
Parameters:
  bounds - the area inside which the point needs to be.
Parameters:
  angle - the polar angle, in degrees.
Parameters:
  length - the relative length.
public  booleanisWebFilled()
     Method to determine if the web chart is to be filled.
public  voidsetAxisLabelGap(double gap)
     Sets the axis label gap and sends a PlotChangeEvent to all registered listeners.
public  voidsetAxisLinePaint(Paint paint)
     Sets the paint used to draw the axis lines and sends a PlotChangeEvent to all registered listeners.
public  voidsetAxisLineStroke(Stroke stroke)
     Sets the stroke used to draw the axis lines and sends a PlotChangeEvent to all registered listeners.
public  voidsetBaseSeriesOutlinePaint(Paint paint)
     Sets the base series paint.
public  voidsetBaseSeriesOutlineStroke(Stroke stroke)
     Sets the base series stroke.
public  voidsetBaseSeriesPaint(Paint paint)
     Sets the base series paint.
public  voidsetDataExtractOrder(TableOrder order)
     Sets the data extract order (by row or by column) and sends a PlotChangeEvent to all registered listeners.
public  voidsetDataset(CategoryDataset dataset)
     Sets the dataset used by the plot and sends a PlotChangeEvent to all registered listeners.
public  voidsetDirection(Rotation direction)
     Sets the direction in which the radar axes are drawn and sends a PlotChangeEvent to all registered listeners.
public  voidsetHeadPercent(double percent)
     Sets the head percent and sends a PlotChangeEvent to all registered listeners.
public  voidsetInteriorGap(double percent)
     Sets the interior gap and sends a PlotChangeEvent to all registered listeners.
public  voidsetLabelFont(Font font)
     Sets the series label font and sends a PlotChangeEvent to all registered listeners.
public  voidsetLabelGenerator(CategoryItemLabelGenerator generator)
     Sets the label generator and sends a PlotChangeEvent to all registered listeners.
public  voidsetLabelPaint(Paint paint)
     Sets the series label paint and sends a PlotChangeEvent to all registered listeners.
public  voidsetLegendItemShape(Shape shape)
     Sets the shape used for legend items and sends a PlotChangeEvent to all registered listeners.
public  voidsetMaxValue(double value)
     Sets the maximum value any category axis can take and sends a PlotChangeEvent to all registered listeners.
public  voidsetSeriesOutlinePaint(Paint paint)
     Sets the outline paint for ALL series in the plot.
public  voidsetSeriesOutlinePaint(int series, Paint paint)
     Sets the paint used to fill a series of the radar and sends a PlotChangeEvent to all registered listeners.
public  voidsetSeriesOutlineStroke(Stroke stroke)
     Sets the outline stroke for ALL series in the plot.
public  voidsetSeriesOutlineStroke(int series, Stroke stroke)
     Sets the stroke used to fill a series of the radar and sends a PlotChangeEvent to all registered listeners.
public  voidsetSeriesPaint(Paint paint)
     Sets the paint for ALL series in the plot.
public  voidsetSeriesPaint(int series, Paint paint)
     Sets the paint used to fill a series of the radar and sends a PlotChangeEvent to all registered listeners.
public  voidsetStartAngle(double angle)
     Sets the starting angle and sends a PlotChangeEvent to all registered listeners.

The initial default value is 90 degrees, which corresponds to 12 o'clock. A value of zero corresponds to 3 o'clock...

public  voidsetToolTipGenerator(CategoryToolTipGenerator generator)
     Sets the tool tip generator for the plot and sends a PlotChangeEvent to all registered listeners.
public  voidsetURLGenerator(CategoryURLGenerator generator)
     Sets the URL generator for the plot and sends a PlotChangeEvent to all registered listeners.
public  voidsetWebFilled(boolean flag)
     Sets the webFilled flag and sends a PlotChangeEvent to all registered listeners.

Field Detail
DEFAULT_AXIS_LABEL_GAP
final public static double DEFAULT_AXIS_LABEL_GAP(Code)
The default axis label gap (currently 10%).



DEFAULT_HEAD
final public static double DEFAULT_HEAD(Code)
The default head radius percent (currently 1%).



DEFAULT_INTERIOR_GAP
final public static double DEFAULT_INTERIOR_GAP(Code)
The default interior gap.



DEFAULT_LABEL_BACKGROUND_PAINT
final public static Paint DEFAULT_LABEL_BACKGROUND_PAINT(Code)
The default series label background paint.



DEFAULT_LABEL_FONT
final public static Font DEFAULT_LABEL_FONT(Code)
The default series label font.



DEFAULT_LABEL_OUTLINE_PAINT
final public static Paint DEFAULT_LABEL_OUTLINE_PAINT(Code)
The default series label outline paint.



DEFAULT_LABEL_OUTLINE_STROKE
final public static Stroke DEFAULT_LABEL_OUTLINE_STROKE(Code)
The default series label outline stroke.



DEFAULT_LABEL_PAINT
final public static Paint DEFAULT_LABEL_PAINT(Code)
The default series label paint.



DEFAULT_LABEL_SHADOW_PAINT
final public static Paint DEFAULT_LABEL_SHADOW_PAINT(Code)
The default series label shadow paint.



DEFAULT_MAX_VALUE
final public static double DEFAULT_MAX_VALUE(Code)
The default maximum value plotted - forces the plot to evaluate the maximum from the data passed in



DEFAULT_START_ANGLE
final public static double DEFAULT_START_ANGLE(Code)
The default starting angle for the radar chart axes.



MAX_INTERIOR_GAP
final public static double MAX_INTERIOR_GAP(Code)
The maximum interior gap (currently 40%).



headPercent
protected double headPercent(Code)
The head radius as a percentage of the available drawing area.




Constructor Detail
SpiderWebPlot
public SpiderWebPlot()(Code)
Creates a default plot with no dataset.



SpiderWebPlot
public SpiderWebPlot(CategoryDataset dataset)(Code)
Creates a new spider web plot with the given dataset, with each row representing a series.
Parameters:
  dataset - the dataset (null permitted).



SpiderWebPlot
public SpiderWebPlot(CategoryDataset dataset, TableOrder extract)(Code)
Creates a new spider web plot with the given dataset.
Parameters:
  dataset - the dataset.
Parameters:
  extract - controls how data is extracted (TableOrder.BY_ROWor TableOrder.BY_COLUMN).




Method Detail
calculateLabelLocation
protected Point2D calculateLabelLocation(Rectangle2D labelBounds, double ascent, Rectangle2D plotArea, double startAngle)(Code)
Returns the location for a label
Parameters:
  labelBounds - the label bounds.
Parameters:
  ascent - the ascent (height of font).
Parameters:
  plotArea - the plot area
Parameters:
  startAngle - the start angle for the pie series. The location for a label.



clone
public Object clone() throws CloneNotSupportedException(Code)
Returns a clone of this plot. A clone of this plot.
throws:
  CloneNotSupportedException - if the plot cannot be cloned for any reason.



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).
Parameters:
  g2 - the graphics device.
Parameters:
  area - the area within which the plot 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 info about the drawing.



drawLabel
protected void drawLabel(Graphics2D g2, Rectangle2D plotArea, double value, int cat, double startAngle, double extent)(Code)
Draws the label for one axis.
Parameters:
  g2 - the graphics device.
Parameters:
  plotArea - the plot area
Parameters:
  value - the value of the label (ignored).
Parameters:
  cat - the category (zero-based index).
Parameters:
  startAngle - the starting angle.
Parameters:
  extent - the extent of the arc.



drawRadarPoly
protected void drawRadarPoly(Graphics2D g2, Rectangle2D plotArea, Point2D centre, PlotRenderingInfo info, int series, int catCount, double headH, double headW)(Code)
Draws a radar plot polygon.
Parameters:
  g2 - the graphics device.
Parameters:
  plotArea - the area we are plotting in (already adjusted).
Parameters:
  centre - the centre point of the radar axes
Parameters:
  info - chart rendering info.
Parameters:
  series - the series within the dataset we are plotting
Parameters:
  catCount - the number of categories per radar plot
Parameters:
  headH - the data point height
Parameters:
  headW - the data point width



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



getAxisLabelGap
public double getAxisLabelGap()(Code)
Returns the axis label gap. The axis label gap.
See Also:   SpiderWebPlot.setAxisLabelGap(double)



getAxisLinePaint
public Paint getAxisLinePaint()(Code)
Returns the paint used to draw the axis lines. The paint used to draw the axis lines (never null).
See Also:   SpiderWebPlot.setAxisLinePaint(Paint)
See Also:   SpiderWebPlot.getAxisLineStroke()
since:
   1.0.4



getAxisLineStroke
public Stroke getAxisLineStroke()(Code)
Returns the stroke used to draw the axis lines. The stroke used to draw the axis lines (never null).
See Also:   SpiderWebPlot.setAxisLineStroke(Stroke)
See Also:   SpiderWebPlot.getAxisLinePaint()
since:
   1.0.4



getBaseSeriesOutlinePaint
public Paint getBaseSeriesOutlinePaint()(Code)
Returns the base series paint. This is used when no other paint is available. The paint (never null).



getBaseSeriesOutlineStroke
public Stroke getBaseSeriesOutlineStroke()(Code)
Returns the base series stroke. This is used when no other stroke is available. The stroke (never null).



getBaseSeriesPaint
public Paint getBaseSeriesPaint()(Code)
Returns the base series paint. This is used when no other paint is available. The paint (never null).
See Also:   SpiderWebPlot.setBaseSeriesPaint(Paint)



getDataExtractOrder
public TableOrder getDataExtractOrder()(Code)
Returns the data extract order (by row or by column). The data extract order (never null).
See Also:   SpiderWebPlot.setDataExtractOrder(TableOrder)



getDataset
public CategoryDataset getDataset()(Code)
Returns the dataset. The dataset (possibly null).
See Also:   SpiderWebPlot.setDataset(CategoryDataset)



getDirection
public Rotation getDirection()(Code)
Returns the direction in which the radar axes are drawn (clockwise or anti-clockwise). The direction (never null).
See Also:   SpiderWebPlot.setDirection(Rotation)



getHeadPercent
public double getHeadPercent()(Code)
Returns the head percent. The head percent.
See Also:   SpiderWebPlot.setHeadPercent(double)



getInteriorGap
public double getInteriorGap()(Code)
Returns the interior gap, measured as a percentage of the available drawing space. The gap (as a percentage of the available drawing space).
See Also:   SpiderWebPlot.setInteriorGap(double)



getLabelFont
public Font getLabelFont()(Code)
Returns the series label font. The font (never null).
See Also:   SpiderWebPlot.setLabelFont(Font)



getLabelGenerator
public CategoryItemLabelGenerator getLabelGenerator()(Code)
Returns the label generator. The label generator (never null).
See Also:   SpiderWebPlot.setLabelGenerator(CategoryItemLabelGenerator)



getLabelPaint
public Paint getLabelPaint()(Code)
Returns the series label paint. The paint (never null).
See Also:   SpiderWebPlot.setLabelPaint(Paint)



getLegendItemShape
public Shape getLegendItemShape()(Code)
Returns the shape used for legend items. The shape (never null).
See Also:   SpiderWebPlot.setLegendItemShape(Shape)



getLegendItems
public LegendItemCollection getLegendItems()(Code)
Returns a collection of legend items for the radar chart. The legend items.



getMaxValue
public double getMaxValue()(Code)
Returns the maximum value any category axis can take. The maximum value.
See Also:   SpiderWebPlot.setMaxValue(double)



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



getPlotValue
protected Number getPlotValue(int series, int cat)(Code)
Returns the value to be plotted at the interseries of the series and the category. This allows us to plot BY_ROW or BY_COLUMN which basically is just reversing the definition of the categories and data series being plotted.
Parameters:
  series - the series to be plotted.
Parameters:
  cat - the category within the series to be plotted. The value to be plotted (possibly null).
See Also:   SpiderWebPlot.getDataExtractOrder()



getSeriesOutlinePaint
public Paint getSeriesOutlinePaint()(Code)
Returns the outline paint for ALL series in the plot. The paint (possibly null).



getSeriesOutlinePaint
public Paint getSeriesOutlinePaint(int series)(Code)
Returns the paint for the specified series.
Parameters:
  series - the series index (zero-based). The paint (never null).



getSeriesOutlineStroke
public Stroke getSeriesOutlineStroke()(Code)
Returns the outline stroke for ALL series in the plot. The stroke (possibly null).



getSeriesOutlineStroke
public Stroke getSeriesOutlineStroke(int series)(Code)
Returns the stroke for the specified series.
Parameters:
  series - the series index (zero-based). The stroke (never null).



getSeriesPaint
public Paint getSeriesPaint()(Code)
Returns the paint for ALL series in the plot. The paint (possibly null).
See Also:   SpiderWebPlot.setSeriesPaint(Paint)



getSeriesPaint
public Paint getSeriesPaint(int series)(Code)
Returns the paint for the specified series.
Parameters:
  series - the series index (zero-based). The paint (never null).
See Also:   SpiderWebPlot.setSeriesPaint(int,Paint)



getStartAngle
public double getStartAngle()(Code)
Returns the start angle for the first radar axis.
This is measured in degrees starting from 3 o'clock (Java Arc2D default) and measuring anti-clockwise. The start angle.
See Also:   SpiderWebPlot.setStartAngle(double)



getToolTipGenerator
public CategoryToolTipGenerator getToolTipGenerator()(Code)
Returns the tool tip generator for the plot. The tool tip generator (possibly null).
See Also:   SpiderWebPlot.setToolTipGenerator(CategoryToolTipGenerator)
since:
   1.0.2



getURLGenerator
public CategoryURLGenerator getURLGenerator()(Code)
Returns the URL generator for the plot. The URL generator (possibly null).
See Also:   SpiderWebPlot.setURLGenerator(CategoryURLGenerator)
since:
   1.0.2



getWebPoint
protected Point2D getWebPoint(Rectangle2D bounds, double angle, double length)(Code)
Returns a cartesian point from a polar angle, length and bounding box
Parameters:
  bounds - the area inside which the point needs to be.
Parameters:
  angle - the polar angle, in degrees.
Parameters:
  length - the relative length. Given in percent of maximum extend. The cartesian point.



isWebFilled
public boolean isWebFilled()(Code)
Method to determine if the web chart is to be filled. A boolean.
See Also:   SpiderWebPlot.setWebFilled(boolean)



setAxisLabelGap
public void setAxisLabelGap(double gap)(Code)
Sets the axis label gap and sends a PlotChangeEvent to all registered listeners.
Parameters:
  gap - the gap.
See Also:   SpiderWebPlot.getAxisLabelGap()



setAxisLinePaint
public void setAxisLinePaint(Paint paint)(Code)
Sets the paint used to draw the axis lines and sends a PlotChangeEvent to all registered listeners.
Parameters:
  paint - the paint (null not permitted).
See Also:   SpiderWebPlot.getAxisLinePaint()
since:
   1.0.4



setAxisLineStroke
public void setAxisLineStroke(Stroke stroke)(Code)
Sets the stroke used to draw the axis lines and sends a PlotChangeEvent to all registered listeners.
Parameters:
  stroke - the stroke (null not permitted).
See Also:   SpiderWebPlot.getAxisLineStroke()
since:
   1.0.4



setBaseSeriesOutlinePaint
public void setBaseSeriesOutlinePaint(Paint paint)(Code)
Sets the base series paint.
Parameters:
  paint - the paint (null not permitted).



setBaseSeriesOutlineStroke
public void setBaseSeriesOutlineStroke(Stroke stroke)(Code)
Sets the base series stroke.
Parameters:
  stroke - the stroke (null not permitted).



setBaseSeriesPaint
public void setBaseSeriesPaint(Paint paint)(Code)
Sets the base series paint.
Parameters:
  paint - the paint (null not permitted).
See Also:   SpiderWebPlot.getBaseSeriesPaint()



setDataExtractOrder
public void setDataExtractOrder(TableOrder order)(Code)
Sets the data extract order (by row or by column) and sends a PlotChangeEvent to all registered listeners.
Parameters:
  order - the order (null not permitted).
throws:
  IllegalArgumentException - if order is null.
See Also:   SpiderWebPlot.getDataExtractOrder()



setDataset
public void setDataset(CategoryDataset dataset)(Code)
Sets the dataset used by the plot and sends a PlotChangeEvent to all registered listeners.
Parameters:
  dataset - the dataset (null permitted).
See Also:   SpiderWebPlot.getDataset()



setDirection
public void setDirection(Rotation direction)(Code)
Sets the direction in which the radar axes are drawn and sends a PlotChangeEvent to all registered listeners.
Parameters:
  direction - the direction (null not permitted).
See Also:   SpiderWebPlot.getDirection()



setHeadPercent
public void setHeadPercent(double percent)(Code)
Sets the head percent and sends a PlotChangeEvent to all registered listeners.
Parameters:
  percent - the percent.
See Also:   SpiderWebPlot.getHeadPercent()



setInteriorGap
public void setInteriorGap(double percent)(Code)
Sets the interior gap and sends a PlotChangeEvent to all registered listeners. This controls the space between the edges of the plot and the plot area itself (the region where the axis labels appear).
Parameters:
  percent - the gap (as a percentage of the available drawing space).
See Also:   SpiderWebPlot.getInteriorGap()



setLabelFont
public void setLabelFont(Font font)(Code)
Sets the series label font and sends a PlotChangeEvent to all registered listeners.
Parameters:
  font - the font (null not permitted).
See Also:   SpiderWebPlot.getLabelFont()



setLabelGenerator
public void setLabelGenerator(CategoryItemLabelGenerator generator)(Code)
Sets the label generator and sends a PlotChangeEvent to all registered listeners.
Parameters:
  generator - the generator (null not permitted).
See Also:   SpiderWebPlot.getLabelGenerator()



setLabelPaint
public void setLabelPaint(Paint paint)(Code)
Sets the series label paint and sends a PlotChangeEvent to all registered listeners.
Parameters:
  paint - the paint (null not permitted).
See Also:   SpiderWebPlot.getLabelPaint()



setLegendItemShape
public void setLegendItemShape(Shape shape)(Code)
Sets the shape used for legend items and sends a PlotChangeEvent to all registered listeners.
Parameters:
  shape - the shape (null not permitted).
See Also:   SpiderWebPlot.getLegendItemShape()



setMaxValue
public void setMaxValue(double value)(Code)
Sets the maximum value any category axis can take and sends a PlotChangeEvent to all registered listeners.
Parameters:
  value - the maximum value.
See Also:   SpiderWebPlot.getMaxValue()



setSeriesOutlinePaint
public void setSeriesOutlinePaint(Paint paint)(Code)
Sets the outline paint for ALL series in the plot. If this is set to null, then a list of paints is used instead (to allow different colors to be used for each series).
Parameters:
  paint - the paint (null permitted).



setSeriesOutlinePaint
public void setSeriesOutlinePaint(int series, Paint paint)(Code)
Sets the paint used to fill a series of the radar and sends a PlotChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  paint - the paint (null permitted).



setSeriesOutlineStroke
public void setSeriesOutlineStroke(Stroke stroke)(Code)
Sets the outline stroke for ALL series in the plot. If this is set to null, then a list of paints is used instead (to allow different colors to be used for each series).
Parameters:
  stroke - the stroke (null permitted).



setSeriesOutlineStroke
public void setSeriesOutlineStroke(int series, Stroke stroke)(Code)
Sets the stroke used to fill a series of the radar and sends a PlotChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  stroke - the stroke (null permitted).



setSeriesPaint
public void setSeriesPaint(Paint paint)(Code)
Sets the paint for ALL series in the plot. If this is set to null , then a list of paints is used instead (to allow different colors to be used for each series of the radar group).
Parameters:
  paint - the paint (null permitted).
See Also:   SpiderWebPlot.getSeriesPaint()



setSeriesPaint
public void setSeriesPaint(int series, Paint paint)(Code)
Sets the paint used to fill a series of the radar and sends a PlotChangeEvent to all registered listeners.
Parameters:
  series - the series index (zero-based).
Parameters:
  paint - the paint (null permitted).
See Also:   SpiderWebPlot.getSeriesPaint(int)



setStartAngle
public void setStartAngle(double angle)(Code)
Sets the starting angle and sends a PlotChangeEvent to all registered listeners.

The initial default value is 90 degrees, which corresponds to 12 o'clock. A value of zero corresponds to 3 o'clock... this is the encoding used by Java's Arc2D class.
Parameters:
  angle - the angle (in degrees).
See Also:   SpiderWebPlot.getStartAngle()




setToolTipGenerator
public void setToolTipGenerator(CategoryToolTipGenerator generator)(Code)
Sets the tool tip generator for the plot and sends a PlotChangeEvent to all registered listeners.
Parameters:
  generator - the generator (null permitted).
See Also:   SpiderWebPlot.getToolTipGenerator()
since:
   1.0.2



setURLGenerator
public void setURLGenerator(CategoryURLGenerator generator)(Code)
Sets the URL generator for the plot and sends a PlotChangeEvent to all registered listeners.
Parameters:
  generator - the generator (null permitted).
See Also:   SpiderWebPlot.getURLGenerator()
since:
   1.0.2



setWebFilled
public void setWebFilled(boolean flag)(Code)
Sets the webFilled flag and sends a PlotChangeEvent to all registered listeners.
Parameters:
  flag - the flag.
See Also:   SpiderWebPlot.isWebFilled()



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.