|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jangaroo.extxml.ExtXml
public final class ExtXml
A tool to define Ext JS Component suites in JavaScript, ActionScript, or XML (files with exml ending).
Usage: extxml target-namespace namespace-prefix xsd-output-file src-dir output-dir imported-xsd-file*
Scans the given source directory (src-dir) for Ext JS component class definitions in any of the following three formats:
All used or extended components from other component suites must be imported. This is done by enumeration their XML Schema file locations.
All ActionScipt files have to comply with the following structure:
{ ext.ComponentMgr.registerType(xtype, MyComponent); }
All JavaScript files must contain the following documentation annotations in order to be interpreted as an Ext JS component class:
@class - the fully qualified name of the JavaScript component class.
@extends - the fully qualified name of the super component class.
@xtype - the xtype under which to register the component class with Ext.
Furthermore, both JavaScript and ActionScript source files may define an arbitrary number of configuration parameters, using the following documentation annotation syntax:
@cfg {type} name description
The tool generates
| Method Summary | |
|---|---|
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void main(String[] args)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||