org.opennms.netmgt.config.charts
Class BarChart

java.lang.Object
  extended by org.opennms.netmgt.config.charts.BarChart
All Implemented Interfaces:
java.io.Serializable

public class BarChart
extends java.lang.Object
implements java.io.Serializable

Class BarChart.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
BarChart()
           
 
Method Summary
 void addSeriesDef(int index, SeriesDef vSeriesDef)
          Method addSeriesDef
 void addSeriesDef(SeriesDef vSeriesDef)
          Method addSeriesDef
 void addSubTitle(int index, SubTitle vSubTitle)
          Method addSubTitle
 void addSubTitle(SubTitle vSubTitle)
          Method addSubTitle
 void clearSeriesDef()
          Method clearSeriesDef
 void clearSubTitle()
          Method clearSubTitle
 void deleteDrawBarOutline()
          Method deleteDrawBarOutline
 void deleteShowLegend()
          Method deleteShowLegend
 void deleteShowToolTips()
          Method deleteShowToolTips
 void deleteShowUrls()
          Method deleteShowUrls
 java.util.Enumeration enumerateSeriesDef()
          Method enumerateSeriesDef
 java.util.Enumeration enumerateSubTitle()
          Method enumerateSubTitle
 java.lang.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'.
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getPlotOrientation()
          Returns the value of field 'plotOrientation'.
 java.lang.String getRangeAxisLabel()
          Returns the value of field 'rangeAxisLabel'.
 java.lang.String getSeriesColorClass()
          Returns the value of field 'seriesColorClass'.
 SeriesDef[] getSeriesDef()
          Method getSeriesDef
 SeriesDef getSeriesDef(int index)
          Method getSeriesDef
 java.util.ArrayList getSeriesDefCollection()
          Method getSeriesDefCollection Returns a reference to 'seriesDef'.
 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'.
 java.lang.String getSubLabelClass()
          Returns the value of field 'subLabelClass'.
 SubTitle[] getSubTitle()
          Method getSubTitle
 SubTitle getSubTitle(int index)
          Method getSubTitle
 java.util.ArrayList getSubTitleCollection()
          Method getSubTitleCollection Returns a reference to 'subTitle'.
 int getSubTitleCount()
          Method getSubTitleCount
 Title getTitle()
          Returns the value of field 'title'.
 java.lang.String getVariation()
          Returns the value of field 'variation'.
 boolean hasDrawBarOutline()
          Method hasDrawBarOutline
 boolean hasShowLegend()
          Method hasShowLegend
 boolean hasShowToolTips()
          Method hasShowToolTips
 boolean hasShowUrls()
          Method hasShowUrls
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeSeriesDef(SeriesDef vSeriesDef)
          Method removeSeriesDef
 boolean removeSubTitle(SubTitle vSubTitle)
          Method removeSubTitle
 void setDomainAxisLabel(java.lang.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(java.lang.String name)
          Sets the value of field 'name'.
 void setPlotOrientation(java.lang.String plotOrientation)
          Sets the value of field 'plotOrientation'.
 void setRangeAxisLabel(java.lang.String rangeAxisLabel)
          Sets the value of field 'rangeAxisLabel'.
 void setSeriesColorClass(java.lang.String seriesColorClass)
          Sets the value of field 'seriesColorClass'.
 void setSeriesDef(java.util.ArrayList seriesDefCollection)
          Method setSeriesDef Sets the value of 'seriesDef' by copying the given ArrayList.
 void setSeriesDef(int index, SeriesDef vSeriesDef)
          Method setSeriesDef
 void setSeriesDef(SeriesDef[] seriesDefArray)
          Method setSeriesDef
 void setSeriesDefCollection(java.util.ArrayList seriesDefCollection)
          Method setSeriesDefCollection Sets the value of 'seriesDef' by setting it to the given ArrayList.
 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(java.lang.String subLabelClass)
          Sets the value of field 'subLabelClass'.
 void setSubTitle(java.util.ArrayList subTitleCollection)
          Method setSubTitle Sets the value of 'subTitle' by copying the given ArrayList.
 void setSubTitle(int index, SubTitle vSubTitle)
          Method setSubTitle
 void setSubTitle(SubTitle[] subTitleArray)
          Method setSubTitle
 void setSubTitleCollection(java.util.ArrayList subTitleCollection)
          Method setSubTitleCollection Sets the value of 'subTitle' by setting it to the given ArrayList.
 void setTitle(Title title)
          Sets the value of field 'title'.
 void setVariation(java.lang.String variation)
          Sets the value of field 'variation'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BarChart

public BarChart()
Method Detail

addSeriesDef

public void addSeriesDef(SeriesDef vSeriesDef)
                  throws java.lang.IndexOutOfBoundsException
Method addSeriesDef

Parameters:
vSeriesDef -
Throws:
java.lang.IndexOutOfBoundsException

addSeriesDef

public void addSeriesDef(int index,
                         SeriesDef vSeriesDef)
                  throws java.lang.IndexOutOfBoundsException
Method addSeriesDef

Parameters:
index -
vSeriesDef -
Throws:
java.lang.IndexOutOfBoundsException

addSubTitle

public void addSubTitle(SubTitle vSubTitle)
                 throws java.lang.IndexOutOfBoundsException
Method addSubTitle

Parameters:
vSubTitle -
Throws:
java.lang.IndexOutOfBoundsException

addSubTitle

public void addSubTitle(int index,
                        SubTitle vSubTitle)
                 throws java.lang.IndexOutOfBoundsException
Method addSubTitle

Parameters:
index -
vSubTitle -
Throws:
java.lang.IndexOutOfBoundsException

clearSeriesDef

public void clearSeriesDef()
Method clearSeriesDef


clearSubTitle

public void clearSubTitle()
Method clearSubTitle


deleteDrawBarOutline

public void deleteDrawBarOutline()
Method deleteDrawBarOutline


deleteShowLegend

public void deleteShowLegend()
Method deleteShowLegend


deleteShowToolTips

public void deleteShowToolTips()
Method deleteShowToolTips


deleteShowUrls

public void deleteShowUrls()
Method deleteShowUrls


enumerateSeriesDef

public java.util.Enumeration enumerateSeriesDef()
Method enumerateSeriesDef

Returns:
Enumeration

enumerateSubTitle

public java.util.Enumeration enumerateSubTitle()
Method enumerateSubTitle

Returns:
Enumeration

getDomainAxisLabel

public java.lang.String getDomainAxisLabel()
Returns the value of field 'domainAxisLabel'.

Returns:
String

getDrawBarOutline

public boolean getDrawBarOutline()
Returns the value of field 'drawBarOutline'.

Returns:
boolean

getGridLines

public GridLines getGridLines()
Returns the value of field 'gridLines'.

Returns:
GridLines

getImageSize

public ImageSize getImageSize()
Returns the value of field 'imageSize'.

Returns:
ImageSize

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
String

getPlotOrientation

public java.lang.String getPlotOrientation()
Returns the value of field 'plotOrientation'.

Returns:
String

getRangeAxisLabel

public java.lang.String getRangeAxisLabel()
Returns the value of field 'rangeAxisLabel'.

Returns:
String

getSeriesColorClass

public java.lang.String getSeriesColorClass()
Returns the value of field 'seriesColorClass'.

Returns:
String

getSeriesDef

public SeriesDef getSeriesDef(int index)
                       throws java.lang.IndexOutOfBoundsException
Method getSeriesDef

Parameters:
index -
Returns:
SeriesDef
Throws:
java.lang.IndexOutOfBoundsException

getSeriesDef

public SeriesDef[] getSeriesDef()
Method getSeriesDef

Returns:
SeriesDef

getSeriesDefCollection

public java.util.ArrayList getSeriesDefCollection()
Method getSeriesDefCollection Returns a reference to 'seriesDef'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getSeriesDefCount

public int getSeriesDefCount()
Method getSeriesDefCount

Returns:
int

getShowLegend

public boolean getShowLegend()
Returns the value of field 'showLegend'.

Returns:
boolean

getShowToolTips

public boolean getShowToolTips()
Returns the value of field 'showToolTips'.

Returns:
boolean

getShowUrls

public boolean getShowUrls()
Returns the value of field 'showUrls'.

Returns:
boolean

getSubLabelClass

public java.lang.String getSubLabelClass()
Returns the value of field 'subLabelClass'.

Returns:
String

getSubTitle

public SubTitle getSubTitle(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getSubTitle

Parameters:
index -
Returns:
SubTitle
Throws:
java.lang.IndexOutOfBoundsException

getSubTitle

public SubTitle[] getSubTitle()
Method getSubTitle

Returns:
SubTitle

getSubTitleCollection

public java.util.ArrayList getSubTitleCollection()
Method getSubTitleCollection Returns a reference to 'subTitle'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getSubTitleCount

public int getSubTitleCount()
Method getSubTitleCount

Returns:
int

getTitle

public Title getTitle()
Returns the value of field 'title'.

Returns:
Title

getVariation

public java.lang.String getVariation()
Returns the value of field 'variation'.

Returns:
String

hasDrawBarOutline

public boolean hasDrawBarOutline()
Method hasDrawBarOutline

Returns:
boolean

hasShowLegend

public boolean hasShowLegend()
Method hasShowLegend

Returns:
boolean

hasShowToolTips

public boolean hasShowToolTips()
Method hasShowToolTips

Returns:
boolean

hasShowUrls

public boolean hasShowUrls()
Method hasShowUrls

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeSeriesDef

public boolean removeSeriesDef(SeriesDef vSeriesDef)
Method removeSeriesDef

Parameters:
vSeriesDef -
Returns:
boolean

removeSubTitle

public boolean removeSubTitle(SubTitle vSubTitle)
Method removeSubTitle

Parameters:
vSubTitle -
Returns:
boolean

setDomainAxisLabel

public void setDomainAxisLabel(java.lang.String domainAxisLabel)
Sets the value of field 'domainAxisLabel'.

Parameters:
domainAxisLabel - the value of field 'domainAxisLabel'.

setDrawBarOutline

public void setDrawBarOutline(boolean drawBarOutline)
Sets the value of field 'drawBarOutline'.

Parameters:
drawBarOutline - the value of field 'drawBarOutline'.

setGridLines

public void setGridLines(GridLines gridLines)
Sets the value of field 'gridLines'.

Parameters:
gridLines - the value of field 'gridLines'.

setImageSize

public void setImageSize(ImageSize imageSize)
Sets the value of field 'imageSize'.

Parameters:
imageSize - the value of field 'imageSize'.

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

Parameters:
name - the value of field 'name'.

setPlotOrientation

public void setPlotOrientation(java.lang.String plotOrientation)
Sets the value of field 'plotOrientation'.

Parameters:
plotOrientation - the value of field 'plotOrientation'.

setRangeAxisLabel

public void setRangeAxisLabel(java.lang.String rangeAxisLabel)
Sets the value of field 'rangeAxisLabel'.

Parameters:
rangeAxisLabel - the value of field 'rangeAxisLabel'.

setSeriesColorClass

public void setSeriesColorClass(java.lang.String seriesColorClass)
Sets the value of field 'seriesColorClass'.

Parameters:
seriesColorClass - the value of field 'seriesColorClass'

setSeriesDef

public void setSeriesDef(int index,
                         SeriesDef vSeriesDef)
                  throws java.lang.IndexOutOfBoundsException
Method setSeriesDef

Parameters:
index -
vSeriesDef -
Throws:
java.lang.IndexOutOfBoundsException

setSeriesDef

public void setSeriesDef(SeriesDef[] seriesDefArray)
Method setSeriesDef

Parameters:
seriesDefArray -

setSeriesDef

public void setSeriesDef(java.util.ArrayList seriesDefCollection)
Method setSeriesDef Sets the value of 'seriesDef' by copying the given ArrayList.

Parameters:
seriesDefCollection - the Vector to copy.

setSeriesDefCollection

public void setSeriesDefCollection(java.util.ArrayList seriesDefCollection)
Method setSeriesDefCollection Sets the value of 'seriesDef' by setting it to the given ArrayList. No type checking is performed.

Parameters:
seriesDefCollection - the ArrayList to copy.

setShowLegend

public void setShowLegend(boolean showLegend)
Sets the value of field 'showLegend'.

Parameters:
showLegend - the value of field 'showLegend'.

setShowToolTips

public void setShowToolTips(boolean showToolTips)
Sets the value of field 'showToolTips'.

Parameters:
showToolTips - the value of field 'showToolTips'.

setShowUrls

public void setShowUrls(boolean showUrls)
Sets the value of field 'showUrls'.

Parameters:
showUrls - the value of field 'showUrls'.

setSubLabelClass

public void setSubLabelClass(java.lang.String subLabelClass)
Sets the value of field 'subLabelClass'.

Parameters:
subLabelClass - the value of field 'subLabelClass'.

setSubTitle

public void setSubTitle(int index,
                        SubTitle vSubTitle)
                 throws java.lang.IndexOutOfBoundsException
Method setSubTitle

Parameters:
index -
vSubTitle -
Throws:
java.lang.IndexOutOfBoundsException

setSubTitle

public void setSubTitle(SubTitle[] subTitleArray)
Method setSubTitle

Parameters:
subTitleArray -

setSubTitle

public void setSubTitle(java.util.ArrayList subTitleCollection)
Method setSubTitle Sets the value of 'subTitle' by copying the given ArrayList.

Parameters:
subTitleCollection - the Vector to copy.

setSubTitleCollection

public void setSubTitleCollection(java.util.ArrayList subTitleCollection)
Method setSubTitleCollection Sets the value of 'subTitle' by setting it to the given ArrayList. No type checking is performed.

Parameters:
subTitleCollection - the ArrayList to copy.

setTitle

public void setTitle(Title title)
Sets the value of field 'title'.

Parameters:
title - the value of field 'title'.

setVariation

public void setVariation(java.lang.String variation)
Sets the value of field 'variation'.

Parameters:
variation - the value of field 'variation'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.