net.sf.dynamicreports.adhoc.xmlconfiguration
Class XmlAdhocComponent

java.lang.Object
  extended by net.sf.dynamicreports.adhoc.xmlconfiguration.XmlAdhocComponent
Direct Known Subclasses:
XmlAdhocChart, XmlAdhocTextField

public class XmlAdhocComponent
extends Object

Java class for Component complex type.

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

 <complexType name="Component">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="style" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Style" minOccurs="0"/>
         <element name="property" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Property" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Integer height
           
protected  String key
           
protected  List<XmlAdhocProperty> property
           
protected  XmlAdhocStyle style
           
protected  Integer width
           
 
Constructor Summary
XmlAdhocComponent()
           
 
Method Summary
 Integer getHeight()
          Gets the value of the height property.
 String getKey()
          Gets the value of the key property.
 List<XmlAdhocProperty> getProperty()
          Gets the value of the property property.
 XmlAdhocStyle getStyle()
          Gets the value of the style property.
 Integer getWidth()
          Gets the value of the width property.
 void setHeight(Integer value)
          Sets the value of the height property.
 void setKey(String value)
          Sets the value of the key property.
 void setStyle(XmlAdhocStyle value)
          Sets the value of the style property.
 void setWidth(Integer value)
          Sets the value of the width property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

style

protected XmlAdhocStyle style

property

protected List<XmlAdhocProperty> property

key

protected String key

width

protected Integer width

height

protected Integer height
Constructor Detail

XmlAdhocComponent

public XmlAdhocComponent()
Method Detail

getStyle

public XmlAdhocStyle getStyle()
Gets the value of the style property.

Returns:
possible object is XmlAdhocStyle

setStyle

public void setStyle(XmlAdhocStyle value)
Sets the value of the style property.

Parameters:
value - allowed object is XmlAdhocStyle

getProperty

public List<XmlAdhocProperty> getProperty()
Gets the value of the property 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 property property.

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

    getProperty().add(newItem);
 

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


getKey

public String getKey()
Gets the value of the key property.

Returns:
possible object is String

setKey

public void setKey(String value)
Sets the value of the key property.

Parameters:
value - allowed object is String

getWidth

public Integer getWidth()
Gets the value of the width property.

Returns:
possible object is Integer

setWidth

public void setWidth(Integer value)
Sets the value of the width property.

Parameters:
value - allowed object is Integer

getHeight

public Integer getHeight()
Gets the value of the height property.

Returns:
possible object is Integer

setHeight

public void setHeight(Integer value)
Sets the value of the height property.

Parameters:
value - allowed object is Integer


Copyright © 2010-2013. All Rights Reserved.