Components-$78.lzx
<canvas height="200">
<include href="base/basetree.lzx"/>
<class name="echotree" extends="basetree">
<view placement="item" layout="axis: x; spacing: 2" bgcolor="${classroot.selected ? classroot.style.selectedcolor : classroot.parent.bgcolor}">
<handler name="onclick">
classroot.changeFocus();
if (! classroot.isleaf) {
classroot.setAttribute("open", ! classroot.open);
}
</handler>
<text text="${classroot.text}" resize="true"/>
<text text="${classroot.text}" resize="true"/>
</view>
</class>
<view x="20" y="20" layout="axis: x; spacing: 10">
<echotree>paragraph
<echotree>sentence
<echotree>words
<echotree isleaf="true">letter</echotree>
<echotree isleaf="true">number</echotree>
<echotree isleaf="true">punctuation</echotree>
</echotree>
</echotree>
</echotree>
</view>
</canvas>
Cross References
Includes
Classes
- <class name="echotree" extends="basetree">