01: /*
02: * Created on May 16, 2006
03: */
04: package uk.org.ponder.rsf.components.decorators;
05:
06: /** A decorator which registers a String value representing a "style class"
07: * for a component. In HTML, will become the "class" attribute.
08: * @author Antranig Basman (antranig@caret.cam.ac.uk)
09: *
10: */
11:
12: public class UIStyleDecorator implements UIDecorator {
13: public String styleclass;
14:
15: public UIStyleDecorator(String styleclass) {
16: this .styleclass = styleclass;
17: }
18:
19: public UIStyleDecorator() {
20: }
21: }
|