 import mx.graphics.MaskType;
 import mx.utils.MatrixUtil;
 import mx.graphics.graphicsClasses.GraphicElement;
-import mx.layout.ILayoutItem;
+import mx.layout.ILayoutElement;
 import mx.layout.BasicLayout;
-import mx.layout.LayoutItemFactory;
+import mx.layout.LayoutElementFactory;
 
 import mx.collections.ICollectionView;
 import mx.collections.IList;

    /**
     *  @private
     */
    override public function getLayoutItemAt(index:int):ILayoutItem
    {
        var item:Object = dataProvider.getItemAt(index);

        var myItemRenderer:Object = getItemRenderer(item);

        return LayoutItemFactory.getLayoutItemFor(myItemRenderer);
    }
    
    /**

    /**
     *  @private
     */
    override public function get numLayoutElements():int
    {
        return dataProvider ? dataProvider.length : 0;
    }
