01: /* Caption.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: Tue Dec 13 14:59:34 2005, Created by tomyeh
10: }}IS_NOTE
11:
12: Copyright (C) 2005 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.zhtml;
20:
21: import org.zkoss.zhtml.impl.AbstractTag;
22:
23: /**
24: * The CAPTION tag.
25: *
26: * @author tomyeh
27: */
28: public class Caption extends AbstractTag {
29: public Caption() {
30: super ("caption");
31: }
32:
33: public Caption(String label) {
34: this ();
35: new Text(label).setParent(this);
36: }
37: }
|