/* AuDataBlock.java

	Purpose:
		
	Description:
		
	History:
		Dec 18, 2007 12:11:22 PM     2007, Created by Dennis.Chen

Copyright (C) 2007 Potix Corporation. All Rights Reserved.
*/
package org.zkoss.zssex.ui.au.out;

import org.zkoss.zk.au.AuResponse;
import org.zkoss.zk.ui.util.DeferredValue;
import org.zkoss.zss.ui.Spreadsheet;

/**
 * A AuResponse(server to client) for handling Data block updating.
 * @author Dennis.Chen
 *
 */
public class AuAddWidget extends AuResponse {
	public AuAddWidget(Spreadsheet sheet, String sheetid, String widgetUuid, DeferredValue deffhtml) {
		/**
		 * zswAddWgt -> addWidget
		 */
		super("setAttr", sheet, new Object[] { sheet.getUuid(), "addWidget", new Object[] { sheetid, widgetUuid, deffhtml.getValue() } });
	}
}
