Rev 12 | Blame | Last modification | View Log | RSS feed
package org.tela_botanica.client;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.VerticalPanel;
import org.tela_botanica.client.InventoryItemList;
/**
* Composite permet de wrapper des Widgett pour creer un nouveau Widget cf methode initWidget()
*/
public class CenterPanel extends Composite {
private InventoryItemList inventoryItemList = null;
public CenterPanel(Mediator mediator) {
inventoryItemList = new InventoryItemList(mediator);
inventoryItemList.setStyleName("inventoryItemList");
VerticalPanel outer = new VerticalPanel();
outer.add(inventoryItemList);
inventoryItemList.setWidth("100%");
initWidget(outer);
}
}