| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.ObjectField Summary |
Fields inherited from class org.jfree.chart.renderer.category.BarRenderer | |
BAR_OUTLINE_WIDTH_THRESHOLD, DEFAULT_ITEM_MARGIN | |
Fields inherited from class org.jfree.chart.renderer.AbstractRenderer | |
DEFAULT_OUTLINE_PAINT, DEFAULT_OUTLINE_STROKE, DEFAULT_PAINT, DEFAULT_SHAPE, DEFAULT_STROKE, DEFAULT_VALUE_LABEL_FONT, DEFAULT_VALUE_LABEL_PAINT, ZERO | |
Constructor Summary | |
| |
Method Summary | |
void |
|
protected void |
|
protected void |
|
boolean |
|
Paint |
|
double |
|
Paint |
|
double |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.jfree.chart.renderer.category.IntervalBarRenderer | |
drawInterval, drawItem | |
public void drawItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass)
Draws the bar for a single (series, category) data item.
- Specified by:
- drawItem in interface CategoryItemRenderer
- Overrides:
- drawItem in interface IntervalBarRenderer
- Parameters:
g2- the graphics device.state- the renderer state.dataArea- the data area.plot- the plot.domainAxis- the domain axis.rangeAxis- the range axis.dataset- the dataset.row- the row index (zero-based).column- the column index (zero-based).pass- the pass index.
protected void drawTask(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, GanttCategoryDataset dataset, int row, int column)
Draws a single task.
- Parameters:
g2- the graphics device.state- the renderer state.dataArea- the data plot area.plot- the plot.domainAxis- the domain axis.rangeAxis- the range axis.dataset- the data.row- the row index (zero-based).column- the column index (zero-based).
protected void drawTasks(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, GanttCategoryDataset dataset, int row, int column)
Draws the tasks/subtasks for one item.
- Parameters:
g2- the graphics device.state- the renderer state.dataArea- the data plot area.plot- the plot.domainAxis- the domain axis.rangeAxis- the range axis.dataset- the data.row- the row index (zero-based).column- the column index (zero-based).
public boolean equals(Object obj)
Tests this renderer for equality with an arbitrary object.
- Overrides:
- equals in interface BarRenderer
- Parameters:
obj- the object (nullpermitted).
- Returns:
- A boolean.
public Paint getCompletePaint()
Returns the paint used to show the percentage complete.
- Returns:
- The paint (never
null.
- See Also:
setCompletePaint(Paint)
public double getEndPercent()
Returns the position of the end of the progress indicator, as a percentage of the bar width.
- Returns:
- The end percent.
- See Also:
setEndPercent(double)
public Paint getIncompletePaint()
Returns the paint used to show the percentage incomplete.
- Returns:
- The paint (never
null).
- See Also:
setCompletePaint(Paint)
public double getStartPercent()
Returns the position of the start of the progress indicator, as a percentage of the bar width.
- Returns:
- The start percent.
- See Also:
setStartPercent(double)
public void setCompletePaint(Paint paint)
Sets the paint used to show the percentage complete and sends aRendererChangeEventto all registered listeners.
- Parameters:
paint- the paint (nullnot permitted).
- See Also:
getCompletePaint()
public void setEndPercent(double percent)
Sets the position of the end of the progress indicator, as a percentage of the bar width, and sends aRendererChangeEventto all registered listeners.
- Parameters:
percent- the percent.
- See Also:
getEndPercent()
public void setIncompletePaint(Paint paint)
Sets the paint used to show the percentage incomplete and sends aRendererChangeEventto all registered listeners.
- Parameters:
paint- the paint (nullnot permitted).
- See Also:
getIncompletePaint()
public void setStartPercent(double percent)
Sets the position of the start of the progress indicator, as a percentage of the bar width, and sends aRendererChangeEventto all registered listeners.
- Parameters:
percent- the percent.
- See Also:
getStartPercent()