Description

The description for the component

Members

Functions

componentType
ClassInfo componentType()

Get the type of the component the description is for.

createInstance
Component createInstance()

Create an instance of the component the description is for.

fields
immutable(Field[]) fields()

Get a list of teh fields on a component.

fromComponent
const(Description) fromComponent(const Component comp)

Creates a description from a component.

refresh
void refresh(Component comp, const Description newDesc)

Refresh a component by comparing descriptions.

Variables

type
string type;

The type of the component.

Meta