class-inheritance-$24.lzx
<canvas height="160" width="100%">
<class name="myframe" extends="view">
<attribute name="bgcolor" value="red
"/>
<attribute name="defaultplacement" value="'insideview'
"/>
<view x="5" y="5" width="${parent.width-10}" name="insideview" height="${parent.height-10}" bgcolor="#FFFFCC"/>
<view x="5" y="${parent.height}" name="anotherview" width="${parent.width-10}" height="10" bgcolor="blue"/>
</class>
<class name="subframe" extends="myframe">
<simplelayout axis="y"/>
<text bgcolor="teal">subframe text</text>
</class>
<myframe width="220" height="50">
<text>This is some text</text>
</myframe>
<subframe width="220" height="50" y="70">
<text bgcolor="green">More subframe text</text>
</subframe>
</canvas>
Cross References
Classes
- <class name="myframe" extends="view">
- <class name="subframe" extends="myframe">