01: /*
02: ItsNat Java Web Application Framework
03: Copyright (C) 2007 Innowhere Software Services S.L., Spanish Company
04: Author: Jose Maria Arranz Santamaria
05:
06: This program is free software: you can redistribute it and/or modify
07: it under the terms of the GNU Affero General Public License as published by
08: the Free Software Foundation, either version 3 of the License, or
09: (at your option) any later version. See the GNU Affero General Public
10: License for more details. See the copy of the GNU Affero General Public License
11: included in this program. If not, see <http://www.gnu.org/licenses/>.
12: */
13:
14: package org.itsnat.comp.html;
15:
16: import org.itsnat.comp.ItsNatTableHeader;
17: import org.itsnat.comp.html.ui.ItsNatHTMLTableHeaderUI;
18: import org.w3c.dom.html.HTMLTableRowElement;
19: import org.w3c.dom.html.HTMLTableSectionElement;
20:
21: /**
22: * Is the interface of the HTML table header component.
23: *
24: * <p>This component is associated to the <thead> element of the HTML table if present.</p>
25: *
26: * <p>ItsNat provides a default implementation of this interface but is ever used (instanced)
27: * alongside a table component as the parent of this component.</p>
28: *
29: * @author Jose Maria Arranz Santamaria
30: */
31: public interface ItsNatHTMLTableHeader extends
32: ItsNatHTMLElementComponent, ItsNatTableHeader {
33: /**
34: * Returns the table component this header belongs to.
35: *
36: * @return the parent table component. Never is null.
37: */
38: public ItsNatHTMLTable getItsNatHTMLTable();
39:
40: /**
41: * Returns the table section element (the <thead>) of this header.
42: *
43: * @return the table section element of this header.
44: */
45: public HTMLTableSectionElement getHTMLTableSectionElement();
46:
47: /**
48: * Returns the row parent element (the <row>) of the header cells.
49: *
50: * @return the row parent element of cells.
51: */
52: public HTMLTableRowElement getHTMLTableRowElement();
53:
54: /**
55: * Returns the user interface manager of this component.
56: *
57: * @return the user interface manager.
58: */
59: public ItsNatHTMLTableHeaderUI getItsNatHTMLTableHeaderUI();
60: }
|