javauis/lcdui_qt/src/javax/microedition/lcdui/SpacerLayouter.java
changeset 76 4ad59aaee882
parent 61 bf7ee68962da
--- a/javauis/lcdui_qt/src/javax/microedition/lcdui/SpacerLayouter.java	Thu Sep 02 20:20:40 2010 +0300
+++ b/javauis/lcdui_qt/src/javax/microedition/lcdui/SpacerLayouter.java	Fri Sep 17 08:28:21 2010 +0300
@@ -37,20 +37,16 @@
     }
 
     /**
-     * Creates LayoutObject for the given Item.
+     * Creates eSWT Control for the given Item.
      *
-     * @param item Item to layout
-     * @return LayoutObject
+     * @param item Item to create the Control
+     * @param parent parent to create the Control
+     * @return eSWT Control
      */
-    LayoutObject getLayoutObject(Item item)
-    {
-    	LayoutObject lo = formLayouter.getLayoutObject(item);
-    	if(lo == null)
-    	{
-        	lo = new LayoutObject(item, eswtGetControl(formComposite, item));
-    	}
-		return lo;
-    }
+	Control createItemControl(Composite parent, Item item)
+	{
+		return eswtGetControl(parent, item);
+	}
 
     /**
      * eSWT specific calls to implement getControl.