namespace ui
{
export class ZhenFaSelfItemUI extends morn.View
{
public tips:morn.Label;
public constructor()
{
super();
//this.initVisible = false;
//App.stage.addEventListener(UIEvent.RENDER_COMPLETED,onRenderComplete);
}
protected createChildren():void
{
super.createChildren();
//initObject();
//this.initNewObject();
var t = this;
this.width = 540
this.height = 40
t.tips = new morn.Label
this.ac(t.tips)
t.tips.text = “label”
t.tips.x = 1
t.tips.y = 2
t.tips.width = 538
t.tips.size = 24
t.tips.color = 0x804120
t.tips.isHtml = true
t.tips.multiline = true
t.tips.wordWrap = true
t.tips.font = “”
//createView(uiXML);
//createViewByObject(_obj);
}
//private initNewObject():void
//{
//App.timer.doFrameOnce(1,nextFrame);
//nextFrame();
//}
//public static uiXML:XML =
//{xm l};
}
}
这种typescript写的ui该用什么编辑器才能可视化