ia.ComponentConfig Class
Holds the configuration information for a report component.
Constructor
ia.ComponentConfig
(
-
xml
Parameters:
-
xml
XMLThe XML data that describes the component.
Item Index
Properties
Methods
_parseButtonXML
(
protected
-
xml
Protected method to be used by subclasses when parsing xml.
Parameters:
-
xml
XMLThe xml data.
_parseComponentXML
(
protected
-
xml
Protected method to be used by subclasses when parsing xml.
Parameters:
-
xml
XMLThe xml data.
getProperties
()
Associative Array
Returns the widgets properties.
Returns:
Associative Array:
properties[propertyId] = property.
getProperty
(
Number | String
-
id
Gets the value for the property with the given id.
Parameters:
-
id
StringThe property id.
Returns:
Number | String:
The property value.
parseXML
(
-
xml
Parses in an XML object containing the configuration xml.
Parameters:
-
xml
XMLThe xml data.
setProperty
(
-
id
-
value
-
castValue
Sets the value for the property with the given id.
Parameters:
-
id
StringThe property id.
-
value
Number | StringThe property value.
-
castValue
BooleanIndicates the value is a string and needs to be cast to the correct data type.
Properties
properties
Associative Array
The widgets properties, properties[propertyId] = property.
type
String
The widget node type 'component', 'table', 'button', 'text' or 'image'.
xml
XML
The raw xml data describing the object.