01: /*
02: * Created on 26-May-2006
03: */
04: package uk.org.ponder.rsf.components.decorators;
05:
06: import uk.org.ponder.rsf.components.UIBoundString;
07:
08: /** Specifies a "Tooltip" which will temporarily display an annotation if
09: * the user focuses on the target component.
10: * @author Antranig Basman (antranig@caret.cam.ac.uk)
11: */
12:
13: public class UITooltipDecorator extends UIBoundStringDecorator {
14: public UITooltipDecorator() {
15: }
16:
17: public UITooltipDecorator(String text) {
18: this .text = new UIBoundString(text);
19: }
20:
21: public UITooltipDecorator(UIBoundString text) {
22: this.text = text;
23: }
24: }
|