public class AbstractChartConfig extends java.lang.Object implements ChartInfoNotifier, ChartConfig
Modifier and Type | Field and Description |
---|---|
protected ChartProperties |
props |
Constructor and Description |
---|
AbstractChartConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addChartDataListener(ChartDataListener l) |
void |
addPropertyListener(ChartInfoNotifier property) |
int |
getBgAlpha()
Returns the alpha (opacity) for the background.
|
java.lang.String |
getBgColor()
Returns the background color for the chart.
|
ChartProperties |
getChartProperties() |
protected ChartProperties |
initChartProperties()
Might be overwritten in other constructor
|
boolean |
isAnimation()
Returns whether to perform animation.
|
void |
removeChartDataListener(ChartDataListener l) |
void |
removePropertyListener(ChartInfoNotifier property) |
void |
setAnimation(boolean animation)
Sets whether to perform animation.
|
void |
setBgAlpha(int bgAlpha)
Sets the alpha (opacity) for the background.
|
void |
setBgColor(java.lang.String bgColor)
Sets the background color for the chart.
|
protected ChartProperties props
protected ChartProperties initChartProperties()
public boolean isAnimation()
public void setAnimation(boolean animation)
public java.lang.String getBgColor()
public void setBgColor(java.lang.String bgColor)
public int getBgAlpha()
public void setBgAlpha(int bgAlpha)
public void addChartDataListener(ChartDataListener l)
addChartDataListener
in interface ChartInfoNotifier
public void removeChartDataListener(ChartDataListener l)
removeChartDataListener
in interface ChartInfoNotifier
public void addPropertyListener(ChartInfoNotifier property)
addPropertyListener
in interface ChartInfoNotifier
public void removePropertyListener(ChartInfoNotifier property)
removePropertyListener
in interface ChartInfoNotifier
public ChartProperties getChartProperties()
getChartProperties
in interface ChartConfig
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.