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


org.jfree.chart.renderer.category.AbstractCategoryItemRenderer
   org.jfree.chart.renderer.category.BarRenderer
      org.jfree.chart.renderer.category.BarRenderer3D

All known Subclasses:   org.jfree.chart.renderer.category.StackedBarRenderer3D,
BarRenderer3D
public class BarRenderer3D extends BarRenderer implements Effect3D,Cloneable,PublicCloneable,Serializable(Code)
A renderer for bars with a 3D effect, for use with the org.jfree.chart.plot.CategoryPlot class.


Field Summary
final public static  PaintDEFAULT_WALL_PAINT
     The default wall paint.
final public static  doubleDEFAULT_X_OFFSET
     The default x-offset for the 3D effect.
final public static  doubleDEFAULT_Y_OFFSET
     The default y-offset for the 3D effect.

Constructor Summary
public  BarRenderer3D()
     Default constructor, creates a renderer with a default '3D effect'.
public  BarRenderer3D(double xOffset, double yOffset)
     Constructs a new renderer with the specified '3D effect'.

Method Summary
public  voiddrawBackground(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea)
     Draws the background for the plot.
public  voiddrawDomainGridline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, double value)
     Draws a grid line against the domain axis.
public  voiddrawItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass)
     Draws a 3D bar to represent one data item.
public  voiddrawOutline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea)
     Draws the outline for the plot.
public  voiddrawRangeGridline(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Rectangle2D dataArea, double value)
     Draws a grid line against the range axis.
public  voiddrawRangeMarker(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea)
     Draws a range marker.
public  booleanequals(Object obj)
     Tests this renderer for equality with an arbitrary object.
Parameters:
  obj - the object (null permitted).
public  PaintgetWallPaint()
     Returns the paint used to highlight the left and bottom wall in the plot background.
public  doublegetXOffset()
     Returns the x-offset for the 3D effect.
public  doublegetYOffset()
     Returns the y-offset for the 3D effect.
public  CategoryItemRendererStateinitialise(Graphics2D g2, Rectangle2D dataArea, CategoryPlot plot, int rendererIndex, PlotRenderingInfo info)
     Initialises the renderer and returns a state object that will be passed to subsequent calls to the drawItem method.
public  voidsetWallPaint(Paint paint)
     Sets the paint used to hightlight the left and bottom walls in the plot background, and sends a RendererChangeEvent to all registered listeners.

Field Detail
DEFAULT_WALL_PAINT
final public static Paint DEFAULT_WALL_PAINT(Code)
The default wall paint.



DEFAULT_X_OFFSET
final public static double DEFAULT_X_OFFSET(Code)
The default x-offset for the 3D effect.



DEFAULT_Y_OFFSET
final public static double DEFAULT_Y_OFFSET(Code)
The default y-offset for the 3D effect.




Constructor Detail
BarRenderer3D
public BarRenderer3D()(Code)
Default constructor, creates a renderer with a default '3D effect'.



BarRenderer3D
public BarRenderer3D(double xOffset, double yOffset)(Code)
Constructs a new renderer with the specified '3D effect'.
Parameters:
  xOffset - the x-offset for the 3D effect.
Parameters:
  yOffset - the y-offset for the 3D effect.




Method Detail
drawBackground
public void drawBackground(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea)(Code)
Draws the background for the plot.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  dataArea - the area inside the axes.



drawDomainGridline
public void drawDomainGridline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, double value)(Code)
Draws a grid line against the domain axis.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  dataArea - the area for plotting data (not yet adjusted for any 3D effect).
Parameters:
  value - the Java2D value at which the grid line should be drawn.



drawItem
public void drawItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass)(Code)
Draws a 3D bar to represent one data item.
Parameters:
  g2 - the graphics device.
Parameters:
  state - the renderer state.
Parameters:
  dataArea - the area for plotting the data.
Parameters:
  plot - the plot.
Parameters:
  domainAxis - the domain axis.
Parameters:
  rangeAxis - the range axis.
Parameters:
  dataset - the dataset.
Parameters:
  row - the row index (zero-based).
Parameters:
  column - the column index (zero-based).
Parameters:
  pass - the pass index.



drawOutline
public void drawOutline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea)(Code)
Draws the outline for the plot.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  dataArea - the area inside the axes.



drawRangeGridline
public void drawRangeGridline(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Rectangle2D dataArea, double value)(Code)
Draws a grid line against the range axis.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  axis - the value axis.
Parameters:
  dataArea - the area for plotting data (not yet adjusted for any 3D effect).
Parameters:
  value - the value at which the grid line should be drawn.



drawRangeMarker
public void drawRangeMarker(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea)(Code)
Draws a range marker.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  axis - the value axis.
Parameters:
  marker - the marker.
Parameters:
  dataArea - the area for plotting data (not including 3D effect).



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



getWallPaint
public Paint getWallPaint()(Code)
Returns the paint used to highlight the left and bottom wall in the plot background. The paint.
See Also:   BarRenderer3D.setWallPaint(Paint)



getXOffset
public double getXOffset()(Code)
Returns the x-offset for the 3D effect. The 3D effect.
See Also:   BarRenderer3D.getYOffset()



getYOffset
public double getYOffset()(Code)
Returns the y-offset for the 3D effect. The 3D effect.



initialise
public CategoryItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea, CategoryPlot plot, int rendererIndex, PlotRenderingInfo info)(Code)
Initialises the renderer and returns a state object that will be passed to subsequent calls to the drawItem method. This method gets called once at the start of the process of drawing a chart.
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the area in which the data is to be plotted.
Parameters:
  plot - the plot.
Parameters:
  rendererIndex - the renderer index.
Parameters:
  info - collects chart rendering information for return to caller. The renderer state.



setWallPaint
public void setWallPaint(Paint paint)(Code)
Sets the paint used to hightlight the left and bottom walls in the plot background, and sends a RendererChangeEvent to all registered listeners.
Parameters:
  paint - the paint (null not permitted).
See Also:   BarRenderer3D.getWallPaint()



Fields inherited from org.jfree.chart.renderer.category.BarRenderer
final public static double BAR_OUTLINE_WIDTH_THRESHOLD(Code)(Java Doc)
final public static double DEFAULT_ITEM_MARGIN(Code)(Java Doc)

Methods inherited from org.jfree.chart.renderer.category.BarRenderer
protected double[] calculateBarL0L1(double value)(Code)(Java Doc)
protected double calculateBarW0(CategoryPlot plot, PlotOrientation orientation, Rectangle2D dataArea, CategoryAxis domainAxis, CategoryItemRendererState state, int row, int column)(Code)(Java Doc)
protected void calculateBarWidth(CategoryPlot plot, Rectangle2D dataArea, int rendererIndex, CategoryItemRendererState state)(Code)(Java Doc)
protected double calculateSeriesWidth(double space, CategoryAxis axis, int categories, int series)(Code)(Java Doc)
public void drawItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass)(Code)(Java Doc)
protected void drawItemLabel(Graphics2D g2, CategoryDataset data, int row, int column, CategoryPlot plot, CategoryItemLabelGenerator generator, Rectangle2D bar, boolean negative)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public Range findRangeBounds(CategoryDataset dataset)(Code)(Java Doc)
public double getBase()(Code)(Java Doc)
public GradientPaintTransformer getGradientPaintTransformer()(Code)(Java Doc)
public boolean getIncludeBaseInRange()(Code)(Java Doc)
public double getItemMargin()(Code)(Java Doc)
public LegendItem getLegendItem(int datasetIndex, int series)(Code)(Java Doc)
public double getLowerClip()(Code)(Java Doc)
public double getMaximumBarWidth()(Code)(Java Doc)
public double getMinimumBarLength()(Code)(Java Doc)
public ItemLabelPosition getNegativeItemLabelPositionFallback()(Code)(Java Doc)
public ItemLabelPosition getPositiveItemLabelPositionFallback()(Code)(Java Doc)
public double getUpperClip()(Code)(Java Doc)
public CategoryItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea, CategoryPlot plot, int rendererIndex, PlotRenderingInfo info)(Code)(Java Doc)
public boolean isDrawBarOutline()(Code)(Java Doc)
public void setBase(double base)(Code)(Java Doc)
public void setDrawBarOutline(boolean draw)(Code)(Java Doc)
public void setGradientPaintTransformer(GradientPaintTransformer transformer)(Code)(Java Doc)
public void setIncludeBaseInRange(boolean include)(Code)(Java Doc)
public void setItemMargin(double percent)(Code)(Java Doc)
public void setMaximumBarWidth(double percent)(Code)(Java Doc)
public void setMinimumBarLength(double min)(Code)(Java Doc)
public void setNegativeItemLabelPositionFallback(ItemLabelPosition position)(Code)(Java Doc)
public void setPositiveItemLabelPositionFallback(ItemLabelPosition position)(Code)(Java Doc)

Methods inherited from org.jfree.chart.renderer.category.AbstractCategoryItemRenderer
protected void addItemEntity(EntityCollection entities, CategoryDataset dataset, int row, int column, Shape hotspot)(Code)(Java Doc)
protected Point2D calculateDomainMarkerTextAnchorPoint(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor)(Code)(Java Doc)
protected Point2D calculateRangeMarkerTextAnchorPoint(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor)(Code)(Java Doc)
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
protected CategoryItemRendererState createState(PlotRenderingInfo info)(Code)(Java Doc)
public void drawBackground(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea)(Code)(Java Doc)
public void drawDomainGridline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, double value)(Code)(Java Doc)
public void drawDomainMarker(Graphics2D g2, CategoryPlot plot, CategoryAxis axis, CategoryMarker marker, Rectangle2D dataArea)(Code)(Java Doc)
protected void drawItemLabel(Graphics2D g2, PlotOrientation orientation, CategoryDataset dataset, int row, int column, double x, double y, boolean negative)(Code)(Java Doc)
public void drawOutline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea)(Code)(Java Doc)
public void drawRangeGridline(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Rectangle2D dataArea, double value)(Code)(Java Doc)
public void drawRangeMarker(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public Range findRangeBounds(CategoryDataset dataset)(Code)(Java Doc)
public CategoryItemLabelGenerator getBaseItemLabelGenerator()(Code)(Java Doc)
public CategoryURLGenerator getBaseItemURLGenerator()(Code)(Java Doc)
public CategoryToolTipGenerator getBaseToolTipGenerator()(Code)(Java Doc)
public int getColumnCount()(Code)(Java Doc)
protected CategoryAxis getDomainAxis(CategoryPlot plot, int index)(Code)(Java Doc)
public DrawingSupplier getDrawingSupplier()(Code)(Java Doc)
public CategoryItemLabelGenerator getItemLabelGenerator(int row, int column)(Code)(Java Doc)
public CategoryURLGenerator getItemURLGenerator(int row, int column)(Code)(Java Doc)
public LegendItem getLegendItem(int datasetIndex, int series)(Code)(Java Doc)
public CategorySeriesLabelGenerator getLegendItemLabelGenerator()(Code)(Java Doc)
public CategorySeriesLabelGenerator getLegendItemToolTipGenerator()(Code)(Java Doc)
public CategorySeriesLabelGenerator getLegendItemURLGenerator()(Code)(Java Doc)
public LegendItemCollection getLegendItems()(Code)(Java Doc)
public int getPassCount()(Code)(Java Doc)
public CategoryPlot getPlot()(Code)(Java Doc)
protected ValueAxis getRangeAxis(CategoryPlot plot, int index)(Code)(Java Doc)
public int getRowCount()(Code)(Java Doc)
public CategoryItemLabelGenerator getSeriesItemLabelGenerator(int series)(Code)(Java Doc)
public CategoryURLGenerator getSeriesItemURLGenerator(int series)(Code)(Java Doc)
public CategoryToolTipGenerator getSeriesToolTipGenerator(int series)(Code)(Java Doc)
public CategoryToolTipGenerator getToolTipGenerator(int row, int column)(Code)(Java Doc)
public CategoryToolTipGenerator getToolTipGenerator()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public CategoryItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea, CategoryPlot plot, int rendererIndex, PlotRenderingInfo info)(Code)(Java Doc)
public void setBaseItemLabelGenerator(CategoryItemLabelGenerator generator)(Code)(Java Doc)
public void setBaseItemURLGenerator(CategoryURLGenerator generator)(Code)(Java Doc)
public void setBaseToolTipGenerator(CategoryToolTipGenerator generator)(Code)(Java Doc)
public void setItemLabelGenerator(CategoryItemLabelGenerator generator)(Code)(Java Doc)
public void setItemURLGenerator(CategoryURLGenerator generator)(Code)(Java Doc)
public void setLegendItemLabelGenerator(CategorySeriesLabelGenerator generator)(Code)(Java Doc)
public void setLegendItemToolTipGenerator(CategorySeriesLabelGenerator generator)(Code)(Java Doc)
public void setLegendItemURLGenerator(CategorySeriesLabelGenerator generator)(Code)(Java Doc)
public void setPlot(CategoryPlot plot)(Code)(Java Doc)
public void setSeriesItemLabelGenerator(int series, CategoryItemLabelGenerator generator)(Code)(Java Doc)
public void setSeriesItemURLGenerator(int series, CategoryURLGenerator generator)(Code)(Java Doc)
public void setSeriesToolTipGenerator(int series, CategoryToolTipGenerator generator)(Code)(Java Doc)
public void setToolTipGenerator(CategoryToolTipGenerator generator)(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.