Component.Component(className)

Creates a new Component based on the component's class name. Instantiation of the component is lazy. If the component does not have a public constructor without arguments, an attempt to invoke a non-static method will throw an exception. If that is the case, you must call initialize() passing a set of arguments that matches one of the component's constructors.

Arguments:

Name Type Description Mode
className String the component's class name in