All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.jangaroo.extxml.templates.jangaroo_class.ftl Maven / Gradle / Ivy

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};


/**
 * ${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}
   *
   * @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