Show:

ia.ComponentConfig Class

Extends ia.WidgetConfig
Module: ia

Holds the configuration information for a report component.

Constructor

ia.ComponentConfig

(
  • xml
)

Parameters:

  • xml XML

    The XML data that describes the component.

Methods

_parseButtonXML

(
  • xml
)
protected

Protected method to be used by subclasses when parsing xml.

Parameters:

  • xml XML

    The xml data.

_parseComponentXML

(
  • xml
)
protected

Protected method to be used by subclasses when parsing xml.

Parameters:

  • xml XML

    The xml data.

getProperties

() Associative Array

Returns the widgets properties.

Returns:

Associative Array: properties[propertyId] = property.

getProperty

(
  • id
)
Number | String

Gets the value for the property with the given id.

Parameters:

  • id String

    The property id.

Returns:

Number | String: The property value.

parseXML

(
  • xml
)

Inherited from ia.WidgetConfig but overwritten in ia\config\ComponentConfig.js:17

Parses in an XML object containing the configuration xml.

Parameters:

  • xml XML

    The xml data.

setProperty

(
  • id
  • value
  • castValue
)

Sets the value for the property with the given id.

Parameters:

  • id String

    The property id.

  • value Number | String

    The property value.

  • castValue Boolean

    Indicates 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

Inherited from ia.WidgetConfig but overwritten in ia\config\WidgetConfig.js:16

The raw xml data describing the object.