public class StandardChartStyle extends java.lang.Object implements ChartStyle, java.lang.Cloneable, java.io.Serializable
ChartStyle interface.
| Modifier and Type | Field and Description |
|---|---|
static java.awt.Color |
DEFAULT_AXIS_LABEL_COLOR
The default foreground color for axis labels.
|
static java.awt.Font |
DEFAULT_AXIS_LABEL_FONT
The default font for axis labels.
|
static java.awt.Color |
DEFAULT_AXIS_TICK_LABEL_COLOR
The default foreground color for axis tick labels.
|
static java.awt.Font |
DEFAULT_AXIS_TICK_LABEL_FONT
The default font for axis tick labels.
|
static java.awt.Color |
DEFAULT_CHARTBOX_COLOR
The default chartbox color.
|
static boolean |
DEFAULT_COLUMN_GRIDLINES_VISIBLE
The default visibility for gridlines perpendicular to the column-axis.
|
static java.awt.Color |
DEFAULT_GRIDLINE_COLOR
The default gridline color.
|
static java.awt.Stroke |
DEFAULT_GRIDLINE_STROKE
The default gridline stroke.
|
static java.awt.Color |
DEFAULT_LEGEND_FOOTER_COLOR
The default foreground color for the legend footer if there is one.
|
static java.awt.Font |
DEFAULT_LEGEND_FOOTER_FONT
The default font for legend footers.
|
static java.awt.Color |
DEFAULT_LEGEND_HEADER_COLOR
The default foreground color for the legend header if there is one.
|
static java.awt.Font |
DEFAULT_LEGEND_HEADER_FONT
The default font for legend headers.
|
static java.awt.Color |
DEFAULT_LEGEND_ITEM_BACKGROUND_COLOR
The default legend item background color.
|
static java.awt.Color |
DEFAULT_LEGEND_ITEM_COLOR
The default legend item color.
|
static java.awt.Font |
DEFAULT_LEGEND_ITEM_FONT
The default font for legend item text.
|
static java.awt.Shape |
DEFAULT_LEGEND_ITEM_SHAPE
The default legend item shape.
|
static java.awt.Color |
DEFAULT_MARKER_FILL_COLOR |
static java.awt.Color |
DEFAULT_MARKER_LABEL_COLOR |
static java.awt.Font |
DEFAULT_MARKER_LABEL_FONT |
static java.awt.Color |
DEFAULT_MARKER_LINE_COLOR |
static java.awt.Stroke |
DEFAULT_MARKER_LINE_STROKE |
static boolean |
DEFAULT_ROW_GRIDLINES_VISIBLE
The default visibility for gridlines perpendicular to the row-axis.
|
static java.awt.Color |
DEFAULT_SECTION_LABEL_COLOR
The default color for pie section labels.
|
static java.awt.Font |
DEFAULT_SECTION_LABEL_FONT
The default font for pie section labels.
|
static java.awt.Font |
DEFAULT_SUBTITLE_FONT
The default subtitle font.
|
static java.awt.Color |
DEFAULT_TEXT_BACKGROUND_COLOR
The default background color for the title and subtitle, and legend
header and footer.
|
static java.awt.Font |
DEFAULT_TITLE_FONT
The default title font.
|
static boolean |
DEFAULT_X_GRIDLINES_VISIBLE
The default visibility for gridlines perpendicular to the x-axis.
|
static boolean |
DEFAULT_Y_GRIDLINES_VISIBLE
The default visibility for gridlines perpendicular to the y-axis.
|
static boolean |
DEFAULT_Z_GRIDLINES_VISIBLE
The default visibility for gridlines perpendicular to the z-axis.
|
| Constructor and Description |
|---|
StandardChartStyle()
Creates a new instance with default attributes.
|
StandardChartStyle(StandardChartStyle source)
A copy constructor that creates a new style that is a copy of an
existing style (note that the existing style listeners are not copied).
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChangeListener(ChartStyleChangeListener listener)
Registers a listener to receive notification of changes to the chart.
|
ChartStyle |
clone()
Returns a clone of the chart style (note that the change listeners
are not cloned).
|
static java.awt.Font |
createDefaultFont(int style,
int size)
Creates a default font with the specified
style and
size. |
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object.
|
protected void |
fireChangeEvent()
Sends a
ChartStyleChangeEvent to all registered listeners. |
java.awt.Color |
getAxisLabelColor()
Returns the foreground color for the axis label (the main label, not
the tick labels).
|
java.awt.Font |
getAxisLabelFont()
Returns the font used for the axis label.
|
java.awt.Color |
getAxisTickLabelColor()
Returns the color used to draw the tick labels on the axis.
|
java.awt.Font |
getAxisTickLabelFont()
Returns the font used for the axis tick labels.
|
RectanglePainter |
getBackgroundPainter()
Returns the background painter.
|
java.awt.Color |
getChartBoxColor()
Returns the color used for the
ChartBox3D (for those charts that
have one). |
boolean |
getColumnAxisGridlinesVisible()
Returns the flag that controls whether or not gridlines are drawn
perpendicular to the column axis in category plots.
|
java.awt.Color |
getGridlineColor()
Returns the color used for the gridlines.
|
java.awt.Stroke |
getGridlineStroke()
Returns the stroke used to draw the gridlines.
|
java.awt.Color |
getLegendFooterBackgroundColor()
Returns the background color for the legend footer.
|
java.awt.Color |
getLegendFooterColor()
Returns the foreground color for the legend footer.
|
java.awt.Font |
getLegendFooterFont()
Returns the font for the legend footer.
|
java.awt.Color |
getLegendHeaderBackgroundColor()
Returns the background color for the legend header.
|
java.awt.Color |
getLegendHeaderColor()
Returns the foreground color for the legend header.
|
java.awt.Font |
getLegendHeaderFont()
Returns the font used to display the legend header.
|
java.awt.Color |
getLegendItemBackgroundColor()
Returns the background color for legend items.
|
java.awt.Color |
getLegendItemColor()
Returns the foreground color used for the legend items.
|
java.awt.Font |
getLegendItemFont()
Returns the font used for legend item text.
|
java.awt.Shape |
getLegendItemShape()
Returns the standard shape for legend items.
|
java.awt.Color |
getMarkerFillColor()
Returns the color used to fill the band representing the marker range.
|
java.awt.Color |
getMarkerLabelColor()
Returns the color for the marker labels.
|
java.awt.Font |
getMarkerLabelFont()
Returns the font used to draw marker labels.
|
java.awt.Color |
getMarkerLineColor()
Returns the color used to draw marker lines.
|
java.awt.Stroke |
getMarkerLineStroke()
Returns the stroke used to draw marker lines.
|
boolean |
getRowAxisGridlinesVisible()
Returns the flag that controls whether or not gridlines are drawn
perpendicular to the row axis in category plots.
|
java.awt.Color |
getSectionLabelColor()
Returns the color used to display pie section labels.
|
java.awt.Font |
getSectionLabelFont()
Returns the font used for pie section labels.
|
java.awt.Color[] |
getStandardColors()
Returns the standard colors for the style.
|
java.awt.Color |
getSubtitleBackgroundColor()
Returns the background color for the chart subtitle.
|
java.awt.Color |
getSubtitleColor()
Returns the color for the chart subtitle.
|
java.awt.Font |
getSubtitleFont()
Returns the font used for the chart subtitle.
|
java.awt.Color |
getTitleBackgroundColor()
Returns the background color for the title.
|
java.awt.Color |
getTitleColor()
Returns the title color.
|
java.awt.Font |
getTitleFont()
Returns the chart title font.
|
boolean |
getXAxisGridlinesVisible()
Returns the flag that specifies whether or not gridlines are drawn for
the x-axis.
|
boolean |
getYAxisGridlinesVisible()
Returns the flag that specifies whether or not gridlines are drawn for
the y-axis.
|
boolean |
getZAxisGridlinesVisible()
Returns the flag that specifies whether or not gridlines are drawn for
the z-axis.
|
boolean |
isNotify()
Returns a flag that controls whether or not change events are sent to
registered listeners.
|
void |
notifyListeners(ChartStyleChangeEvent event)
Notifies all registered listeners that the chart style has been modified.
|
void |
removeChangeListener(ChartStyleChangeListener listener)
Deregisters a listener so that it no longer receives notification of
changes to the chart.
|
void |
setAxisLabelColor(java.awt.Color color)
Sets the foreground color for the axis label and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setAxisLabelFont(java.awt.Font font)
Sets the font used for the axis label and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setAxisTickLabelColor(java.awt.Color color)
Sets the foreground color for the axis tick labels and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setAxisTickLabelFont(java.awt.Font font)
Sets the font used for the axis tick labels and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setBackgroundPainter(RectanglePainter painter)
Sets the background painter.
|
void |
setChartBoxColor(java.awt.Color color)
Sets the color used for the chart box and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setGridlineColor(java.awt.Color color)
Sets the color for the gridlines and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setGridlineStroke(java.awt.Stroke stroke)
Sets the stroke used for gridlines and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setLegendFooterBackgroundColor(java.awt.Color color)
Sets the background color for the legend footer and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setLegendFooterColor(java.awt.Color color)
Sets the foreground color for the legend footer and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setLegendFooterFont(java.awt.Font font)
Sets the legend footer font and sends a
ChartStyleChangeEvent to
all registered listeners. |
void |
setLegendHeaderBackgroundColor(java.awt.Color color)
Sets the background color for the legend header and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setLegendHeaderColor(java.awt.Color color)
Sets the foreground color for the legend header and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setLegendHeaderFont(java.awt.Font font)
Sets the legend header font and sends a
ChartStyleChangeEvent to
all registered listeners. |
void |
setLegendItemBackgroundColor(java.awt.Color color)
Sets the background color for legend items and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setLegendItemColor(java.awt.Color color)
Sets the foreground color used for legend item text and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setLegendItemFont(java.awt.Font font)
Sets the legend item font and sends a
ChartStyleChangeEvent to
all registered listeners. |
void |
setLegendItemShape(java.awt.Shape shape)
Sets the default shape for legend items and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setMarkerFillColor(java.awt.Color color)
Sets the marker fill color and sends a change event to all registered
listeners.
|
void |
setMarkerLabelColor(java.awt.Color color)
Sets the color for the marker labels and sends a change event to all
registered listeners.
|
void |
setMarkerLabelFont(java.awt.Font font)
Sets the marker label font and sends a change event to all registered
listeners.
|
void |
setMarkerLineColor(java.awt.Color color)
Sets the marker line color and sends a change event to all registered
listeners.
|
void |
setMarkerLineStroke(java.awt.Stroke stroke)
Sets the stroke for the marker lines and sends a change event to all
registered listeners.
|
void |
setNotify(boolean notify)
Sets a flag that controls whether or not listeners receive
ChartStyleChangeEvent notifications. |
void |
setSectionLabelColor(java.awt.Color color)
Sets the color used for the pie section labels and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setSectionLabelFont(java.awt.Font font)
Sets the font used for the pie section labels and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setStandardColors(java.awt.Color... colors)
Sets the standard colors for the chart and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setSubtitleBackgroundColor(java.awt.Color color)
Sets the background color for the chart subtitle and sends a
change event to all registered listeners.
|
void |
setSubtitleColor(java.awt.Color color)
Sets the color for the chart subtitle and sends a
change event to all registered listeners.
|
void |
setSubtitleFont(java.awt.Font font)
Sets the font used for the chart subtitle and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setTitleBackgroundColor(java.awt.Color color)
Sets the background color for the title and sends a
change event to all registered listeners.
|
void |
setTitleColor(java.awt.Color color)
Sets the foreground color for the chart title and sends a
change event to all registered listeners.
|
void |
setTitleFont(java.awt.Font font)
Sets the font used for the chart title and sends a
ChartStyleChangeEvent to all registered listeners. |
void |
setXAxisGridlinesVisible(boolean visible)
Sets the flag that controls whether or not gridlines are drawn for
the x-axis and sends a
ChartStyleChangeEvent to all
registered listeners. |
void |
setYAxisGridlinesVisible(boolean visible)
Sets the flag that controls whether or not gridlines are drawn for
the y-axis and sends a
ChartStyleChangeEvent to all
registered listeners. |
void |
setZAxisGridlinesVisible(boolean visible)
Sets the flag that controls whether or not gridlines are drawn for
the z-axis and sends a
ChartStyleChangeEvent to all
registered listeners. |
public static final java.awt.Color DEFAULT_TEXT_BACKGROUND_COLOR
public static final java.awt.Font DEFAULT_TITLE_FONT
public static final java.awt.Font DEFAULT_SUBTITLE_FONT
public static final java.awt.Color DEFAULT_CHARTBOX_COLOR
public static final boolean DEFAULT_ROW_GRIDLINES_VISIBLE
public static final boolean DEFAULT_COLUMN_GRIDLINES_VISIBLE
public static final boolean DEFAULT_X_GRIDLINES_VISIBLE
public static final boolean DEFAULT_Y_GRIDLINES_VISIBLE
public static final boolean DEFAULT_Z_GRIDLINES_VISIBLE
public static final java.awt.Color DEFAULT_GRIDLINE_COLOR
public static final java.awt.Stroke DEFAULT_GRIDLINE_STROKE
public static final java.awt.Font DEFAULT_SECTION_LABEL_FONT
public static final java.awt.Color DEFAULT_SECTION_LABEL_COLOR
public static final java.awt.Font DEFAULT_AXIS_LABEL_FONT
public static final java.awt.Color DEFAULT_AXIS_LABEL_COLOR
public static final java.awt.Font DEFAULT_AXIS_TICK_LABEL_FONT
public static final java.awt.Color DEFAULT_AXIS_TICK_LABEL_COLOR
public static final java.awt.Font DEFAULT_LEGEND_HEADER_FONT
public static final java.awt.Color DEFAULT_LEGEND_HEADER_COLOR
public static final java.awt.Shape DEFAULT_LEGEND_ITEM_SHAPE
public static final java.awt.Font DEFAULT_LEGEND_ITEM_FONT
public static final java.awt.Color DEFAULT_LEGEND_ITEM_COLOR
public static final java.awt.Color DEFAULT_LEGEND_ITEM_BACKGROUND_COLOR
public static final java.awt.Font DEFAULT_LEGEND_FOOTER_FONT
public static final java.awt.Color DEFAULT_LEGEND_FOOTER_COLOR
public static final java.awt.Font DEFAULT_MARKER_LABEL_FONT
public static final java.awt.Color DEFAULT_MARKER_LABEL_COLOR
public static final java.awt.Stroke DEFAULT_MARKER_LINE_STROKE
public static final java.awt.Color DEFAULT_MARKER_LINE_COLOR
public static final java.awt.Color DEFAULT_MARKER_FILL_COLOR
public StandardChartStyle()
public StandardChartStyle(StandardChartStyle source)
source - the source style to copy (null not
permitted).public static java.awt.Font createDefaultFont(int style, int size)
style and
size. The method attempts to use 'Palatino Linotype'
('Palatino' on MacOSX) but if it is not found it falls back to the
Font.SERIF font family.style - the style (see java.awt.Font).size - the size.public RectanglePainter getBackgroundPainter()
getBackgroundPainter in interface ChartStylenull).public void setBackgroundPainter(RectanglePainter painter)
painter - the painter (null not permitted).public java.awt.Font getTitleFont()
DEFAULT_TITLE_FONT.getTitleFont in interface ChartStylenull).public void setTitleFont(java.awt.Font font)
ChartStyleChangeEvent to all registered listeners.font - the font (null not permitted).public java.awt.Color getTitleColor()
Color.BLACK.getTitleColor in interface ChartStylenull).public void setTitleColor(java.awt.Color color)
color - the color (null not permitted).public java.awt.Color getTitleBackgroundColor()
DEFAULT_TEXT_BACKGROUND_COLOR.getTitleBackgroundColor in interface ChartStylenull).public void setTitleBackgroundColor(java.awt.Color color)
color - the color (null not permitted).public java.awt.Font getSubtitleFont()
DEFAULT_SUBTITLE_FONT.getSubtitleFont in interface ChartStylenull).public void setSubtitleFont(java.awt.Font font)
ChartStyleChangeEvent to all registered listeners.font - the font (null not permitted).public java.awt.Color getSubtitleColor()
Color.BLACK.getSubtitleColor in interface ChartStylenull).public void setSubtitleColor(java.awt.Color color)
color - the color (null not permitted).public java.awt.Color getSubtitleBackgroundColor()
DEFAULT_TEXT_BACKGROUND_COLOR.getSubtitleBackgroundColor in interface ChartStylenull).public void setSubtitleBackgroundColor(java.awt.Color color)
color - the color (null not permitted).public java.awt.Color getChartBoxColor()
ChartBox3D (for those charts that
have one). The default value is DEFAULT_CHARTBOX_COLOR.getChartBoxColor in interface ChartStylenull).public void setChartBoxColor(java.awt.Color color)
ChartStyleChangeEvent to all registered listeners.color - the color (null not permitted).public boolean getColumnAxisGridlinesVisible()
getColumnAxisGridlinesVisible in interface ChartStylepublic boolean getRowAxisGridlinesVisible()
getRowAxisGridlinesVisible in interface ChartStylepublic boolean getXAxisGridlinesVisible()
false.getXAxisGridlinesVisible in interface ChartStylepublic void setXAxisGridlinesVisible(boolean visible)
ChartStyleChangeEvent to all
registered listeners.visible - the new flag value.public boolean getYAxisGridlinesVisible()
true.getYAxisGridlinesVisible in interface ChartStylepublic void setYAxisGridlinesVisible(boolean visible)
ChartStyleChangeEvent to all
registered listeners.visible - the new flag value.public boolean getZAxisGridlinesVisible()
true.getZAxisGridlinesVisible in interface ChartStylepublic void setZAxisGridlinesVisible(boolean visible)
ChartStyleChangeEvent to all
registered listeners.visible - the new flag value.public java.awt.Color getGridlineColor()
DEFAULT_GRIDLINE_STROKE.getGridlineColor in interface ChartStylenull).public void setGridlineColor(java.awt.Color color)
ChartStyleChangeEvent to all registered listeners.color - the color (null not permitted).public java.awt.Stroke getGridlineStroke()
DEFAULT_GRIDLINE_STROKE.getGridlineStroke in interface ChartStylenull).public void setGridlineStroke(java.awt.Stroke stroke)
ChartStyleChangeEvent to all registered listeners.stroke - the stroke (null not permitted).public java.awt.Font getSectionLabelFont()
DEFAULT_SECTION_LABEL_FONT.getSectionLabelFont in interface ChartStylenull).public void setSectionLabelFont(java.awt.Font font)
ChartStyleChangeEvent to all registered listeners.font - the font (null not permitted).public java.awt.Color getSectionLabelColor()
DEFAULT_SECTION_LABEL_COLOR.getSectionLabelColor in interface ChartStylenull).public void setSectionLabelColor(java.awt.Color color)
ChartStyleChangeEvent to all registered listeners.color - the color (null not permitted).public java.awt.Color[] getStandardColors()
Colors.getDefaultColors().getStandardColors in interface ChartStylenull).public void setStandardColors(java.awt.Color... colors)
ChartStyleChangeEvent to all registered listeners.colors - the colors (null not permitted).public java.awt.Font getAxisLabelFont()
DEFAULT_AXIS_LABEL_FONT.getAxisLabelFont in interface ChartStyleChartStyle.getAxisTickLabelFont()public void setAxisLabelFont(java.awt.Font font)
ChartStyleChangeEvent to all registered listeners.font - the font (null not permitted).public java.awt.Color getAxisLabelColor()
DEFAULT_AXIS_LABEL_COLOR.getAxisLabelColor in interface ChartStylenull).public void setAxisLabelColor(java.awt.Color color)
ChartStyleChangeEvent to all registered listeners.color - the color (null not permitted).public java.awt.Font getAxisTickLabelFont()
DEFAULT_AXIS_TICK_LABEL_FONT.getAxisTickLabelFont in interface ChartStylenull).ChartStyle.getAxisLabelFont()public void setAxisTickLabelFont(java.awt.Font font)
ChartStyleChangeEvent to all registered listeners.font - the font (null not permitted).public java.awt.Color getAxisTickLabelColor()
DEFAULT_AXIS_TICK_LABEL_COLOR.getAxisTickLabelColor in interface ChartStylenull).public void setAxisTickLabelColor(java.awt.Color color)
ChartStyleChangeEvent to all registered listeners.color - the color (null not permitted).public java.awt.Font getLegendHeaderFont()
DEFAULT_LEGEND_HEADER_FONT.getLegendHeaderFont in interface ChartStylenull).public void setLegendHeaderFont(java.awt.Font font)
ChartStyleChangeEvent to
all registered listeners.font - the font (null not permitted).public java.awt.Color getLegendHeaderColor()
DEFAULT_LEGEND_HEADER_COLOR.getLegendHeaderColor in interface ChartStylenull).public void setLegendHeaderColor(java.awt.Color color)
ChartStyleChangeEvent to all registered listeners.color - the color (null not permitted).public java.awt.Color getLegendHeaderBackgroundColor()
DEFAULT_TEXT_BACKGROUND_COLOR.getLegendHeaderBackgroundColor in interface ChartStylenull).public void setLegendHeaderBackgroundColor(java.awt.Color color)
ChartStyleChangeEvent to all registered listeners.color - the color (null not permitted).public java.awt.Shape getLegendItemShape()
DEFAULT_LEGEND_ITEM_SHAPE.getLegendItemShape in interface ChartStylenull).public void setLegendItemShape(java.awt.Shape shape)
ChartStyleChangeEvent to all registered listeners.shape - the shape (null not permitted).public java.awt.Font getLegendItemFont()
DEFAULT_LEGEND_ITEM_FONT.getLegendItemFont in interface ChartStylenull).public void setLegendItemFont(java.awt.Font font)
ChartStyleChangeEvent to
all registered listeners.font - the font (null not permitted).public java.awt.Color getLegendItemColor()
DEFAULT_LEGEND_ITEM_COLOR.getLegendItemColor in interface ChartStylenull).public void setLegendItemColor(java.awt.Color color)
ChartStyleChangeEvent to all registered listeners.color - the color (null not permitted).public java.awt.Color getLegendItemBackgroundColor()
DEFAULT_LEGEND_ITEM_BACKGROUND_COLOR.getLegendItemBackgroundColor in interface ChartStylenull).public void setLegendItemBackgroundColor(java.awt.Color color)
ChartStyleChangeEvent to all registered listeners.color - the color (null not permitted).public java.awt.Font getLegendFooterFont()
DEFAULT_LEGEND_FOOTER_FONT.getLegendFooterFont in interface ChartStylenull).public void setLegendFooterFont(java.awt.Font font)
ChartStyleChangeEvent to
all registered listeners.font - the font (null not permitted).public java.awt.Color getLegendFooterColor()
DEFAULT_LEGEND_FOOTER_COLOR.getLegendFooterColor in interface ChartStylenull).public void setLegendFooterColor(java.awt.Color color)
ChartStyleChangeEvent to all registered listeners.color - the color (null not permitted).public java.awt.Color getLegendFooterBackgroundColor()
DEFAULT_TEXT_BACKGROUND_COLOR.getLegendFooterBackgroundColor in interface ChartStylenull).public void setLegendFooterBackgroundColor(java.awt.Color color)
ChartStyleChangeEvent to all registered listeners.color - the color (null not permitted).public java.awt.Font getMarkerLabelFont()
getMarkerLabelFont in interface ChartStylenull).public void setMarkerLabelFont(java.awt.Font font)
font - the font (null not permitted).public java.awt.Color getMarkerLabelColor()
getMarkerLabelColor in interface ChartStylenull).public void setMarkerLabelColor(java.awt.Color color)
color - the color (null not permitted).public java.awt.Stroke getMarkerLineStroke()
getMarkerLineStroke in interface ChartStylenull).public void setMarkerLineStroke(java.awt.Stroke stroke)
stroke - the stroke (null not permitted).public java.awt.Color getMarkerLineColor()
getMarkerLineColor in interface ChartStylenull).public void setMarkerLineColor(java.awt.Color color)
color - the color (null not permitted).public java.awt.Color getMarkerFillColor()
getMarkerFillColor in interface ChartStylenull).public void setMarkerFillColor(java.awt.Color color)
color - the color (null not permitted).public void addChangeListener(ChartStyleChangeListener listener)
addChangeListener in interface ChartStylelistener - the listener.public void removeChangeListener(ChartStyleChangeListener listener)
removeChangeListener in interface ChartStylelistener - the listener.public void notifyListeners(ChartStyleChangeEvent event)
event - information about the change event.public boolean isNotify()
setNotify(boolean)public void setNotify(boolean notify)
ChartStyleChangeEvent notifications. This can be useful when
updating multiple style attributes, you can call setNotify(false) first,
update the styles, then call setNotify(true) at the end.notify - a boolean.isNotify()protected void fireChangeEvent()
ChartStyleChangeEvent to all registered listeners.public ChartStyle clone()
clone in interface ChartStyleclone in class java.lang.Objectnull).public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).