Source code: com/voytechs/html/component/TableCaption.java
1 /*
2 * File: TableCaption.java
3 * Auth: Mark Bednarczyk
4 * Date: DATE
5 * Id: $Id: TableCaption.java,v 1.1.1.1 2002/01/23 23:52:49 voytechs Exp $
6 ********************************************
7 * $Log: TableCaption.java,v $
8 * Revision 1.1.1.1 2002/01/23 23:52:49 voytechs
9 * Initial public release, BETA 1.0 - voytechs
10 *
11 */
12 package com.voytechs.html.component;
13
14 import com.voytechs.html.io.HtmlWriter;
15 import com.voytechs.html.util.LogFacility;
16
17 import java.lang.*;
18 import java.util.*;
19 import java.io.IOException;
20
21 /**
22 * A TableCaption object is has a collection of form input/button elements.
23 */
24 public class TableCaption
25 extends TableComponent {
26
27 /* Internal attributes */
28
29 /**
30 *
31 * @param
32 * @exception
33 */
34 public TableCaption() {
35 super();
36 }
37
38 /**
39 * Setup the initial HTML Document with the required headers.
40 */
41 public void paint(HtmlWriter htmlOut) throws IOException {
42
43 htmlOut.caption(tagProperties.toString());
44
45 super.paint(htmlOut);
46
47 htmlOut.captionEnd();
48 }
49
50 /**
51 * Add all form related components.
52 * @param rowElement A component to be added to the list of children to be managed.
53 */
54 public TableCaption addElement(SimpleComponent element) {
55
56 LogFacility.log.println(this + "::TableCaption::addElement() - element=" + element);
57
58 super.addChild(element);
59
60 return(this);
61 }
62
63 /**
64 * Test function for TableCaption
65 * @param args command line arguments
66 */
67 public static void main(String [] args) {
68 }
69
70 } /* END OF: TableCaption */