    package com.bluefire.flexDemo.view
    {
        import mx.controls.treeClasses.*;
        import mx.collections.*;

        public class BluTreeItemRenderer extends TreeItemRenderer
        {

            // Define the constructor.
            public function BluTreeItemRenderer() {
                super();

            }

             // Override the updateDisplayList() method
            // to move the text label over to compensate for no folder icon
            override protected function updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void {
                super.updateDisplayList(unscaledWidth, unscaledHeight);
                if(super.data)
                {
                    disclosureIcon.x += 5;
                    label.x += 2;
                }
            }

            public function setLabelVisibility( isVisible:Boolean = true ): void
            {
                label.visible = isVisible;
            }

            public function get displayLabel():String
            {
                return label.text;
            }

        }
    }