01: /*
02: * Created on 9 Feb 2007
03: */
04: package uk.org.ponder.rsf.components.decorators;
05:
06: /**
07: * A decorator which allows a control to be marked as "disabled" in the interface.
08: * Disabled controls can not accept user input and will typically be rendered
09: * differently.
10: * @author Antranig Basman (antranig@caret.cam.ac.uk)
11: *
12: */
13:
14: public class UIDisabledDecorator implements UIDecorator {
15: public boolean disabled = true;
16:
17: public UIDisabledDecorator() {
18: }
19:
20: public UIDisabledDecorator(boolean disabled) {
21: this.disabled = disabled;
22: }
23: }
|