public class BarChart extends Object implements Serializable
Constructor and Description |
---|
BarChart() |
Modifier and Type | Method and Description |
---|---|
void |
addSeriesDef(int index,
SeriesDef vSeriesDef) |
void |
addSeriesDef(SeriesDef vSeriesDef) |
void |
addSubTitle(int index,
SubTitle vSubTitle) |
void |
addSubTitle(SubTitle vSubTitle) |
void |
deleteDrawBarOutline() |
void |
deleteShowLegend() |
void |
deleteShowToolTips() |
void |
deleteShowUrls() |
Enumeration<SeriesDef> |
enumerateSeriesDef()
Method enumerateSeriesDef.
|
Enumeration<SubTitle> |
enumerateSubTitle()
Method enumerateSubTitle.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
ChartBackgroundColor |
getChartBackgroundColor()
Returns the value of field 'chartBackgroundColor'.
|
String |
getDomainAxisLabel()
Returns the value of field 'domainAxisLabel'.
|
boolean |
getDrawBarOutline()
Returns the value of field 'drawBarOutline'.
|
GridLines |
getGridLines()
Returns the value of field 'gridLines'.
|
ImageSize |
getImageSize()
Returns the value of field 'imageSize'.
|
String |
getName()
Returns the value of field 'name'.
|
PlotBackgroundColor |
getPlotBackgroundColor()
Returns the value of field 'plotBackgroundColor'.
|
String |
getPlotOrientation()
Returns the value of field 'plotOrientation'.
|
String |
getRangeAxisLabel()
Returns the value of field 'rangeAxisLabel'.
|
String |
getSeriesColorClass()
Returns the value of field 'seriesColorClass'.
|
SeriesDef[] |
getSeriesDef()
Method getSeriesDef.Returns the contents of the collection
in an Array.
|
SeriesDef |
getSeriesDef(int index)
Method getSeriesDef.
|
List<SeriesDef> |
getSeriesDefCollection()
Method getSeriesDefCollection.Returns a reference to
'_seriesDefList'.
|
int |
getSeriesDefCount()
Method getSeriesDefCount.
|
boolean |
getShowLegend()
Returns the value of field 'showLegend'.
|
boolean |
getShowToolTips()
Returns the value of field 'showToolTips'.
|
boolean |
getShowUrls()
Returns the value of field 'showUrls'.
|
String |
getSubLabelClass()
Returns the value of field 'subLabelClass'.
|
SubTitle[] |
getSubTitle()
Method getSubTitle.Returns the contents of the collection in
an Array.
|
SubTitle |
getSubTitle(int index)
Method getSubTitle.
|
List<SubTitle> |
getSubTitleCollection()
Method getSubTitleCollection.Returns a reference to
'_subTitleList'.
|
int |
getSubTitleCount()
Method getSubTitleCount.
|
Title |
getTitle()
Returns the value of field 'title'.
|
String |
getVariation()
Returns the value of field 'variation'.
|
boolean |
hasDrawBarOutline()
Method hasDrawBarOutline.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasShowLegend()
Method hasShowLegend.
|
boolean |
hasShowToolTips()
Method hasShowToolTips.
|
boolean |
hasShowUrls()
Method hasShowUrls.
|
boolean |
isDrawBarOutline()
Returns the value of field 'drawBarOutline'.
|
boolean |
isShowLegend()
Returns the value of field 'showLegend'.
|
boolean |
isShowToolTips()
Returns the value of field 'showToolTips'.
|
boolean |
isShowUrls()
Returns the value of field 'showUrls'.
|
boolean |
isValid()
Method isValid.
|
Iterator<SeriesDef> |
iterateSeriesDef()
Method iterateSeriesDef.
|
Iterator<SubTitle> |
iterateSubTitle()
Method iterateSubTitle.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllSeriesDef() |
void |
removeAllSubTitle() |
boolean |
removeSeriesDef(SeriesDef vSeriesDef)
Method removeSeriesDef.
|
SeriesDef |
removeSeriesDefAt(int index)
Method removeSeriesDefAt.
|
boolean |
removeSubTitle(SubTitle vSubTitle)
Method removeSubTitle.
|
SubTitle |
removeSubTitleAt(int index)
Method removeSubTitleAt.
|
void |
setChartBackgroundColor(ChartBackgroundColor chartBackgroundColor)
Sets the value of field 'chartBackgroundColor'.
|
void |
setDomainAxisLabel(String domainAxisLabel)
Sets the value of field 'domainAxisLabel'.
|
void |
setDrawBarOutline(boolean drawBarOutline)
Sets the value of field 'drawBarOutline'.
|
void |
setGridLines(GridLines gridLines)
Sets the value of field 'gridLines'.
|
void |
setImageSize(ImageSize imageSize)
Sets the value of field 'imageSize'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setPlotBackgroundColor(PlotBackgroundColor plotBackgroundColor)
Sets the value of field 'plotBackgroundColor'.
|
void |
setPlotOrientation(String plotOrientation)
Sets the value of field 'plotOrientation'.
|
void |
setRangeAxisLabel(String rangeAxisLabel)
Sets the value of field 'rangeAxisLabel'.
|
void |
setSeriesColorClass(String seriesColorClass)
Sets the value of field 'seriesColorClass'.
|
void |
setSeriesDef(int index,
SeriesDef vSeriesDef) |
void |
setSeriesDef(List<SeriesDef> vSeriesDefList)
Sets the value of '_seriesDefList' by copying the given
Vector.
|
void |
setSeriesDef(SeriesDef[] vSeriesDefArray) |
void |
setSeriesDefCollection(List<SeriesDef> seriesDefList)
Deprecated.
|
void |
setShowLegend(boolean showLegend)
Sets the value of field 'showLegend'.
|
void |
setShowToolTips(boolean showToolTips)
Sets the value of field 'showToolTips'.
|
void |
setShowUrls(boolean showUrls)
Sets the value of field 'showUrls'.
|
void |
setSubLabelClass(String subLabelClass)
Sets the value of field 'subLabelClass'.
|
void |
setSubTitle(int index,
SubTitle vSubTitle) |
void |
setSubTitle(List<SubTitle> vSubTitleList)
Sets the value of '_subTitleList' by copying the given
Vector.
|
void |
setSubTitle(SubTitle[] vSubTitleArray) |
void |
setSubTitleCollection(List<SubTitle> subTitleList)
Deprecated.
|
void |
setTitle(Title title)
Sets the value of field 'title'.
|
void |
setVariation(String variation)
Sets the value of field 'variation'.
|
static BarChart |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addSeriesDef(SeriesDef vSeriesDef) throws IndexOutOfBoundsException
vSeriesDef
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSeriesDef(int index, SeriesDef vSeriesDef) throws IndexOutOfBoundsException
index
- vSeriesDef
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSubTitle(SubTitle vSubTitle) throws IndexOutOfBoundsException
vSubTitle
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSubTitle(int index, SubTitle vSubTitle) throws IndexOutOfBoundsException
index
- vSubTitle
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteDrawBarOutline()
public void deleteShowLegend()
public void deleteShowToolTips()
public void deleteShowUrls()
public Enumeration<SeriesDef> enumerateSeriesDef()
public Enumeration<SubTitle> enumerateSubTitle()
public boolean equals(Object obj)
public ChartBackgroundColor getChartBackgroundColor()
public String getDomainAxisLabel()
public boolean getDrawBarOutline()
public GridLines getGridLines()
public ImageSize getImageSize()
public String getName()
public PlotBackgroundColor getPlotBackgroundColor()
public String getPlotOrientation()
public String getRangeAxisLabel()
public String getSeriesColorClass()
public SeriesDef getSeriesDef(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic SeriesDef[] getSeriesDef()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<SeriesDef> getSeriesDefCollection()
public int getSeriesDefCount()
public boolean getShowLegend()
public boolean getShowToolTips()
public boolean getShowUrls()
public String getSubLabelClass()
public SubTitle getSubTitle(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic SubTitle[] getSubTitle()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<SubTitle> getSubTitleCollection()
public int getSubTitleCount()
public Title getTitle()
public String getVariation()
public boolean hasDrawBarOutline()
public boolean hasShowLegend()
public boolean hasShowToolTips()
public boolean hasShowUrls()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isDrawBarOutline()
public boolean isShowLegend()
public boolean isShowToolTips()
public boolean isShowUrls()
public boolean isValid()
public Iterator<SeriesDef> iterateSeriesDef()
public Iterator<SubTitle> iterateSubTitle()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllSeriesDef()
public void removeAllSubTitle()
public boolean removeSeriesDef(SeriesDef vSeriesDef)
vSeriesDef
- public SeriesDef removeSeriesDefAt(int index)
index
- public boolean removeSubTitle(SubTitle vSubTitle)
vSubTitle
- public SubTitle removeSubTitleAt(int index)
index
- public void setChartBackgroundColor(ChartBackgroundColor chartBackgroundColor)
chartBackgroundColor
- the value of field
'chartBackgroundColor'.public void setDomainAxisLabel(String domainAxisLabel)
domainAxisLabel
- the value of field 'domainAxisLabel'.public void setDrawBarOutline(boolean drawBarOutline)
drawBarOutline
- the value of field 'drawBarOutline'.public void setGridLines(GridLines gridLines)
gridLines
- the value of field 'gridLines'.public void setImageSize(ImageSize imageSize)
imageSize
- the value of field 'imageSize'.public void setName(String name)
name
- the value of field 'name'.public void setPlotBackgroundColor(PlotBackgroundColor plotBackgroundColor)
plotBackgroundColor
- the value of field
'plotBackgroundColor'.public void setPlotOrientation(String plotOrientation)
plotOrientation
- the value of field 'plotOrientation'.public void setRangeAxisLabel(String rangeAxisLabel)
rangeAxisLabel
- the value of field 'rangeAxisLabel'.public void setSeriesColorClass(String seriesColorClass)
seriesColorClass
- the value of field 'seriesColorClass'public void setSeriesDef(int index, SeriesDef vSeriesDef) throws IndexOutOfBoundsException
index
- vSeriesDef
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSeriesDef(SeriesDef[] vSeriesDefArray)
vSeriesDefArray
- public void setSeriesDef(List<SeriesDef> vSeriesDefList)
vSeriesDefList
- the Vector to copy.public void setSeriesDefCollection(List<SeriesDef> seriesDefList)
seriesDefList
- the Vector to set.public void setShowLegend(boolean showLegend)
showLegend
- the value of field 'showLegend'.public void setShowToolTips(boolean showToolTips)
showToolTips
- the value of field 'showToolTips'.public void setShowUrls(boolean showUrls)
showUrls
- the value of field 'showUrls'.public void setSubLabelClass(String subLabelClass)
subLabelClass
- the value of field 'subLabelClass'.public void setSubTitle(int index, SubTitle vSubTitle) throws IndexOutOfBoundsException
index
- vSubTitle
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSubTitle(SubTitle[] vSubTitleArray)
vSubTitleArray
- public void setSubTitle(List<SubTitle> vSubTitleList)
vSubTitleList
- the Vector to copy.public void setSubTitleCollection(List<SubTitle> subTitleList)
subTitleList
- the Vector to set.public void setTitle(Title title)
title
- the value of field 'title'.public void setVariation(String variation)
variation
- the value of field 'variation'.public static BarChart unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.