<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Displaying the default icons from a Flex Tree control</title>
	<atom:link href="http://blog.flexexamples.com/2007/11/26/displaying-the-default-icons-from-a-flex-tree-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/11/26/displaying-the-default-icons-from-a-flex-tree-control/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 14:19:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: vijender</title>
		<link>http://blog.flexexamples.com/2007/11/26/displaying-the-default-icons-from-a-flex-tree-control/comment-page-1/#comment-6189</link>
		<dc:creator>vijender</dc:creator>
		<pubDate>Sun, 01 Nov 2009 08:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/26/displaying-the-default-icons-from-a-flex-tree-control/#comment-6189</guid>
		<description>you have to create the icon in custom class inherited from treeitemrenderer and add this icon.

the code is like this :-
&lt;pre lang=&quot;actionscript3&quot;&gt;
public class CustomTreeItemRenderer extends TreeItemRenderer
	{
		public var imgEdit:Image;
		public var imgDelete:Image;
		public var imgCancel:Image;
		public var imgOk:Image;
		public var imgUnselectedLeaf:Image;
		public var hboximg:HBox;
		private var srcEditImage:String =&quot;Images/Edit.png&quot;;
		private var srcCancelImage:String =&quot;Images/Cancel.png&quot;;
		private var srcDeleteImage:String =&quot;Images/Delete.png&quot;;
		private var srcOkImage:String =&quot;Images/Ok.png&quot;;
		private var srcUnselectedLeaf:String=&quot;Images/Unselect.png&quot;;
		private var ltxtWidth:int;
		private var stxtvalue:String;
		private var objtreeControl:com.crawford.controls.TreeControl;
		public var bEditLeaf:Boolean=false;
		public var bDeleteLeaf:Boolean=false;
		public var bselectLeaf:Boolean=false;
		public var bunselectLeaf:Boolean=false;
		private static var bFromEditEvent:Boolean=false;
		
		public function CustomTreeItemRenderer()
		{		
			if(objtreeControl==null)
			{
				objtreeControl=new com.crawford.controls.TreeControl;
				bEditLeaf=objtreeControl.EditLeaf;
				bDeleteLeaf=objtreeControl.DeleteLeaf;
				bselectLeaf=objtreeControl.selectLeaf;
				bunselectLeaf=objtreeControl.UnselectLeaf;
			}	
		}
		
		// Override the set method for the data property
        // to set the font color and style of each node.        
        override public function set data(value:Object):void 
        {
            super.data = value;
            if(TreeListData(super.listData).hasChildren)
            {
               // setStyle(&quot;color&quot;, 0xff0000);
                
                setStyle(&quot;fontWeight&quot;, &#039;bold&#039;);
            }
            else
            {
            	
                setStyle(&quot;color&quot;, 0x000000);
                setStyle(&quot;fontWeight&quot;, &#039;normal&#039;);                
            }  
        }
     
        // Override the updateDisplayList() method 
        // to set the text for each tree node.      
        override protected function updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void 
        {   
            super.updateDisplayList(unscaledWidth, unscaledHeight);
                        
            if(super.data)
            {
                if(TreeListData(super.listData).hasChildren==false)
                {
                    var tmp:XMLList = new XMLList(TreeListData(super.listData).item);
                    var myStr:int = tmp[0].children().length();
                   
                    super.label.text=  TreeListData(super.listData).label;
                    
                    var lineMetrics:TextLineMetrics = measureText(TreeListData(super.listData).label);
        			ltxtWidth = lineMetrics.width ;
                                 
                   if(bEditLeaf)
                   {
                     imgEdit.visible=true;
                     imgCancel.visible=true;
                     imgOk.visible=true;
                   }
                   
                   if(bDeleteLeaf)
                   {
                   	 imgDelete.visible=true;
                   }                    
                   
                    if (super.icon != null)
			       {
					    imgUnselectedLeaf.x = super.icon.x+50;
					    imgUnselectedLeaf.y = 2;
					  					    
					    hboximg.x= super.icon.x+ltxtWidth+50;
				  		hboximg.y=0;
				   }
				   else
			       {
					    imgUnselectedLeaf.x = super.label.x+50;
					    imgUnselectedLeaf.y = 2;
					 
					    hboximg.x= super.label.x+ltxtWidth+50;
				  		hboximg.y=0;
				   } 
				    
                           			
				   
				    if(bFromEditEvent==false)
				    {
				    	txtEditvalue.visible=false;
				    	hboximg.visible=false;
				    }
				    bFromEditEvent=false;
				    
				                }                
            }
        }
        
        
        private function ImageEditing(evt:MouseEvent):void
        {
        	        	
        	hboximg.removeAllChildren();
        	hboximg.addChildAt(imgOk,0);
        	hboximg.addChildAt(imgCancel,1);
        		
        
        	imgEdit.visible=false;
        	imgDelete.visible=false;
        	
        	imgCancel.visible=true;
        	imgOk.visible=true;
        	
        	var lineMetrics:TextLineMetrics = measureText(TreeListData(super.listData).label);
        	ltxtWidth = lineMetrics.width ;
        			
        	txtEditvalue.visible=true;
        	txtEditvalue.setFocus();
        	txtEditvalue.height=super.label.height+3;
        	txtEditvalue.width=ltxtWidth+10;
        	txtEditvalue.x=super.label.x;
        	txtEditvalue.y=super.label.y;
        	txtEditvalue.setStyle(&quot;borderWidth&quot;,3);
        	txtEditvalue.setStyle(&quot;borderColor&quot;,&quot;black&quot;);
        	txtEditvalue.text= super.label.text;
        	stxtvalue=super.label.text;   
        	txtEditvalue.visible=true;  
        	hboximg.visible=true;   
        	bFromEditEvent=true;	
        }
        
        
        private function ImageDelete(evt:MouseEvent):void
        {
        	var node:XMLList = new XMLList(TreeListData(super.listData).item);
        	delete node[0];
        }
        
        
        private function onChangeTextValue(evt:KeyboardEvent):void
        {	        	
        	hboximg.visible=true;        	        	
        	if(evt.keyCode==Keyboard.ENTER)
        	{
        		okEnter();
        	}
        	
        	if(evt.keyCode==Keyboard.ESCAPE)
        	{
        		cancelEnter();
        	}
        }
        
        private function ImageOk(evt:MouseEvent):void
        {	
        	okEnter();
        }
        
        private function ImageCancel(evt:MouseEvent):void
        {
        	cancelEnter();
        }
        
        private function cancelEnter():void
        {
        	txtEditvalue.visible=false;
        	txtEditvalue.text=stxtvalue;
        	
        	hboximg.removeAllChildren();
        	
        	hboximg.addChild(imgEdit);
        	if(bDeleteLeaf)
        	{
        		hboximg.addChild(imgDelete);
        		imgDelete.visible=true;
        	}        	
        	imgEdit.visible=true;       	
        }
        
        private function okEnter():void
        {
        	var ltxtWidth:int;
        	
        	super.label.text=txtEditvalue.text;
        	TreeListData(super.listData).label=txtEditvalue.text;        	
        	txtEditvalue.visible=false;
        	
        	hboximg.removeAllChildren();
        	
        	var lineMetrics:TextLineMetrics = measureText(TreeListData(super.listData).label);
        	ltxtWidth = lineMetrics.width ;
        	
        	hboximg.addChild(imgEdit);
        	if(bDeleteLeaf)
        	{
        		hboximg.addChild(imgDelete);
        		imgDelete.visible=true;
        	}        	
        	imgEdit.visible=true;
        	
        	
        	hboximg.x= super.icon.x+ltxtWidth+50;        	
			hboximg.y=0;
        }
        
        private function onImageUnselectedLeaf(evt:Event):void
        {
        	Alert.show(&quot;hi&quot;);
        }
        
        override protected function createChildren():void
        {
        	super.createChildren();
        	
        	if(hboximg==null)
        	{
        		hboximg=new HBox();
        		hboximg.height=16;
        		hboximg.width=100;
        		hboximg.setStyle(&quot;horizontalGap&quot;,4);
        	}
        	
        	if(imgEdit==null)
        	{
        		imgEdit=new Image();
        		imgEdit.source=srcEditImage;
        		imgEdit.height=15;
        		imgEdit.width=15;
        		imgEdit.visible=false;
        		imgEdit.setStyle(&quot;verticalAlign&quot;, &quot;middle&quot;);
        		imgEdit.addEventListener(MouseEvent.CLICK,ImageEditing);										
        	}
        	
        	if(imgCancel==null)
        	{
        		imgCancel=new Image();
        		imgCancel.source=srcCancelImage;
        		imgCancel.height=15;
        		imgCancel.width=15;
        		imgCancel.visible=false;
        		imgCancel.setStyle(&quot;verticalAlign&quot;, &quot;middle&quot;);			
        		imgCancel.addEventListener(MouseEvent.CLICK,ImageCancel);							
        	}
        	
        	if(imgDelete==null)
        	{
        		imgDelete=new Image();
        		imgDelete.source=srcDeleteImage;
        		imgDelete.height=15;
        		imgDelete.width=15;
        		imgDelete.visible=false;
        		imgDelete.setStyle(&quot;verticalAlign&quot;, &quot;middle&quot;);
        		imgDelete.addEventListener(MouseEvent.CLICK,ImageDelete);										
        	}
        	
        	if(imgOk==null)
        	{
        		imgOk=new Image();
        		imgOk.source=srcOkImage;
        		imgOk.height=15;
        		imgOk.width=15;
        		imgOk.visible=false;
        		imgOk.setStyle(&quot;verticalAlign&quot;, &quot;middle&quot;);
        		imgOk.addEventListener(MouseEvent.CLICK,ImageOk);										
        	}
        	
        	if(imgUnselectedLeaf==null)
        	{
        		imgUnselectedLeaf=new Image();
        		imgUnselectedLeaf.source=srcUnselectedLeaf;
        		imgUnselectedLeaf.height=15;
        		imgUnselectedLeaf.width=15;
        		imgUnselectedLeaf.visible=false;
        		imgUnselectedLeaf.setStyle(&quot;verticalAlign&quot;, &quot;middle&quot;);
        		imgUnselectedLeaf.addEventListener(MouseEvent.CLICK,onImageUnselectedLeaf);
        	}
        	
        	if(txtEditvalue==null)
        	{
        		txtEditvalue=new TextInput();
        		txtEditvalue.visible=true;
        		txtEditvalue.addEventListener(KeyboardEvent.KEY_UP,onChangeTextValue);	
        	}
        	
        	
        	if(bEditLeaf)
        	{
        		hboximg.addChild(imgEdit);
        	}   
        	
        	if(bDeleteLeaf)
        	{     	
        		hboximg.addChild(imgDelete);
        	}
        	
        	if(bEditLeaf &#124;&#124; bDeleteLeaf)
        	{
        		this.addChild(hboximg);		
        	}
        		
        	this.addChild(txtEditvalue);
        	this.addChild(imgUnselectedLeaf);
          }
       }
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>you have to create the icon in custom class inherited from treeitemrenderer and add this icon.</p>
<p>the code is like this :-</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> CustomTreeItemRenderer <span style="color: #0033ff; font-weight: bold;">extends</span> TreeItemRenderer
	<span style="color: #000000;">&#123;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> imgEdit<span style="color: #000066; font-weight: bold;">:</span>Image<span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> imgDelete<span style="color: #000066; font-weight: bold;">:</span>Image<span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> imgCancel<span style="color: #000066; font-weight: bold;">:</span>Image<span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> imgOk<span style="color: #000066; font-weight: bold;">:</span>Image<span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> imgUnselectedLeaf<span style="color: #000066; font-weight: bold;">:</span>Image<span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> hboximg<span style="color: #000066; font-weight: bold;">:</span>HBox<span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> srcEditImage<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">String</span> =<span style="color: #990000;">&quot;Images/Edit.png&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> srcCancelImage<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">String</span> =<span style="color: #990000;">&quot;Images/Cancel.png&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> srcDeleteImage<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">String</span> =<span style="color: #990000;">&quot;Images/Delete.png&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> srcOkImage<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">String</span> =<span style="color: #990000;">&quot;Images/Ok.png&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> srcUnselectedLeaf<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">String</span>=<span style="color: #990000;">&quot;Images/Unselect.png&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> ltxtWidth<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">int</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> stxtvalue<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">String</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> objtreeControl<span style="color: #000066; font-weight: bold;">:</span>com<span style="color: #000066; font-weight: bold;">.</span>crawford<span style="color: #000066; font-weight: bold;">.</span>controls<span style="color: #000066; font-weight: bold;">.</span>TreeControl<span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> bEditLeaf<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> bDeleteLeaf<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> bselectLeaf<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> bunselectLeaf<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> static <span style="color: #6699cc; font-weight: bold;">var</span> bFromEditEvent<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> CustomTreeItemRenderer<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
		<span style="color: #000000;">&#123;</span>		
			<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>objtreeControl==<span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span>
			<span style="color: #000000;">&#123;</span>
				objtreeControl=<span style="color: #0033ff; font-weight: bold;">new</span> com<span style="color: #000066; font-weight: bold;">.</span>crawford<span style="color: #000066; font-weight: bold;">.</span>controls<span style="color: #000066; font-weight: bold;">.</span>TreeControl<span style="color: #000066; font-weight: bold;">;</span>
				bEditLeaf=objtreeControl<span style="color: #000066; font-weight: bold;">.</span>EditLeaf<span style="color: #000066; font-weight: bold;">;</span>
				bDeleteLeaf=objtreeControl<span style="color: #000066; font-weight: bold;">.</span>DeleteLeaf<span style="color: #000066; font-weight: bold;">;</span>
				bselectLeaf=objtreeControl<span style="color: #000066; font-weight: bold;">.</span>selectLeaf<span style="color: #000066; font-weight: bold;">;</span>
				bunselectLeaf=objtreeControl<span style="color: #000066; font-weight: bold;">.</span>UnselectLeaf<span style="color: #000066; font-weight: bold;">;</span>
			<span style="color: #000000;">&#125;</span>	
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #009900; font-style: italic;">// Override the set method for the data property</span>
        <span style="color: #009900; font-style: italic;">// to set the font color and style of each node.        </span>
        override <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #0033ff; font-weight: bold;">set</span> <span style="color: #004993;">data</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">value</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Object</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> 
        <span style="color: #000000;">&#123;</span>
            <span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">data</span> = <span style="color: #004993;">value</span><span style="color: #000066; font-weight: bold;">;</span>
            <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>TreeListData<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>listData<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span>hasChildren<span style="color: #000000;">&#41;</span>
            <span style="color: #000000;">&#123;</span>
               <span style="color: #009900; font-style: italic;">// setStyle(&quot;color&quot;, 0xff0000);</span>
&nbsp;
                <span style="color: #004993;">setStyle</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;fontWeight&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">'bold'</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
            <span style="color: #000000;">&#125;</span>
            <span style="color: #0033ff; font-weight: bold;">else</span>
            <span style="color: #000000;">&#123;</span>
&nbsp;
                <span style="color: #004993;">setStyle</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;color&quot;</span><span style="color: #000066; font-weight: bold;">,</span> 0x000000<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
                <span style="color: #004993;">setStyle</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;fontWeight&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">'normal'</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>                
            <span style="color: #000000;">&#125;</span>  
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #009900; font-style: italic;">// Override the updateDisplayList() method </span>
        <span style="color: #009900; font-style: italic;">// to set the text for each tree node.      </span>
        override <span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> updateDisplayList<span style="color: #000000;">&#40;</span>unscaledWidth<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span><span style="color: #000066; font-weight: bold;">,</span>unscaledHeight<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> 
        <span style="color: #000000;">&#123;</span>   
            <span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>updateDisplayList<span style="color: #000000;">&#40;</span>unscaledWidth<span style="color: #000066; font-weight: bold;">,</span> unscaledHeight<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
            <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">data</span><span style="color: #000000;">&#41;</span>
            <span style="color: #000000;">&#123;</span>
                <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>TreeListData<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>listData<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span>hasChildren==<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000;">&#41;</span>
                <span style="color: #000000;">&#123;</span>
                    <span style="color: #6699cc; font-weight: bold;">var</span> tmp<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">XMLList</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">XMLList</span><span style="color: #000000;">&#40;</span>TreeListData<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>listData<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span>item<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
                    <span style="color: #6699cc; font-weight: bold;">var</span> myStr<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">int</span> = tmp<span style="color: #000000;">&#91;</span><span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">children</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">length</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
                    <span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span>=  TreeListData<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>listData<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
                    <span style="color: #6699cc; font-weight: bold;">var</span> lineMetrics<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">TextLineMetrics</span> = measureText<span style="color: #000000;">&#40;</span>TreeListData<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>listData<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        			ltxtWidth = lineMetrics<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">width</span> <span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
                   <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>bEditLeaf<span style="color: #000000;">&#41;</span>
                   <span style="color: #000000;">&#123;</span>
                     imgEdit<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
                     imgCancel<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
                     imgOk<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
                   <span style="color: #000000;">&#125;</span>
&nbsp;
                   <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>bDeleteLeaf<span style="color: #000000;">&#41;</span>
                   <span style="color: #000000;">&#123;</span>
                   	 imgDelete<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
                   <span style="color: #000000;">&#125;</span>                    
&nbsp;
                    <span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>icon <span style="color: #000066; font-weight: bold;">!</span>= <span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span>
			       <span style="color: #000000;">&#123;</span>
					    imgUnselectedLeaf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span> = <span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>icon<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span><span style="color: #000066; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">50</span><span style="color: #000066; font-weight: bold;">;</span>
					    imgUnselectedLeaf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span> = <span style="color: #000000; font-weight:bold;">2</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
					    hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span>= <span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>icon<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span><span style="color: #000066; font-weight: bold;">+</span>ltxtWidth<span style="color: #000066; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">50</span><span style="color: #000066; font-weight: bold;">;</span>
				  		hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span>=<span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">;</span>
				   <span style="color: #000000;">&#125;</span>
				   <span style="color: #0033ff; font-weight: bold;">else</span>
			       <span style="color: #000000;">&#123;</span>
					    imgUnselectedLeaf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span> = <span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span><span style="color: #000066; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">50</span><span style="color: #000066; font-weight: bold;">;</span>
					    imgUnselectedLeaf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span> = <span style="color: #000000; font-weight:bold;">2</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
					    hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span>= <span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span><span style="color: #000066; font-weight: bold;">+</span>ltxtWidth<span style="color: #000066; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">50</span><span style="color: #000066; font-weight: bold;">;</span>
				  		hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span>=<span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">;</span>
				   <span style="color: #000000;">&#125;</span> 
&nbsp;
&nbsp;
&nbsp;
				    <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>bFromEditEvent==<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000;">&#41;</span>
				    <span style="color: #000000;">&#123;</span>
				    	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
				    	hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
				    <span style="color: #000000;">&#125;</span>
				    bFromEditEvent=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
				                <span style="color: #000000;">&#125;</span>                
            <span style="color: #000000;">&#125;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> ImageEditing<span style="color: #000000;">&#40;</span>evt<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
        <span style="color: #000000;">&#123;</span>
&nbsp;
        	hboximg<span style="color: #000066; font-weight: bold;">.</span>removeAllChildren<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChildAt</span><span style="color: #000000;">&#40;</span>imgOk<span style="color: #000066; font-weight: bold;">,</span><span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChildAt</span><span style="color: #000000;">&#40;</span>imgCancel<span style="color: #000066; font-weight: bold;">,</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
&nbsp;
        	imgEdit<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
        	imgDelete<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        	imgCancel<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
        	imgOk<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        	<span style="color: #6699cc; font-weight: bold;">var</span> lineMetrics<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">TextLineMetrics</span> = measureText<span style="color: #000000;">&#40;</span>TreeListData<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>listData<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	ltxtWidth = lineMetrics<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">width</span> <span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span>setFocus<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">height</span>=<span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">height</span><span style="color: #000066; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">3</span><span style="color: #000066; font-weight: bold;">;</span>
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">width</span>=ltxtWidth<span style="color: #000066; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">10</span><span style="color: #000066; font-weight: bold;">;</span>
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span>=<span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span><span style="color: #000066; font-weight: bold;">;</span>
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span>=<span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span><span style="color: #000066; font-weight: bold;">;</span>
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setStyle</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;borderWidth&quot;</span><span style="color: #000066; font-weight: bold;">,</span><span style="color: #000000; font-weight:bold;">3</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setStyle</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;borderColor&quot;</span><span style="color: #000066; font-weight: bold;">,</span><span style="color: #990000;">&quot;black&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span>= <span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span><span style="color: #000066; font-weight: bold;">;</span>
        	stxtvalue=<span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span><span style="color: #000066; font-weight: bold;">;</span>   
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>  
        	hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>   
        	bFromEditEvent=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>	
        <span style="color: #000000;">&#125;</span>
&nbsp;
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> ImageDelete<span style="color: #000000;">&#40;</span>evt<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
        <span style="color: #000000;">&#123;</span>
        	<span style="color: #6699cc; font-weight: bold;">var</span> node<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">XMLList</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">XMLList</span><span style="color: #000000;">&#40;</span>TreeListData<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>listData<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span>item<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	<span style="color: #0033ff; font-weight: bold;">delete</span> node<span style="color: #000000;">&#91;</span><span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> onChangeTextValue<span style="color: #000000;">&#40;</span>evt<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">KeyboardEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
        <span style="color: #000000;">&#123;</span>	        	
        	hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>        	        	
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>evt<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">keyCode</span>==<span style="color: #004993;">Keyboard</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">ENTER</span><span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		okEnter<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	<span style="color: #000000;">&#125;</span>
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>evt<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">keyCode</span>==<span style="color: #004993;">Keyboard</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">ESCAPE</span><span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		cancelEnter<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	<span style="color: #000000;">&#125;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> ImageOk<span style="color: #000000;">&#40;</span>evt<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
        <span style="color: #000000;">&#123;</span>	
        	okEnter<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> ImageCancel<span style="color: #000000;">&#40;</span>evt<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
        <span style="color: #000000;">&#123;</span>
        	cancelEnter<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> cancelEnter<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
        <span style="color: #000000;">&#123;</span>
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span>=stxtvalue<span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        	hboximg<span style="color: #000066; font-weight: bold;">.</span>removeAllChildren<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        	hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>imgEdit<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>bDeleteLeaf<span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>imgDelete<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgDelete<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
        	<span style="color: #000000;">&#125;</span>        	
        	imgEdit<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>       	
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> okEnter<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
        <span style="color: #000000;">&#123;</span>
        	<span style="color: #6699cc; font-weight: bold;">var</span> ltxtWidth<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">int</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span>=txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span><span style="color: #000066; font-weight: bold;">;</span>
        	TreeListData<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>listData<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span>label=txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span><span style="color: #000066; font-weight: bold;">;</span>        	
        	txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        	hboximg<span style="color: #000066; font-weight: bold;">.</span>removeAllChildren<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        	<span style="color: #6699cc; font-weight: bold;">var</span> lineMetrics<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">TextLineMetrics</span> = measureText<span style="color: #000000;">&#40;</span>TreeListData<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>listData<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	ltxtWidth = lineMetrics<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">width</span> <span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        	hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>imgEdit<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>bDeleteLeaf<span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>imgDelete<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgDelete<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
        	<span style="color: #000000;">&#125;</span>        	
        	imgEdit<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
&nbsp;
        	hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span>= <span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>icon<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span><span style="color: #000066; font-weight: bold;">+</span>ltxtWidth<span style="color: #000066; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">50</span><span style="color: #000066; font-weight: bold;">;</span>        	
			hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span>=<span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> onImageUnselectedLeaf<span style="color: #000000;">&#40;</span>evt<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
        <span style="color: #000000;">&#123;</span>
        	Alert<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">show</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;hi&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        override <span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> createChildren<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
        <span style="color: #000000;">&#123;</span>
        	<span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000066; font-weight: bold;">.</span>createChildren<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>hboximg==<span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		hboximg=<span style="color: #0033ff; font-weight: bold;">new</span> HBox<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">height</span>=<span style="color: #000000; font-weight:bold;">16</span><span style="color: #000066; font-weight: bold;">;</span>
        		hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">width</span>=<span style="color: #000000; font-weight:bold;">100</span><span style="color: #000066; font-weight: bold;">;</span>
        		hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setStyle</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;horizontalGap&quot;</span><span style="color: #000066; font-weight: bold;">,</span><span style="color: #000000; font-weight:bold;">4</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	<span style="color: #000000;">&#125;</span>
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>imgEdit==<span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		imgEdit=<span style="color: #0033ff; font-weight: bold;">new</span> Image<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgEdit<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">source</span>=srcEditImage<span style="color: #000066; font-weight: bold;">;</span>
        		imgEdit<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">height</span>=<span style="color: #000000; font-weight:bold;">15</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgEdit<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">width</span>=<span style="color: #000000; font-weight:bold;">15</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgEdit<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgEdit<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setStyle</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;verticalAlign&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;middle&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgEdit<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000066; font-weight: bold;">,</span>ImageEditing<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>										
        	<span style="color: #000000;">&#125;</span>
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>imgCancel==<span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		imgCancel=<span style="color: #0033ff; font-weight: bold;">new</span> Image<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgCancel<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">source</span>=srcCancelImage<span style="color: #000066; font-weight: bold;">;</span>
        		imgCancel<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">height</span>=<span style="color: #000000; font-weight:bold;">15</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgCancel<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">width</span>=<span style="color: #000000; font-weight:bold;">15</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgCancel<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgCancel<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setStyle</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;verticalAlign&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;middle&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>			
        		imgCancel<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000066; font-weight: bold;">,</span>ImageCancel<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>							
        	<span style="color: #000000;">&#125;</span>
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>imgDelete==<span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		imgDelete=<span style="color: #0033ff; font-weight: bold;">new</span> Image<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgDelete<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">source</span>=srcDeleteImage<span style="color: #000066; font-weight: bold;">;</span>
        		imgDelete<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">height</span>=<span style="color: #000000; font-weight:bold;">15</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgDelete<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">width</span>=<span style="color: #000000; font-weight:bold;">15</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgDelete<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgDelete<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setStyle</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;verticalAlign&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;middle&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgDelete<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000066; font-weight: bold;">,</span>ImageDelete<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>										
        	<span style="color: #000000;">&#125;</span>
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>imgOk==<span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		imgOk=<span style="color: #0033ff; font-weight: bold;">new</span> Image<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgOk<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">source</span>=srcOkImage<span style="color: #000066; font-weight: bold;">;</span>
        		imgOk<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">height</span>=<span style="color: #000000; font-weight:bold;">15</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgOk<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">width</span>=<span style="color: #000000; font-weight:bold;">15</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgOk<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgOk<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setStyle</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;verticalAlign&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;middle&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgOk<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000066; font-weight: bold;">,</span>ImageOk<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>										
        	<span style="color: #000000;">&#125;</span>
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>imgUnselectedLeaf==<span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		imgUnselectedLeaf=<span style="color: #0033ff; font-weight: bold;">new</span> Image<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgUnselectedLeaf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">source</span>=srcUnselectedLeaf<span style="color: #000066; font-weight: bold;">;</span>
        		imgUnselectedLeaf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">height</span>=<span style="color: #000000; font-weight:bold;">15</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgUnselectedLeaf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">width</span>=<span style="color: #000000; font-weight:bold;">15</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgUnselectedLeaf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgUnselectedLeaf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setStyle</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;verticalAlign&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;middle&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		imgUnselectedLeaf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000066; font-weight: bold;">,</span>onImageUnselectedLeaf<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	<span style="color: #000000;">&#125;</span>
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>txtEditvalue==<span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		txtEditvalue=<span style="color: #0033ff; font-weight: bold;">new</span> TextInput<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        		txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
        		txtEditvalue<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">KeyboardEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">KEY_UP</span><span style="color: #000066; font-weight: bold;">,</span>onChangeTextValue<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>	
        	<span style="color: #000000;">&#125;</span>
&nbsp;
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>bEditLeaf<span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>imgEdit<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	<span style="color: #000000;">&#125;</span>   
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>bDeleteLeaf<span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>     	
        		hboximg<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>imgDelete<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	<span style="color: #000000;">&#125;</span>
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>bEditLeaf <span style="color: #000066; font-weight: bold;">||</span> bDeleteLeaf<span style="color: #000000;">&#41;</span>
        	<span style="color: #000000;">&#123;</span>
        		<span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>hboximg<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>		
        	<span style="color: #000000;">&#125;</span>
&nbsp;
        	<span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>txtEditvalue<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        	<span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>imgUnselectedLeaf<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
          <span style="color: #000000;">&#125;</span>
       <span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Crsitian</title>
		<link>http://blog.flexexamples.com/2007/11/26/displaying-the-default-icons-from-a-flex-tree-control/comment-page-1/#comment-4939</link>
		<dc:creator>Crsitian</dc:creator>
		<pubDate>Tue, 04 Aug 2009 15:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/26/displaying-the-default-icons-from-a-flex-tree-control/#comment-4939</guid>
		<description>Thanks soooooooooooooooooooo much :D

Very useful!!!</description>
		<content:encoded><![CDATA[<p>Thanks soooooooooooooooooooo much :D</p>
<p>Very useful!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajan</title>
		<link>http://blog.flexexamples.com/2007/11/26/displaying-the-default-icons-from-a-flex-tree-control/comment-page-1/#comment-2017</link>
		<dc:creator>Rajan</dc:creator>
		<pubDate>Thu, 15 Jan 2009 20:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/26/displaying-the-default-icons-from-a-flex-tree-control/#comment-2017</guid>
		<description>Hi

I have a Tree Control and i am using the
disclosureOpenIcon
disclosureClosedIcon

styles.

But i want to change the location where are the disclosureOpenIcon/
disclosureClosedIcon icons are displayed.

I want to display them after the label of the tree. Bydefault icons are
displayed before the label.

Any pointers are highly appreciated.

Thanks
Rajan</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I have a Tree Control and i am using the<br />
disclosureOpenIcon<br />
disclosureClosedIcon</p>
<p>styles.</p>
<p>But i want to change the location where are the disclosureOpenIcon/<br />
disclosureClosedIcon icons are displayed.</p>
<p>I want to display them after the label of the tree. Bydefault icons are<br />
displayed before the label.</p>
<p>Any pointers are highly appreciated.</p>
<p>Thanks<br />
Rajan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

