Previous Element | Next Element |
Component
This specifies a single component to be included in the RVML
document. The component must be locatable on the component
path. The class definitions for the component are
immediately available to the KineticFusion compiler.
Attributes
id | A mandatory attribute specifying the name of the component. This is the name of the component on the component path and also used as the symbol ID to identify the component within the RVML document. | |
Type | String | |
type | The type of component. Currently only SWC components are supported. | |
Type | String | |
Values | swc | |
Default Value | swc | |
name | The file name of the component. By default, KineticFusion looks for components that have the same file name as the component ID e.g. It will assume that the DataGrid component resides in a component file called DataGrid.swc. This is only a naming convention however - this attribute is used to explicitly specify the name of the component file in which the desired component resides. It can be used to to specify a different version of a component, or for components whose component IDs do not match the name of the SWC files in which they are stored. | |
Type | String | |
Default Value | {Component ID}.swc |
Child Elements
None
Parent Elements
ComponentsExamples
None
Previous Element | Next Element |