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.ui;
15:
16: import org.itsnat.comp.html.ItsNatHTMLTableHeader;
17: import org.itsnat.comp.ui.ItsNatTableHeaderUI;
18: import org.w3c.dom.html.HTMLTableCellElement;
19: import org.w3c.dom.html.HTMLTableRowElement;
20: import org.w3c.dom.html.HTMLTableSectionElement;
21:
22: /**
23: * Is the base interface of the User Interface of an HTML table header component.
24: *
25: * <p>This interface basically provides casts of the base methods.</p>
26: *
27: * @author Jose Maria Arranz Santamaria
28: */
29: public interface ItsNatHTMLTableHeaderUI extends
30: ItsNatHTMLElementComponentUI, ItsNatTableHeaderUI {
31: /**
32: * Returns the associated component object.
33: *
34: * @return the component object.
35: */
36: public ItsNatHTMLTableHeader getItsNatHTMLTableHeader();
37:
38: /**
39: * Returns the <thead> element.
40: *
41: * @return the <thead> element.
42: */
43: public HTMLTableSectionElement getHTMLTableSectionElement();
44:
45: /**
46: * Returns the <row> element.
47: *
48: * @return the <row> element.
49: */
50: public HTMLTableRowElement getHTMLTableRowElement();
51:
52: /**
53: * Returns the <td> or <th> element at the specified column.
54: *
55: * @param column the column index of the cell element to search.
56: * @return the element in this position or null if some index is out of range.
57: * @see ItsNatTableHeaderUI#getElementAt(int)
58: */
59: public HTMLTableCellElement getHTMLTableCellElementAt(int column);
60: }
|