01: /*
02: * GWT-Ext Widget Library
03: * Copyright(c) 2007-2008, GWT-Ext.
04: * licensing@gwt-ext.com
05: *
06: * http://www.gwt-ext.com/license
07: */
08: package com.gwtext.client.widgets.layout;
09:
10: import com.gwtext.client.util.JavaScriptObjectHelper;
11:
12: public class TableLayoutData extends LayoutData {
13:
14: public TableLayoutData() {
15: }
16:
17: public TableLayoutData(int colspan) {
18: setColspan(colspan);
19: }
20:
21: public void setColspan(int colspan) {
22: JavaScriptObjectHelper.setAttribute(jsObj, "colspan", colspan);
23: }
24:
25: public void setRowspan(int rowspan) {
26: JavaScriptObjectHelper.setAttribute(jsObj, "rowspan", rowspan);
27: }
28: }
|