PageRenderTime 224ms CodeModel.GetById 91ms app.highlight 53ms RepoModel.GetById 78ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLTableRowElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 248 lines | 160 code | 44 blank | 44 comment | 0 complexity | a229f63ea159e31e8332e0b54c448a28 MD5 | raw file
  1/*
  2 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/mozilla/dom/public/idl/html/nsIDOMHTMLTableRowElement.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLTableRowElement_h__
  6#define __gen_nsIDOMHTMLTableRowElement_h__
  7
  8
  9#ifndef __gen_nsIDOMHTMLElement_h__
 10#include "nsIDOMHTMLElement.h"
 11#endif
 12
 13/* For IDL files that don't want to include root IDL files. */
 14#ifndef NS_NO_VTABLE
 15#define NS_NO_VTABLE
 16#endif
 17
 18/* starting interface:    nsIDOMHTMLTableRowElement */
 19#define NS_IDOMHTMLTABLEROWELEMENT_IID_STR "a6cf90b6-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLTABLEROWELEMENT_IID \
 22  {0xa6cf90b6, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLTableRowElement interface is the interface to a
 27 * [X]HTML tr element.
 28 *
 29 * For more information on this interface please see
 30 * http://www.w3.org/TR/DOM-Level-2-HTML/
 31 *
 32 * @status FROZEN
 33 */
 34class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLTableRowElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLEROWELEMENT_IID)
 38
 39  /* readonly attribute long rowIndex; */
 40  NS_SCRIPTABLE NS_IMETHOD GetRowIndex(PRInt32 *aRowIndex) = 0;
 41
 42  /* readonly attribute long sectionRowIndex; */
 43  NS_SCRIPTABLE NS_IMETHOD GetSectionRowIndex(PRInt32 *aSectionRowIndex) = 0;
 44
 45  /* readonly attribute nsIDOMHTMLCollection cells; */
 46  NS_SCRIPTABLE NS_IMETHOD GetCells(nsIDOMHTMLCollection * *aCells) = 0;
 47
 48  /* attribute DOMString align; */
 49  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
 50  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
 51
 52  /* attribute DOMString bgColor; */
 53  NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
 54  NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
 55
 56  /* attribute DOMString ch; */
 57  NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh) = 0;
 58  NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh) = 0;
 59
 60  /* attribute DOMString chOff; */
 61  NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff) = 0;
 62  NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff) = 0;
 63
 64  /* attribute DOMString vAlign; */
 65  NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign) = 0;
 66  NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign) = 0;
 67
 68  /* nsIDOMHTMLElement insertCell (in long index)  raises (DOMException); */
 69  NS_SCRIPTABLE NS_IMETHOD InsertCell(PRInt32 index, nsIDOMHTMLElement **_retval) = 0;
 70
 71  /* void deleteCell (in long index)  raises (DOMException); */
 72  NS_SCRIPTABLE NS_IMETHOD DeleteCell(PRInt32 index) = 0;
 73
 74};
 75
 76  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLTableRowElement, NS_IDOMHTMLTABLEROWELEMENT_IID)
 77
 78/* Use this macro when declaring classes that implement this interface. */
 79#define NS_DECL_NSIDOMHTMLTABLEROWELEMENT \
 80  NS_SCRIPTABLE NS_IMETHOD GetRowIndex(PRInt32 *aRowIndex); \
 81  NS_SCRIPTABLE NS_IMETHOD GetSectionRowIndex(PRInt32 *aSectionRowIndex); \
 82  NS_SCRIPTABLE NS_IMETHOD GetCells(nsIDOMHTMLCollection * *aCells); \
 83  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign); \
 84  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign); \
 85  NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor); \
 86  NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor); \
 87  NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh); \
 88  NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh); \
 89  NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff); \
 90  NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff); \
 91  NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign); \
 92  NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign); \
 93  NS_SCRIPTABLE NS_IMETHOD InsertCell(PRInt32 index, nsIDOMHTMLElement **_retval); \
 94  NS_SCRIPTABLE NS_IMETHOD DeleteCell(PRInt32 index); 
 95
 96/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 97#define NS_FORWARD_NSIDOMHTMLTABLEROWELEMENT(_to) \
 98  NS_SCRIPTABLE NS_IMETHOD GetRowIndex(PRInt32 *aRowIndex) { return _to GetRowIndex(aRowIndex); } \
 99  NS_SCRIPTABLE NS_IMETHOD GetSectionRowIndex(PRInt32 *aSectionRowIndex) { return _to GetSectionRowIndex(aSectionRowIndex); } \
100  NS_SCRIPTABLE NS_IMETHOD GetCells(nsIDOMHTMLCollection * *aCells) { return _to GetCells(aCells); } \
101  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
102  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
103  NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor); } \
104  NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgColor); } \
105  NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh) { return _to GetCh(aCh); } \
106  NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh) { return _to SetCh(aCh); } \
107  NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff) { return _to GetChOff(aChOff); } \
108  NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff) { return _to SetChOff(aChOff); } \
109  NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign) { return _to GetVAlign(aVAlign); } \
110  NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return _to SetVAlign(aVAlign); } \
111  NS_SCRIPTABLE NS_IMETHOD InsertCell(PRInt32 index, nsIDOMHTMLElement **_retval) { return _to InsertCell(index, _retval); } \
112  NS_SCRIPTABLE NS_IMETHOD DeleteCell(PRInt32 index) { return _to DeleteCell(index); } 
113
114/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
115#define NS_FORWARD_SAFE_NSIDOMHTMLTABLEROWELEMENT(_to) \
116  NS_SCRIPTABLE NS_IMETHOD GetRowIndex(PRInt32 *aRowIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowIndex(aRowIndex); } \
117  NS_SCRIPTABLE NS_IMETHOD GetSectionRowIndex(PRInt32 *aSectionRowIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSectionRowIndex(aSectionRowIndex); } \
118  NS_SCRIPTABLE NS_IMETHOD GetCells(nsIDOMHTMLCollection * *aCells) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCells(aCells); } \
119  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
120  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
121  NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBgColor(aBgColor); } \
122  NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBgColor(aBgColor); } \
123  NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCh(aCh); } \
124  NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCh(aCh); } \
125  NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChOff(aChOff); } \
126  NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChOff(aChOff); } \
127  NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVAlign(aVAlign); } \
128  NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVAlign(aVAlign); } \
129  NS_SCRIPTABLE NS_IMETHOD InsertCell(PRInt32 index, nsIDOMHTMLElement **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertCell(index, _retval); } \
130  NS_SCRIPTABLE NS_IMETHOD DeleteCell(PRInt32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteCell(index); } 
131
132#if 0
133/* Use the code below as a template for the implementation class for this interface. */
134
135/* Header file */
136class nsDOMHTMLTableRowElement : public nsIDOMHTMLTableRowElement
137{
138public:
139  NS_DECL_ISUPPORTS
140  NS_DECL_NSIDOMHTMLTABLEROWELEMENT
141
142  nsDOMHTMLTableRowElement();
143
144private:
145  ~nsDOMHTMLTableRowElement();
146
147protected:
148  /* additional members */
149};
150
151/* Implementation file */
152NS_IMPL_ISUPPORTS1(nsDOMHTMLTableRowElement, nsIDOMHTMLTableRowElement)
153
154nsDOMHTMLTableRowElement::nsDOMHTMLTableRowElement()
155{
156  /* member initializers and constructor code */
157}
158
159nsDOMHTMLTableRowElement::~nsDOMHTMLTableRowElement()
160{
161  /* destructor code */
162}
163
164/* readonly attribute long rowIndex; */
165NS_IMETHODIMP nsDOMHTMLTableRowElement::GetRowIndex(PRInt32 *aRowIndex)
166{
167    return NS_ERROR_NOT_IMPLEMENTED;
168}
169
170/* readonly attribute long sectionRowIndex; */
171NS_IMETHODIMP nsDOMHTMLTableRowElement::GetSectionRowIndex(PRInt32 *aSectionRowIndex)
172{
173    return NS_ERROR_NOT_IMPLEMENTED;
174}
175
176/* readonly attribute nsIDOMHTMLCollection cells; */
177NS_IMETHODIMP nsDOMHTMLTableRowElement::GetCells(nsIDOMHTMLCollection * *aCells)
178{
179    return NS_ERROR_NOT_IMPLEMENTED;
180}
181
182/* attribute DOMString align; */
183NS_IMETHODIMP nsDOMHTMLTableRowElement::GetAlign(nsAString & aAlign)
184{
185    return NS_ERROR_NOT_IMPLEMENTED;
186}
187NS_IMETHODIMP nsDOMHTMLTableRowElement::SetAlign(const nsAString & aAlign)
188{
189    return NS_ERROR_NOT_IMPLEMENTED;
190}
191
192/* attribute DOMString bgColor; */
193NS_IMETHODIMP nsDOMHTMLTableRowElement::GetBgColor(nsAString & aBgColor)
194{
195    return NS_ERROR_NOT_IMPLEMENTED;
196}
197NS_IMETHODIMP nsDOMHTMLTableRowElement::SetBgColor(const nsAString & aBgColor)
198{
199    return NS_ERROR_NOT_IMPLEMENTED;
200}
201
202/* attribute DOMString ch; */
203NS_IMETHODIMP nsDOMHTMLTableRowElement::GetCh(nsAString & aCh)
204{
205    return NS_ERROR_NOT_IMPLEMENTED;
206}
207NS_IMETHODIMP nsDOMHTMLTableRowElement::SetCh(const nsAString & aCh)
208{
209    return NS_ERROR_NOT_IMPLEMENTED;
210}
211
212/* attribute DOMString chOff; */
213NS_IMETHODIMP nsDOMHTMLTableRowElement::GetChOff(nsAString & aChOff)
214{
215    return NS_ERROR_NOT_IMPLEMENTED;
216}
217NS_IMETHODIMP nsDOMHTMLTableRowElement::SetChOff(const nsAString & aChOff)
218{
219    return NS_ERROR_NOT_IMPLEMENTED;
220}
221
222/* attribute DOMString vAlign; */
223NS_IMETHODIMP nsDOMHTMLTableRowElement::GetVAlign(nsAString & aVAlign)
224{
225    return NS_ERROR_NOT_IMPLEMENTED;
226}
227NS_IMETHODIMP nsDOMHTMLTableRowElement::SetVAlign(const nsAString & aVAlign)
228{
229    return NS_ERROR_NOT_IMPLEMENTED;
230}
231
232/* nsIDOMHTMLElement insertCell (in long index)  raises (DOMException); */
233NS_IMETHODIMP nsDOMHTMLTableRowElement::InsertCell(PRInt32 index, nsIDOMHTMLElement **_retval)
234{
235    return NS_ERROR_NOT_IMPLEMENTED;
236}
237
238/* void deleteCell (in long index)  raises (DOMException); */
239NS_IMETHODIMP nsDOMHTMLTableRowElement::DeleteCell(PRInt32 index)
240{
241    return NS_ERROR_NOT_IMPLEMENTED;
242}
243
244/* End of implementation class template. */
245#endif
246
247
248#endif /* __gen_nsIDOMHTMLTableRowElement_h__ */