net.sf.dynamicreports.adhoc.xmlconfiguration
Class XmlAdhocChart

java.lang.Object
  extended by net.sf.dynamicreports.adhoc.xmlconfiguration.XmlAdhocComponent
      extended by net.sf.dynamicreports.adhoc.xmlconfiguration.XmlAdhocChart

public class XmlAdhocChart
extends XmlAdhocComponent

Java class for Chart complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Chart">
   <complexContent>
     <extension base="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Component">
       <sequence>
         <element name="titleFont" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Font" minOccurs="0"/>
         <element name="serie" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}ChartSerie" maxOccurs="unbounded" minOccurs="0"/>
         <element name="seriesColors" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="xAxisFormat" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}AxisFormat" minOccurs="0"/>
         <element name="yAxisFormat" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}AxisFormat" minOccurs="0"/>
       </sequence>
       <attribute name="type" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}ChartType" />
       <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="titleColor" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="showLegend" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="xValue" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="orientation" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Orientation" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  XmlAdhocOrientation orientation
           
protected  List<XmlAdhocChartSerie> serie
           
protected  List<String> seriesColors
           
protected  Boolean showLegend
           
protected  String title
           
protected  String titleColor
           
protected  XmlAdhocFont titleFont
           
protected  XmlAdhocChartType type
           
protected  XmlAdhocAxisFormat xAxisFormat
           
protected  String xValue
           
protected  XmlAdhocAxisFormat yAxisFormat
           
 
Fields inherited from class net.sf.dynamicreports.adhoc.xmlconfiguration.XmlAdhocComponent
height, key, property, style, width
 
Constructor Summary
XmlAdhocChart()
           
 
Method Summary
 XmlAdhocOrientation getOrientation()
          Gets the value of the orientation property.
 List<XmlAdhocChartSerie> getSerie()
          Gets the value of the serie property.
 List<String> getSeriesColors()
          Gets the value of the seriesColors property.
 String getTitle()
          Gets the value of the title property.
 String getTitleColor()
          Gets the value of the titleColor property.
 XmlAdhocFont getTitleFont()
          Gets the value of the titleFont property.
 XmlAdhocChartType getType()
          Gets the value of the type property.
 XmlAdhocAxisFormat getXAxisFormat()
          Gets the value of the xAxisFormat property.
 String getXValue()
          Gets the value of the xValue property.
 XmlAdhocAxisFormat getYAxisFormat()
          Gets the value of the yAxisFormat property.
 Boolean isShowLegend()
          Gets the value of the showLegend property.
 void setOrientation(XmlAdhocOrientation value)
          Sets the value of the orientation property.
 void setShowLegend(Boolean value)
          Sets the value of the showLegend property.
 void setTitle(String value)
          Sets the value of the title property.
 void setTitleColor(String value)
          Sets the value of the titleColor property.
 void setTitleFont(XmlAdhocFont value)
          Sets the value of the titleFont property.
 void setType(XmlAdhocChartType value)
          Sets the value of the type property.
 void setXAxisFormat(XmlAdhocAxisFormat value)
          Sets the value of the xAxisFormat property.
 void setXValue(String value)
          Sets the value of the xValue property.
 void setYAxisFormat(XmlAdhocAxisFormat value)
          Sets the value of the yAxisFormat property.
 
Methods inherited from class net.sf.dynamicreports.adhoc.xmlconfiguration.XmlAdhocComponent
getHeight, getKey, getProperty, getStyle, getWidth, setHeight, setKey, setStyle, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

titleFont

protected XmlAdhocFont titleFont

serie

protected List<XmlAdhocChartSerie> serie

seriesColors

protected List<String> seriesColors

xAxisFormat

protected XmlAdhocAxisFormat xAxisFormat

yAxisFormat

protected XmlAdhocAxisFormat yAxisFormat

type

protected XmlAdhocChartType type

title

protected String title

titleColor

protected String titleColor

showLegend

protected Boolean showLegend

xValue

protected String xValue

orientation

protected XmlAdhocOrientation orientation
Constructor Detail

XmlAdhocChart

public XmlAdhocChart()
Method Detail

getTitleFont

public XmlAdhocFont getTitleFont()
Gets the value of the titleFont property.

Returns:
possible object is XmlAdhocFont

setTitleFont

public void setTitleFont(XmlAdhocFont value)
Sets the value of the titleFont property.

Parameters:
value - allowed object is XmlAdhocFont

getSerie

public List<XmlAdhocChartSerie> getSerie()
Gets the value of the serie property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the serie property.

For example, to add a new item, do as follows:

    getSerie().add(newItem);
 

Objects of the following type(s) are allowed in the list XmlAdhocChartSerie


getSeriesColors

public List<String> getSeriesColors()
Gets the value of the seriesColors property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the seriesColors property.

For example, to add a new item, do as follows:

    getSeriesColors().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getXAxisFormat

public XmlAdhocAxisFormat getXAxisFormat()
Gets the value of the xAxisFormat property.

Returns:
possible object is XmlAdhocAxisFormat

setXAxisFormat

public void setXAxisFormat(XmlAdhocAxisFormat value)
Sets the value of the xAxisFormat property.

Parameters:
value - allowed object is XmlAdhocAxisFormat

getYAxisFormat

public XmlAdhocAxisFormat getYAxisFormat()
Gets the value of the yAxisFormat property.

Returns:
possible object is XmlAdhocAxisFormat

setYAxisFormat

public void setYAxisFormat(XmlAdhocAxisFormat value)
Sets the value of the yAxisFormat property.

Parameters:
value - allowed object is XmlAdhocAxisFormat

getType

public XmlAdhocChartType getType()
Gets the value of the type property.

Returns:
possible object is XmlAdhocChartType

setType

public void setType(XmlAdhocChartType value)
Sets the value of the type property.

Parameters:
value - allowed object is XmlAdhocChartType

getTitle

public String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

getTitleColor

public String getTitleColor()
Gets the value of the titleColor property.

Returns:
possible object is String

setTitleColor

public void setTitleColor(String value)
Sets the value of the titleColor property.

Parameters:
value - allowed object is String

isShowLegend

public Boolean isShowLegend()
Gets the value of the showLegend property.

Returns:
possible object is Boolean

setShowLegend

public void setShowLegend(Boolean value)
Sets the value of the showLegend property.

Parameters:
value - allowed object is Boolean

getXValue

public String getXValue()
Gets the value of the xValue property.

Returns:
possible object is String

setXValue

public void setXValue(String value)
Sets the value of the xValue property.

Parameters:
value - allowed object is String

getOrientation

public XmlAdhocOrientation getOrientation()
Gets the value of the orientation property.

Returns:
possible object is XmlAdhocOrientation

setOrientation

public void setOrientation(XmlAdhocOrientation value)
Sets the value of the orientation property.

Parameters:
value - allowed object is XmlAdhocOrientation


Copyright © 2010-2013. All Rights Reserved.