01: /*
02: * Created on 11 Sep 2007
03: */
04: package uk.org.ponder.rsf.components.decorators;
05:
06: /**
07: * Determines the number of tabular cells that this component occupies. In
08: * HTML, will render attributes <code>colspan</code> and <code>rowspan</code>
09: *
10: * @author Antranig Basman (antranig@caret.cam.ac.uk)
11: */
12:
13: public class UICellSpanDecorator implements UIDecorator {
14: public static final int UNSET_VALUE = -1;
15: public int colspan = UNSET_VALUE;
16: public int rowspan = UNSET_VALUE;
17:
18: public UICellSpanDecorator() {
19: }
20:
21: public UICellSpanDecorator(int colspan, int rowspan) {
22: this.colspan = colspan;
23: this.rowspan = rowspan;
24: }
25: }
|