
net.jangaroo.extxml.templates.jangaroo_class.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ext-xml Show documentation
Show all versions of ext-xml Show documentation
Allows a declarative description of UI components
The newest version!
<#-- @ftlvariable name="" type="net.jangaroo.extxml.model.ComponentClass" -->
package ${packageName} {
import ext.Ext;
import ext.ComponentMgr;
<#list imports as import>
import ${import};
#list>
/**
* ${description!}
*
* Do not edit. this is an auto-generated class.
*/
public class ${className} extends ${superClassName} {
public static const xtype:String = "${xtype}";
{
ext.ComponentMgr.registerType(xtype, ${className});
}
/**<#list cfgs as cfg>
* @cfg {${cfg.jsType}} ${cfg.name}#list>
*
* @see ${className}
*/
public function ${className}(config:Object = null) {
super(Ext.apply(${jsonForTemplate!"{}"}, config || {}));
}
public static function main(config:Object = null):void {
new ${fullClassName}(config);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy