|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.renderer.AbstractRenderer
Base class providing common services for renderers.
Field Summary | |
static java.awt.Paint |
DEFAULT_OUTLINE_PAINT
The default outline paint. |
static java.awt.Stroke |
DEFAULT_OUTLINE_STROKE
The default outline stroke. |
static java.awt.Paint |
DEFAULT_PAINT
The default paint. |
static java.awt.Shape |
DEFAULT_SHAPE
The default shape. |
static java.awt.Stroke |
DEFAULT_STROKE
The default stroke. |
static java.awt.Font |
DEFAULT_VALUE_LABEL_FONT
The default value label font. |
static java.awt.Paint |
DEFAULT_VALUE_LABEL_PAINT
The default value label paint. |
static java.lang.Double |
ZERO
A useful constant. |
Constructor Summary | |
AbstractRenderer()
Default constructor. |
Method Summary | |
void |
addChangeListener(RendererChangeListener listener)
Registers an object for notification of changes to the renderer. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a property change listener to the renderer. |
protected java.lang.Object |
clone()
Returns an independent copy of the renderer. |
protected java.awt.Shape |
createTransformedShape(java.awt.Shape shape,
double translateX,
double translateY)
Creates and returns a translated version of a shape. |
boolean |
equals(java.lang.Object obj)
Tests this renderer for equality with another object. |
protected void |
firePropertyChanged(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies registered listeners that a property of the renderer has changed. |
ItemLabelAnchor |
getBaseItemLabelAnchor()
Deprecated. Use getBasePositiveItemLabelPosition/getBaseNegativeItemLabelPosition. |
java.lang.Number |
getBaseItemLabelAngle()
Deprecated. Use getBasePositiveItemLabelPosition/getBaseNegativeItemLabelPosition. |
java.awt.Font |
getBaseItemLabelFont()
Returns the base item label font. |
java.awt.Paint |
getBaseItemLabelPaint()
Returns the base item label paint. |
org.jfree.ui.TextAnchor |
getBaseItemLabelRotationAnchor()
Deprecated. Use getBasePositiveItemLabelRotationAnchor/ getBaseNegativeItemLabelRotationAnchor. |
java.lang.Boolean |
getBaseItemLabelsVisible()
Returns the base setting for item label visibility. |
org.jfree.ui.TextAnchor |
getBaseItemLabelTextAnchor()
Deprecated. Use getBasePositiveItemLabelTextAnchor/getBaseNegativeItemLabelTextAnchor. |
ItemLabelPosition |
getBaseNegativeItemLabelPosition()
Returns the base negative item label position. |
java.awt.Paint |
getBaseOutlinePaint()
Returns the base outline paint. |
java.awt.Stroke |
getBaseOutlineStroke()
Returns the base outline stroke. |
java.awt.Paint |
getBasePaint()
Returns the base paint. |
ItemLabelPosition |
getBasePositiveItemLabelPosition()
Returns the base positive item label position. |
java.awt.Shape |
getBaseShape()
Returns the base shape. |
java.awt.Stroke |
getBaseStroke()
Returns the base stroke. |
abstract DrawingSupplier |
getDrawingSupplier()
Returns the drawing supplier from the plot. |
ItemLabelAnchor |
getItemLabelAnchor(int row,
int column)
Deprecated. Use getPositiveItemLabelAnchor. |
java.lang.Number |
getItemLabelAngle(int row,
int column)
Deprecated. Use getPositiveItemLabelPosition/getNegativeItemLabelPosition. |
java.awt.Font |
getItemLabelFont(int row,
int column)
Returns the font for an item label. |
java.awt.Paint |
getItemLabelPaint(int row,
int column)
Returns the paint used to draw an item label. |
org.jfree.ui.TextAnchor |
getItemLabelRotationAnchor(int row,
int column)
Deprecated. Use getPositiveItemLabelRotationAnchor/getNegativeItemLabelRotationAnchor. |
org.jfree.ui.TextAnchor |
getItemLabelTextAnchor(int row,
int column)
Deprecated. Use getPositiveItemLabelTextAnchor/getNegativeItemLabelTextAnchor. |
java.awt.Paint |
getItemOutlinePaint(int row,
int column)
Returns the paint used to outline data items as they are drawn. |
java.awt.Stroke |
getItemOutlineStroke(int row,
int column)
Returns the stroke used to outline data items. |
java.awt.Paint |
getItemPaint(int row,
int column)
Returns the paint used to fill data items as they are drawn. |
java.awt.Shape |
getItemShape(int row,
int column)
Returns a shape used to represent a data item. |
java.awt.Stroke |
getItemStroke(int row,
int column)
Returns the stroke used to draw data items. |
ItemLabelPosition |
getNegativeItemLabelPosition()
Returns the negative item label position. |
ItemLabelPosition |
getNegativeItemLabelPosition(int row,
int column)
Returns the item label position. |
ItemLabelPosition |
getPositiveItemLabelPosition()
Returns the positive item label position. |
ItemLabelPosition |
getPositiveItemLabelPosition(int row,
int column)
Returns the positive item label position. |
ItemLabelAnchor |
getSeriesItemLabelAnchor(int series)
Deprecated. Use getSeriesPositiveItemLabelPosition(). |
java.lang.Number |
getSeriesItemLabelAngle(int series)
Deprecated. Use getSeriesPositiveItemLabelPosition/getSeriesNegativeItemLabelPosition. |
java.awt.Font |
getSeriesItemLabelFont(int series)
Returns the font for all the item labels in a series. |
java.awt.Paint |
getSeriesItemLabelPaint(int series)
Returns the paint used to draw the item labels for a series. |
org.jfree.ui.TextAnchor |
getSeriesItemLabelRotationAnchor(int series)
Deprecated. Use getSeriesPositiveItemLabelRotationAnchor/ getSeriesNegativeItemLabelRotationAnchor. |
org.jfree.ui.TextAnchor |
getSeriesItemLabelTextAnchor(int series)
Deprecated. Use getSeriesPositiveItemLabelTextAnchor/getSeriesNegativeItemLabelTextAnchor. |
ItemLabelPosition |
getSeriesNegativeItemLabelPosition(int series)
Returns the item label position for all labels in a series. |
java.awt.Paint |
getSeriesOutlinePaint(int series)
Returns the color used to outline an item drawn by the renderer. |
java.awt.Stroke |
getSeriesOutlineStroke(int series)
Returns the stroke used to outline the items in a series. |
java.awt.Paint |
getSeriesPaint(int series)
Returns the paint used to fill an item drawn by the renderer. |
ItemLabelPosition |
getSeriesPositiveItemLabelPosition(int series)
Returns the positive item label position for all labels in a series. |
java.awt.Shape |
getSeriesShape(int series)
Returns a shape used to represent the items in a series. |
java.awt.Stroke |
getSeriesStroke(int series)
Returns the stroke used to draw the items in a series. |
int |
hashCode()
Returns a hashcode for the renderer. |
boolean |
isItemLabelVisible(int row,
int column)
Returns true if an item label is visible, and false otherwise. |
boolean |
isSeriesItemLabelsVisible(int series)
Returns true if the item labels for a series area visible, and
false otherwise. |
void |
notifyListeners(RendererChangeEvent event)
Notifies all registered listeners that the renderer has been modified. |
void |
removeChangeListener(RendererChangeListener listener)
Unregisters an object for notification of changes to the renderer. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a property change listener from the renderer. |
void |
setBaseAngle(java.lang.Number angle)
Deprecated. Use setBasePositiveItemLabelPosition/setBaseNegativeItemLabelPosition. |
void |
setBaseItemLabelAnchor(ItemLabelAnchor anchor)
Deprecated. Use setBasePositiveItemLabelPosition/setBaseNegativeItemLabelPosition. |
void |
setBaseItemLabelFont(java.awt.Font font)
Sets the base item label font. |
void |
setBaseItemLabelFont(java.awt.Font font,
boolean notify)
Sets the base item label font and, if requested, sends a RendererChangeEvent to all
registered listeners. |
void |
setBaseItemLabelPaint(java.awt.Paint paint)
Sets the base item label paint. |
void |
setBaseItemLabelPaint(java.awt.Paint paint,
boolean notify)
Sets the base item label paint. |
void |
setBaseItemLabelRotationAnchor(org.jfree.ui.TextAnchor anchor)
Deprecated. Use setBasePositiveItemLabelPosition. |
void |
setBaseItemLabelsVisible(java.lang.Boolean visible)
Sets the base setting for item label visibility. |
void |
setBaseItemLabelsVisible(java.lang.Boolean visible,
boolean notify)
Sets the base visibility for item labels and, if requested, sends a RendererChangeEvent to all registered listeners. |
void |
setBaseItemLabelTextAnchor(org.jfree.ui.TextAnchor anchor)
Deprecated. Use setBasePositiveItemLabelTextAnchor/setBaseNegativeItemLabelTextAnchor. |
void |
setBaseNegativeItemLabelPosition(ItemLabelPosition position)
Sets the base negative item label position. |
void |
setBaseNegativeItemLabelPosition(ItemLabelPosition position,
boolean notify)
Sets the base negative item label position and, if requested, sends a RendererChangeEvent to all registered listeners. |
void |
setBaseOutlinePaint(java.awt.Paint paint)
Sets the base outline paint. |
void |
setBaseOutlinePaint(java.awt.Paint paint,
boolean notify)
Sets the base outline paint and, if requested, sends a RendererChangeEvent to all
registered listeners. |
void |
setBaseOutlineStroke(java.awt.Stroke stroke)
Sets the base outline stroke. |
void |
setBaseOutlineStroke(java.awt.Stroke stroke,
boolean notify)
Sets the base outline stroke and, if requested, sends a RendererChangeEvent to all
registered listeners. |
void |
setBasePaint(java.awt.Paint paint)
Sets the base paint and sends a RendererChangeEvent to all registered listeners. |
void |
setBasePaint(java.awt.Paint paint,
boolean notify)
Sets the base paint and, if requested, sends a RendererChangeEvent to all registered
listeners. |
void |
setBasePositiveItemLabelPosition(ItemLabelPosition position)
Sets the base positive item label position. |
void |
setBasePositiveItemLabelPosition(ItemLabelPosition position,
boolean notify)
Sets the base positive item label position and, if requested, sends a RendererChangeEvent to all registered listeners. |
void |
setBaseShape(java.awt.Shape shape)
Sets the base shape. |
void |
setBaseShape(java.awt.Shape shape,
boolean notify)
Sets the base shape and, if requested, sends a RendererChangeEvent to all
registered listeners. |
void |
setBaseStroke(java.awt.Stroke stroke)
Sets the base stroke. |
void |
setBaseStroke(java.awt.Stroke stroke,
boolean notify)
Sets the base stroke and, if requested, sends a RendererChangeEvent to all
registered listeners. |
void |
setItemLabelAnchor(ItemLabelAnchor anchor)
Deprecated. Use setPositiveItemLabelPosition/setNegativeItemLabelPosition. |
void |
setItemLabelAngle(java.lang.Number angle)
Deprecated. Use setPositiveItemLabelPosition/setNegativeItemLabelPosition. |
void |
setItemLabelFont(java.awt.Font font)
Sets the item label font for ALL series (optional). |
void |
setItemLabelFont(java.awt.Font font,
boolean notify)
Sets the item label font for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners. |
void |
setItemLabelPaint(java.awt.Paint paint)
Sets the item label paint for ALL series. |
void |
setItemLabelPaint(java.awt.Paint paint,
boolean notify)
Sets the item label paint for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners. |
void |
setItemLabelRotationAnchor(org.jfree.ui.TextAnchor anchor)
Deprecated. Use setPositiveItemLabelRotationAnchor/setNegativeItemLabelRotationAnchor. |
void |
setItemLabelsVisible(boolean visible)
Sets the visibility of the item labels for ALL series. |
void |
setItemLabelsVisible(java.lang.Boolean visible)
Sets the visibility of the item labels for ALL series (optional). |
void |
setItemLabelsVisible(java.lang.Boolean visible,
boolean notify)
Sets the visibility of item labels for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners. |
void |
setItemLabelTextAnchor(org.jfree.ui.TextAnchor anchor)
Deprecated. Use setPositiveItemLabelTextAnchor/setNegativeItemLabelTextAnchor. |
void |
setNegativeItemLabelPosition(ItemLabelPosition position)
Sets the negative item label position. |
void |
setNegativeItemLabelPosition(ItemLabelPosition position,
boolean notify)
Sets the negative item label position for ALL series. |
void |
setOutlinePaint(java.awt.Paint paint)
Sets the outline paint for ALL series (optional). |
void |
setOutlinePaint(java.awt.Paint paint,
boolean notify)
Sets the outline paint for ALL series and, if requested, sends a RendererChangeEvent
to all registered listeners. |
void |
setOutlineStroke(java.awt.Stroke stroke)
Sets the outline stroke. |
void |
setOutlineStroke(java.awt.Stroke stroke,
boolean notify)
Sets the outline stroke for ALL series and, if requested, sends a RendererChangeEvent to all registered listeners. |
void |
setPaint(java.awt.Paint paint)
Sets the paint to be used for ALL series, and sends a RendererChangeEvent to all
registered listeners. |
void |
setPaint(java.awt.Paint paint,
boolean notify)
Sets the paint to be used for all series and, if requested, sends a RendererChangeEvent to all registered listeners. |
void |
setPositiveItemLabelPosition(ItemLabelPosition position)
Sets the positive item label position. |
void |
setPositiveItemLabelPosition(ItemLabelPosition position,
boolean notify)
Sets the positive item label position for ALL series. |
void |
setSeriesAngle(int series,
java.lang.Number angle)
Deprecated. Use setSeriesPositiveItemLabelPosition/setSeriesNegativeItemLabelPosition. |
void |
setSeriesItemLabelAnchor(int series,
ItemLabelAnchor anchor)
Deprecated. Use setSeriesPositiveItemLabelPosition/setSeriesNegativeItemLabelPosition. |
void |
setSeriesItemLabelFont(int series,
java.awt.Font font)
Sets the item label font for a series. |
void |
setSeriesItemLabelFont(int series,
java.awt.Font font,
boolean notify)
Sets the item label font for a series and, if requested, sends a RendererChangeEvent
to all registered listeners. |
void |
setSeriesItemLabelPaint(int series,
java.awt.Paint paint)
Sets the item label paint for a series. |
void |
setSeriesItemLabelPaint(int series,
java.awt.Paint paint,
boolean notify)
Sets the item label paint for a series and, if requested, sends a RendererChangeEvent
to all registered listeners. |
void |
setSeriesItemLabelRotationAnchor(int series,
org.jfree.ui.TextAnchor anchor)
Deprecated. Use setSeriesPositiveItemLabelRotationAnchor/ setSeriesNegativeItemLabelRotationAnchor. |
void |
setSeriesItemLabelsVisible(int series,
java.lang.Boolean visible)
Sets the visibility of the item labels for a series. |
void |
setSeriesItemLabelsVisible(int series,
java.lang.Boolean visible,
boolean notify)
Sets the visibility of item labels for a series and, if requested, sends a RendererChangeEvent to all registered listeners. |
void |
setSeriesItemLabelTextAnchor(int series,
org.jfree.ui.TextAnchor anchor)
Deprecated. Use setSeriesPositiveItemLabelTextAnchor/setSeriesNegativeItemLabelAnchor. |
void |
setSeriesNegativeItemLabelPosition(int series,
ItemLabelPosition position)
Sets the series negative item label position. |
void |
setSeriesNegativeItemLabelPosition(int series,
ItemLabelPosition position,
boolean notify)
Sets the negative item label position for a series. |
void |
setSeriesOutlinePaint(int series,
java.awt.Paint paint)
Sets the paint used for a series outline. |
void |
setSeriesOutlinePaint(int series,
java.awt.Paint paint,
boolean notify)
Sets the paint used to draw the outline for a series and, if requested, sends a RendererChangeEvent to all registered listeners. |
void |
setSeriesOutlineStroke(int series,
java.awt.Stroke stroke)
Sets the outline stroke used for a series. |
void |
setSeriesOutlineStroke(int series,
java.awt.Stroke stroke,
boolean notify)
Sets the outline stroke for a series and, if requested, sends a RendererChangeEvent
to all registered listeners. |
void |
setSeriesPaint(int series,
java.awt.Paint paint)
Sets the paint used for a series and sends a RendererChangeEvent to all registered
listeners. |
void |
setSeriesPaint(int series,
java.awt.Paint paint,
boolean notify)
Sets the paint used for a series and, if requested, sends a RendererChangeEvent to
all registered listeners. |
void |
setSeriesPositiveItemLabelPosition(int series,
ItemLabelPosition position)
Sets the positive item label position for a series. |
void |
setSeriesPositiveItemLabelPosition(int series,
ItemLabelPosition position,
boolean notify)
Sets the positive item label position for a series. |
void |
setSeriesShape(int series,
java.awt.Shape shape)
Sets the shape used for a series. |
void |
setSeriesShape(int series,
java.awt.Shape shape,
boolean notify)
Sets the shape for a series and, if requested, sends a RendererChangeEvent to all
registered listeners. |
void |
setSeriesStroke(int series,
java.awt.Stroke stroke)
Sets the stroke used for a series. |
void |
setSeriesStroke(int series,
java.awt.Stroke stroke,
boolean notify)
Sets the stroke for a series and, if requested, sends a RendererChangeEvent to all
registered listeners. |
void |
setShape(java.awt.Shape shape)
Sets the shape for ALL series (optional). |
void |
setShape(java.awt.Shape shape,
boolean notify)
Sets the shape for ALL series and, if requested, sends a RendererChangeEvent to all
registered listeners. |
void |
setStroke(java.awt.Stroke stroke)
Sets the stroke for ALL series (optional). |
void |
setStroke(java.awt.Stroke stroke,
boolean notify)
Sets the stroke for ALL series and, if requested, sends a RendererChangeEvent to
all registered listeners. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.Double ZERO
public static final java.awt.Paint DEFAULT_PAINT
public static final java.awt.Paint DEFAULT_OUTLINE_PAINT
public static final java.awt.Stroke DEFAULT_STROKE
public static final java.awt.Stroke DEFAULT_OUTLINE_STROKE
public static final java.awt.Shape DEFAULT_SHAPE
public static final java.awt.Font DEFAULT_VALUE_LABEL_FONT
public static final java.awt.Paint DEFAULT_VALUE_LABEL_PAINT
Constructor Detail |
public AbstractRenderer()
Method Detail |
public abstract DrawingSupplier getDrawingSupplier()
public java.awt.Paint getItemPaint(int row, int column)
The default implementation passes control to the getSeriesPaint
method.
You can override this method if you require different behaviour.
row
- the row (or series) index (zero-based).column
- the column (or category) index (zero-based).
public java.awt.Paint getSeriesPaint(int series)
series
- the series index (zero-based).
public void setPaint(java.awt.Paint paint)
RendererChangeEvent
to all
registered listeners. If this is null
, the renderer will use the paint for
the series.
paint
- the paint (null
permitted).public void setPaint(java.awt.Paint paint, boolean notify)
RendererChangeEvent
to all registered listeners.
paint
- the paint.notify
- a flag that controls whether or not registered listeners are notified.public void setSeriesPaint(int series, java.awt.Paint paint)
RendererChangeEvent
to all registered
listeners.
series
- the series index (zero-based).paint
- the paint.public void setSeriesPaint(int series, java.awt.Paint paint, boolean notify)
RendererChangeEvent
to
all registered listeners.
series
- the series index.paint
- the paint.notify
- a flag that controls whether or not registered listeners are notified.public java.awt.Paint getBasePaint()
public void setBasePaint(java.awt.Paint paint)
RendererChangeEvent
to all registered listeners.
paint
- the paint.public void setBasePaint(java.awt.Paint paint, boolean notify)
RendererChangeEvent
to all registered
listeners.
paint
- the paint.notify
- a flag that controls whether or not registered listeners are notified.public java.awt.Paint getItemOutlinePaint(int row, int column)
The default implementation passes control to the getSeriesOutlinePaint method. You can override this method if you require different behaviour.
row
- the row (or series) index (zero-based).column
- the column (or category) index (zero-based).
public java.awt.Paint getSeriesOutlinePaint(int series)
series
- the series (zero-based index).
public void setSeriesOutlinePaint(int series, java.awt.Paint paint)
series
- the series index (zero-based).paint
- the paint.public void setSeriesOutlinePaint(int series, java.awt.Paint paint, boolean notify)
RendererChangeEvent
to all registered listeners.
series
- the series index.paint
- the paint.notify
- a flag that controls whether or not listeners are notified.public void setOutlinePaint(java.awt.Paint paint)
paint
- the paint (null
permitted).public void setOutlinePaint(java.awt.Paint paint, boolean notify)
RendererChangeEvent
to all registered listeners.
paint
- the paint (null
permitted).notify
- a flag that controls whether or not listeners are notified.public java.awt.Paint getBaseOutlinePaint()
public void setBaseOutlinePaint(java.awt.Paint paint)
paint
- the paint.public void setBaseOutlinePaint(java.awt.Paint paint, boolean notify)
RendererChangeEvent
to all
registered listeners.
paint
- the paint.notify
- a flag that controls whether or not registered listeners are notified.public java.awt.Stroke getItemStroke(int row, int column)
The default implementation passes control to the getSeriesStroke method. You can override this method if you require different behaviour.
row
- the row (or series) index (zero-based).column
- the column (or category) index (zero-based).
public java.awt.Stroke getSeriesStroke(int series)
series
- the series (zero-based index).
public void setStroke(java.awt.Stroke stroke)
stroke
- the stroke (null
permitted).public void setStroke(java.awt.Stroke stroke, boolean notify)
RendererChangeEvent
to
all registered listeners.
stroke
- the stroke (null
permitted).notify
- a flag that controls whether or not listeners are notified.public void setSeriesStroke(int series, java.awt.Stroke stroke)
series
- the series index (zero-based).stroke
- the stroke.public void setSeriesStroke(int series, java.awt.Stroke stroke, boolean notify)
RendererChangeEvent
to all
registered listeners.
series
- the series.stroke
- the stroke.notify
- a flag that controls whether or not listeners are notified.public java.awt.Stroke getBaseStroke()
public void setBaseStroke(java.awt.Stroke stroke)
stroke
- the stroke.public void setBaseStroke(java.awt.Stroke stroke, boolean notify)
RendererChangeEvent
to all
registered listeners.
stroke
- the stroke.notify
- a flag that controls whether or not listeners are notified.public java.awt.Stroke getItemOutlineStroke(int row, int column)
The default implementation passes control to the getSeriesOutlineStroke method. You can override this method if you require different behaviour.
row
- the row (or series) index (zero-based).column
- the column (or category) index (zero-based).
public java.awt.Stroke getSeriesOutlineStroke(int series)
series
- the series (zero-based index).
public void setOutlineStroke(java.awt.Stroke stroke)
stroke
- the outline stroke.public void setOutlineStroke(java.awt.Stroke stroke, boolean notify)
RendererChangeEvent
to all registered listeners.
stroke
- the stroke (null
permitted).notify
- a flag that controls whether or not listeners are notified.public void setSeriesOutlineStroke(int series, java.awt.Stroke stroke)
series
- the series index (zero-based).stroke
- the stroke.public void setSeriesOutlineStroke(int series, java.awt.Stroke stroke, boolean notify)
RendererChangeEvent
to all registered listeners.
series
- the series index.stroke
- the stroke.notify
- a flag that controls whether or not listeners are notified.public java.awt.Stroke getBaseOutlineStroke()
public void setBaseOutlineStroke(java.awt.Stroke stroke)
stroke
- the base outline stroke.public void setBaseOutlineStroke(java.awt.Stroke stroke, boolean notify)
RendererChangeEvent
to all
registered listeners.
stroke
- the stroke.notify
- a flag that controls whether or not listeners are notified.public java.awt.Shape getItemShape(int row, int column)
The default implementation passes control to the getSeriesShape method. You can override this method if you require different behaviour.
row
- the row (or series) index (zero-based).column
- the column (or category) index (zero-based).
public java.awt.Shape getSeriesShape(int series)
series
- the series (zero-based index).
public void setShape(java.awt.Shape shape)
shape
- the shape (null
permitted).public void setShape(java.awt.Shape shape, boolean notify)
RendererChangeEvent
to all
registered listeners.
shape
- the shape (null
permitted).notify
- a flag that controls whether or not listeners are notified.public void setSeriesShape(int series, java.awt.Shape shape)
series
- the series index (zero-based).shape
- the shape.public void setSeriesShape(int series, java.awt.Shape shape, boolean notify)
RendererChangeEvent
to all
registered listeners.
series
- the series index (zero based).shape
- the shape.notify
- a flag that controls whether or not listeners are notified.public java.awt.Shape getBaseShape()
public void setBaseShape(java.awt.Shape shape)
shape
- the shape.public void setBaseShape(java.awt.Shape shape, boolean notify)
RendererChangeEvent
to all
registered listeners.
shape
- the shape.notify
- a flag that controls whether or not listeners are notified.protected java.awt.Shape createTransformedShape(java.awt.Shape shape, double translateX, double translateY)
shape
- the base shape.translateX
- the x translation.translateY
- the y translation.
public boolean isItemLabelVisible(int row, int column)
true
if an item label is visible, and false
otherwise.
row
- the row.column
- the column.
public boolean isSeriesItemLabelsVisible(int series)
true
if the item labels for a series area visible, and
false
otherwise.
series
- the series.
public void setItemLabelsVisible(boolean visible)
visible
- the flag.public void setItemLabelsVisible(java.lang.Boolean visible)
visible
- the flag (null
permitted).public void setItemLabelsVisible(java.lang.Boolean visible, boolean notify)
RendererChangeEvent
to all registered listeners.
visible
- a flag that controls whether or not the item labels are visible
(null
permitted).notify
- a flag that controls whether or not listeners are notified.public void setSeriesItemLabelsVisible(int series, java.lang.Boolean visible)
series
- the series.visible
- the flag.public void setSeriesItemLabelsVisible(int series, java.lang.Boolean visible, boolean notify)
RendererChangeEvent
to all registered listeners.
series
- the series index (zero-based).visible
- the visible flag.notify
- a flag that controls whether or not listeners are notified.public java.lang.Boolean getBaseItemLabelsVisible()
public void setBaseItemLabelsVisible(java.lang.Boolean visible)
visible
- the flag.public void setBaseItemLabelsVisible(java.lang.Boolean visible, boolean notify)
RendererChangeEvent
to all registered listeners.
visible
- the visibility flag.notify
- a flag that controls whether or not listeners are notified.public java.awt.Font getItemLabelFont(int row, int column)
row
- the row.column
- the column.
public java.awt.Font getSeriesItemLabelFont(int series)
series
- the series.
public void setItemLabelFont(java.awt.Font font)
font
- the font.public void setItemLabelFont(java.awt.Font font, boolean notify)
RendererChangeEvent
to all registered listeners.
font
- the font (null
permitted).notify
- a flag that controls whether or not listeners are notified.public void setSeriesItemLabelFont(int series, java.awt.Font font)
series
- the series.font
- the font.public void setSeriesItemLabelFont(int series, java.awt.Font font, boolean notify)
RendererChangeEvent
to all registered listeners.
series
- the series index (zero based).font
- the font.notify
- a flag that controls whether or not listeners are notified.public java.awt.Font getBaseItemLabelFont()
public void setBaseItemLabelFont(java.awt.Font font)
font
- the font.public void setBaseItemLabelFont(java.awt.Font font, boolean notify)
RendererChangeEvent
to all
registered listeners.
font
- the font.notify
- a flag that controls whether or not listeners are notified.public java.awt.Paint getItemLabelPaint(int row, int column)
row
- the row index (zero based).column
- the column index (zero based).
public java.awt.Paint getSeriesItemLabelPaint(int series)
series
- the series index (zero based).
public void setItemLabelPaint(java.awt.Paint paint)
paint
- the paint (null
permitted).public void setItemLabelPaint(java.awt.Paint paint, boolean notify)
RendererChangeEvent
to all registered listeners.
paint
- the paint.notify
- a flag that controls whether or not listeners are notified.public void setSeriesItemLabelPaint(int series, java.awt.Paint paint)
series
- the series (zero based index).paint
- the paint (null
permitted).public void setSeriesItemLabelPaint(int series, java.awt.Paint paint, boolean notify)
RendererChangeEvent
to all registered listeners.
series
- the series index (zero based).paint
- the paint.notify
- a flag that controls whether or not listeners are notified.public java.awt.Paint getBaseItemLabelPaint()
public void setBaseItemLabelPaint(java.awt.Paint paint)
paint
- the paint.public void setBaseItemLabelPaint(java.awt.Paint paint, boolean notify)
paint
- the paint.notify
- a flag that controls whether or not listeners are notified.public ItemLabelPosition getPositiveItemLabelPosition(int row, int column)
row
- the row.column
- the column.
public ItemLabelPosition getSeriesPositiveItemLabelPosition(int series)
series
- the series.
public ItemLabelPosition getPositiveItemLabelPosition()
public void setPositiveItemLabelPosition(ItemLabelPosition position)
position
- the position.public void setPositiveItemLabelPosition(ItemLabelPosition position, boolean notify)
position
- the position.notify
- a flag that controls whether or not a change event is generated.public void setSeriesPositiveItemLabelPosition(int series, ItemLabelPosition position)
series
- the series.position
- the position.public void setSeriesPositiveItemLabelPosition(int series, ItemLabelPosition position, boolean notify)
series
- the series index.position
- the position.notify
- a flag that controls whether or not a change event is generated.public ItemLabelPosition getBasePositiveItemLabelPosition()
public void setBasePositiveItemLabelPosition(ItemLabelPosition position)
position
- the position.public void setBasePositiveItemLabelPosition(ItemLabelPosition position, boolean notify)
RendererChangeEvent
to all registered listeners.
position
- the position.notify
- a flag that controls whether or not a change event is generated.public ItemLabelPosition getNegativeItemLabelPosition(int row, int column)
row
- the row.column
- the column.
public ItemLabelPosition getSeriesNegativeItemLabelPosition(int series)
series
- the series.
public ItemLabelPosition getNegativeItemLabelPosition()
public void setNegativeItemLabelPosition(ItemLabelPosition position)
position
- the position.public void setNegativeItemLabelPosition(ItemLabelPosition position, boolean notify)
position
- the position (null
permitted).notify
- a flag that controls whether or not a change event is generated.public void setSeriesNegativeItemLabelPosition(int series, ItemLabelPosition position)
series
- the series.position
- the position.public void setSeriesNegativeItemLabelPosition(int series, ItemLabelPosition position, boolean notify)
series
- the series.position
- the position.notify
- a flag that controls whether or not a change event is generated.public ItemLabelPosition getBaseNegativeItemLabelPosition()
public void setBaseNegativeItemLabelPosition(ItemLabelPosition position)
position
- the position.public void setBaseNegativeItemLabelPosition(ItemLabelPosition position, boolean notify)
RendererChangeEvent
to all registered listeners.
position
- the position.notify
- a flag that controls whether or not the change event is generated.public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- the listener.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- the listener.protected void firePropertyChanged(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
propertyName
- the name of the property.oldValue
- the old value.newValue
- the new value.public void addChangeListener(RendererChangeListener listener)
listener
- the object to be registered.public void removeChangeListener(RendererChangeListener listener)
listener
- the object to be unregistered.public void notifyListeners(RendererChangeEvent event)
event
- information about the change event.public boolean equals(java.lang.Object obj)
obj
- the object.
true
or false
.public int hashCode()
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- if some component of the renderer does not support
cloning.public ItemLabelAnchor getItemLabelAnchor(int row, int column)
row
- the row.column
- the column.
public ItemLabelAnchor getSeriesItemLabelAnchor(int series)
series
- the series.
public void setItemLabelAnchor(ItemLabelAnchor anchor)
anchor
- the anchor.public void setSeriesItemLabelAnchor(int series, ItemLabelAnchor anchor)
series
- the series.anchor
- the anchor.public ItemLabelAnchor getBaseItemLabelAnchor()
public void setBaseItemLabelAnchor(ItemLabelAnchor anchor)
anchor
- the anchor.public org.jfree.ui.TextAnchor getItemLabelTextAnchor(int row, int column)
row
- the row.column
- the column.
public org.jfree.ui.TextAnchor getSeriesItemLabelTextAnchor(int series)
series
- the series.
public void setItemLabelTextAnchor(org.jfree.ui.TextAnchor anchor)
anchor
- the anchor (null
permitted).public void setSeriesItemLabelTextAnchor(int series, org.jfree.ui.TextAnchor anchor)
series
- the series.anchor
- the anchor.public org.jfree.ui.TextAnchor getBaseItemLabelTextAnchor()
public void setBaseItemLabelTextAnchor(org.jfree.ui.TextAnchor anchor)
anchor
- the anchor.public org.jfree.ui.TextAnchor getItemLabelRotationAnchor(int row, int column)
row
- the row.column
- the column.
public org.jfree.ui.TextAnchor getSeriesItemLabelRotationAnchor(int series)
series
- the series.
public void setItemLabelRotationAnchor(org.jfree.ui.TextAnchor anchor)
anchor
- the anchor (null
permitted).public void setSeriesItemLabelRotationAnchor(int series, org.jfree.ui.TextAnchor anchor)
series
- the series.anchor
- the anchor point.public org.jfree.ui.TextAnchor getBaseItemLabelRotationAnchor()
public void setBaseItemLabelRotationAnchor(org.jfree.ui.TextAnchor anchor)
anchor
- the anchor point.public java.lang.Number getItemLabelAngle(int row, int column)
row
- the row.column
- the column.
public java.lang.Number getSeriesItemLabelAngle(int series)
series
- the series.
public void setItemLabelAngle(java.lang.Number angle)
angle
- the angle (null
permitted).public void setSeriesAngle(int series, java.lang.Number angle)
series
- the series.angle
- the angle.public java.lang.Number getBaseItemLabelAngle()
public void setBaseAngle(java.lang.Number angle)
angle
- the angle.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |