Created
July 10, 2013 14:19
-
-
Save bsideup/5966687 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class View extends h2d.comp.Box { | |
public var h2d_comp__label0:h2d.comp.Label; | |
public var h2d_comp__button0:h2d.comp.Button; | |
public var h2d_comp__button1:h2d.comp.Button; | |
public var h2d_comp__button2:h2d.comp.Button; | |
public var h2d_comp__button3:h2d.comp.Button; | |
public var h2d_comp__box1:h2d.comp.Box; | |
public var h2d_comp__box0:h2d.comp.Box; | |
public var __checkboxView0:CheckboxView; | |
public var __checkboxView1:CheckboxView; | |
public var h2d_comp__label1:h2d.comp.Label; | |
public var h2d_comp__label2:h2d.comp.Label; | |
public var h2d_comp__checkbox0:h2d.comp.Checkbox; | |
/** | |
autogenerated constructor | |
**/ | |
public function new() { | |
super(); | |
this.h2d_comp__button3=init_h2d_comp__button3(); | |
this.h2d_comp__box1=init_h2d_comp__box1(); | |
this.h2d_comp__checkbox0=init_h2d_comp__checkbox0(); | |
this.inlineCss=" | |
.redBtn {border : 1px solid red;} | |
.redBtn:hover {border : 1px solid #990000;} | |
.lbl {font-size:26px;} | |
"; | |
this.h2d_comp__label2=init_h2d_comp__label2(); | |
this.h2d_comp__box0=init_h2d_comp__box0(); | |
this.layout=Vertical; | |
this.h2d_comp__button0=init_h2d_comp__button0(); | |
this.h2d_comp__button2=init_h2d_comp__button2(); | |
this.__checkboxView1=init___checkboxView1(); | |
this.__checkboxView0=init___checkboxView0(); | |
this.children=[init_h2d_comp__label0(),init_h2d_comp__button0(),init_h2d_comp__box0(),init___checkboxView0(),init___checkboxView1(),init_h2d_comp__label1(),init_h2d_comp__label2(),init_h2d_comp__checkbox0()]; | |
this.h2d_comp__label0=init_h2d_comp__label0(); | |
this.h2d_comp__button1=init_h2d_comp__button1(); | |
this.h2d_comp__label1=init_h2d_comp__label1(); | |
} | |
private function init_h2d_comp__button3() { | |
if(h2d_comp__button3!=null) return h2d_comp__button3 ; | |
h2d_comp__button3=new h2d.comp.Button(); | |
h2d_comp__button3.text="Button 4"; | |
return h2d_comp__button3; | |
} | |
private function init_h2d_comp__button2() { | |
if(h2d_comp__button2!=null) return h2d_comp__button2 ; | |
h2d_comp__button2=new h2d.comp.Button(); | |
h2d_comp__button2.text="Button 3"; | |
return h2d_comp__button2; | |
} | |
private function init_h2d_comp__box1() { | |
if(h2d_comp__box1!=null) return h2d_comp__box1 ; | |
h2d_comp__box1=new h2d.comp.Box(); | |
h2d_comp__box1.layout=Vertical; | |
h2d_comp__box1.children=[init_h2d_comp__button2(),init_h2d_comp__button3()]; | |
return h2d_comp__box1; | |
} | |
private function init_h2d_comp__checkbox0() { | |
if(h2d_comp__checkbox0!=null) return h2d_comp__checkbox0 ; | |
h2d_comp__checkbox0=new h2d.comp.Checkbox(); | |
return h2d_comp__checkbox0; | |
} | |
private function init_h2d_comp__label2() { | |
if(h2d_comp__label2!=null) return h2d_comp__label2 ; | |
h2d_comp__label2=new h2d.comp.Label(); | |
h2d_comp__label2.text="bar"; | |
return h2d_comp__label2; | |
} | |
private function init_h2d_comp__button1() { | |
if(h2d_comp__button1!=null) return h2d_comp__button1 ; | |
h2d_comp__button1=new h2d.comp.Button(); | |
h2d_comp__button1.text="Button 2"; | |
return h2d_comp__button1; | |
} | |
private function init_h2d_comp__box0() { | |
if(h2d_comp__box0!=null) return h2d_comp__box0 ; | |
h2d_comp__box0=new h2d.comp.Box(); | |
h2d_comp__box0.layout=Horizontal; | |
h2d_comp__box0.children=[init_h2d_comp__button1(),init_h2d_comp__box1()]; | |
return h2d_comp__box0; | |
} | |
private function init_h2d_comp__button0() { | |
if(h2d_comp__button0!=null) return h2d_comp__button0 ; | |
h2d_comp__button0=new h2d.comp.Button(); | |
h2d_comp__button0.text="Button 1"; | |
h2d_comp__button0.classes=["redBtn"]; | |
return h2d_comp__button0; | |
} | |
private function init___checkboxView1() { | |
if(__checkboxView1!=null) return __checkboxView1 ; | |
__checkboxView1=new CheckboxView(); | |
return __checkboxView1; | |
} | |
private function init___checkboxView0() { | |
if(__checkboxView0!=null) return __checkboxView0 ; | |
__checkboxView0=new CheckboxView(); | |
return __checkboxView0; | |
} | |
private function init_h2d_comp__label0() { | |
if(h2d_comp__label0!=null) return h2d_comp__label0 ; | |
h2d_comp__label0=new h2d.comp.Label(); | |
h2d_comp__label0.text="Hello, world!"; | |
h2d_comp__label0.classes=["lbl"]; | |
return h2d_comp__label0; | |
} | |
private function init_h2d_comp__label1() { | |
if(h2d_comp__label1!=null) return h2d_comp__label1 ; | |
h2d_comp__label1=new h2d.comp.Label(); | |
h2d_comp__label1.text="foo"; | |
return h2d_comp__label1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment