OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0
-Release/WINNT_5.2_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 */ |
| 34 class NS_NO_VTABLE nsIDOMHTMLTableRowElement : public nsIDOMHTMLElement { |
| 35 public: |
| 36 |
| 37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLEROWELEMENT_IID) |
| 38 |
| 39 /* readonly attribute long rowIndex; */ |
| 40 NS_IMETHOD GetRowIndex(PRInt32 *aRowIndex) = 0; |
| 41 |
| 42 /* readonly attribute long sectionRowIndex; */ |
| 43 NS_IMETHOD GetSectionRowIndex(PRInt32 *aSectionRowIndex) = 0; |
| 44 |
| 45 /* readonly attribute nsIDOMHTMLCollection cells; */ |
| 46 NS_IMETHOD GetCells(nsIDOMHTMLCollection * *aCells) = 0; |
| 47 |
| 48 /* attribute DOMString align; */ |
| 49 NS_IMETHOD GetAlign(nsAString & aAlign) = 0; |
| 50 NS_IMETHOD SetAlign(const nsAString & aAlign) = 0; |
| 51 |
| 52 /* attribute DOMString bgColor; */ |
| 53 NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0; |
| 54 NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0; |
| 55 |
| 56 /* attribute DOMString ch; */ |
| 57 NS_IMETHOD GetCh(nsAString & aCh) = 0; |
| 58 NS_IMETHOD SetCh(const nsAString & aCh) = 0; |
| 59 |
| 60 /* attribute DOMString chOff; */ |
| 61 NS_IMETHOD GetChOff(nsAString & aChOff) = 0; |
| 62 NS_IMETHOD SetChOff(const nsAString & aChOff) = 0; |
| 63 |
| 64 /* attribute DOMString vAlign; */ |
| 65 NS_IMETHOD GetVAlign(nsAString & aVAlign) = 0; |
| 66 NS_IMETHOD SetVAlign(const nsAString & aVAlign) = 0; |
| 67 |
| 68 /* nsIDOMHTMLElement insertCell (in long index) raises (DOMException); */ |
| 69 NS_IMETHOD InsertCell(PRInt32 index, nsIDOMHTMLElement **_retval) = 0; |
| 70 |
| 71 /* void deleteCell (in long index) raises (DOMException); */ |
| 72 NS_IMETHOD DeleteCell(PRInt32 index) = 0; |
| 73 |
| 74 }; |
| 75 |
| 76 /* Use this macro when declaring classes that implement this interface. */ |
| 77 #define NS_DECL_NSIDOMHTMLTABLEROWELEMENT \ |
| 78 NS_IMETHOD GetRowIndex(PRInt32 *aRowIndex); \ |
| 79 NS_IMETHOD GetSectionRowIndex(PRInt32 *aSectionRowIndex); \ |
| 80 NS_IMETHOD GetCells(nsIDOMHTMLCollection * *aCells); \ |
| 81 NS_IMETHOD GetAlign(nsAString & aAlign); \ |
| 82 NS_IMETHOD SetAlign(const nsAString & aAlign); \ |
| 83 NS_IMETHOD GetBgColor(nsAString & aBgColor); \ |
| 84 NS_IMETHOD SetBgColor(const nsAString & aBgColor); \ |
| 85 NS_IMETHOD GetCh(nsAString & aCh); \ |
| 86 NS_IMETHOD SetCh(const nsAString & aCh); \ |
| 87 NS_IMETHOD GetChOff(nsAString & aChOff); \ |
| 88 NS_IMETHOD SetChOff(const nsAString & aChOff); \ |
| 89 NS_IMETHOD GetVAlign(nsAString & aVAlign); \ |
| 90 NS_IMETHOD SetVAlign(const nsAString & aVAlign); \ |
| 91 NS_IMETHOD InsertCell(PRInt32 index, nsIDOMHTMLElement **_retval); \ |
| 92 NS_IMETHOD DeleteCell(PRInt32 index); |
| 93 |
| 94 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object. */ |
| 95 #define NS_FORWARD_NSIDOMHTMLTABLEROWELEMENT(_to) \ |
| 96 NS_IMETHOD GetRowIndex(PRInt32 *aRowIndex) { return _to GetRowIndex(aRowIndex)
; } \ |
| 97 NS_IMETHOD GetSectionRowIndex(PRInt32 *aSectionRowIndex) { return _to GetSecti
onRowIndex(aSectionRowIndex); } \ |
| 98 NS_IMETHOD GetCells(nsIDOMHTMLCollection * *aCells) { return _to GetCells(aCel
ls); } \ |
| 99 NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \ |
| 100 NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); }
\ |
| 101 NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor);
} \ |
| 102 NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgC
olor); } \ |
| 103 NS_IMETHOD GetCh(nsAString & aCh) { return _to GetCh(aCh); } \ |
| 104 NS_IMETHOD SetCh(const nsAString & aCh) { return _to SetCh(aCh); } \ |
| 105 NS_IMETHOD GetChOff(nsAString & aChOff) { return _to GetChOff(aChOff); } \ |
| 106 NS_IMETHOD SetChOff(const nsAString & aChOff) { return _to SetChOff(aChOff); }
\ |
| 107 NS_IMETHOD GetVAlign(nsAString & aVAlign) { return _to GetVAlign(aVAlign); } \ |
| 108 NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return _to SetVAlign(aVAlign
); } \ |
| 109 NS_IMETHOD InsertCell(PRInt32 index, nsIDOMHTMLElement **_retval) { return _to
InsertCell(index, _retval); } \ |
| 110 NS_IMETHOD DeleteCell(PRInt32 index) { return _to DeleteCell(index); } |
| 111 |
| 112 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object in a safe way. */ |
| 113 #define NS_FORWARD_SAFE_NSIDOMHTMLTABLEROWELEMENT(_to) \ |
| 114 NS_IMETHOD GetRowIndex(PRInt32 *aRowIndex) { return !_to ? NS_ERROR_NULL_POINT
ER : _to->GetRowIndex(aRowIndex); } \ |
| 115 NS_IMETHOD GetSectionRowIndex(PRInt32 *aSectionRowIndex) { return !_to ? NS_ER
ROR_NULL_POINTER : _to->GetSectionRowIndex(aSectionRowIndex); } \ |
| 116 NS_IMETHOD GetCells(nsIDOMHTMLCollection * *aCells) { return !_to ? NS_ERROR_N
ULL_POINTER : _to->GetCells(aCells); } \ |
| 117 NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER
: _to->GetAlign(aAlign); } \ |
| 118 NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_PO
INTER : _to->SetAlign(aAlign); } \ |
| 119 NS_IMETHOD GetBgColor(nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POIN
TER : _to->GetBgColor(aBgColor); } \ |
| 120 NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return !_to ? NS_ERROR_NUL
L_POINTER : _to->SetBgColor(aBgColor); } \ |
| 121 NS_IMETHOD GetCh(nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to-
>GetCh(aCh); } \ |
| 122 NS_IMETHOD SetCh(const nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER
: _to->SetCh(aCh); } \ |
| 123 NS_IMETHOD GetChOff(nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER
: _to->GetChOff(aChOff); } \ |
| 124 NS_IMETHOD SetChOff(const nsAString & aChOff) { return !_to ? NS_ERROR_NULL_PO
INTER : _to->SetChOff(aChOff); } \ |
| 125 NS_IMETHOD GetVAlign(nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTE
R : _to->GetVAlign(aVAlign); } \ |
| 126 NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_
POINTER : _to->SetVAlign(aVAlign); } \ |
| 127 NS_IMETHOD InsertCell(PRInt32 index, nsIDOMHTMLElement **_retval) { return !_t
o ? NS_ERROR_NULL_POINTER : _to->InsertCell(index, _retval); } \ |
| 128 NS_IMETHOD DeleteCell(PRInt32 index) { return !_to ? NS_ERROR_NULL_POINTER : _
to->DeleteCell(index); } |
| 129 |
| 130 #if 0 |
| 131 /* Use the code below as a template for the implementation class for this interf
ace. */ |
| 132 |
| 133 /* Header file */ |
| 134 class nsDOMHTMLTableRowElement : public nsIDOMHTMLTableRowElement |
| 135 { |
| 136 public: |
| 137 NS_DECL_ISUPPORTS |
| 138 NS_DECL_NSIDOMHTMLTABLEROWELEMENT |
| 139 |
| 140 nsDOMHTMLTableRowElement(); |
| 141 |
| 142 private: |
| 143 ~nsDOMHTMLTableRowElement(); |
| 144 |
| 145 protected: |
| 146 /* additional members */ |
| 147 }; |
| 148 |
| 149 /* Implementation file */ |
| 150 NS_IMPL_ISUPPORTS1(nsDOMHTMLTableRowElement, nsIDOMHTMLTableRowElement) |
| 151 |
| 152 nsDOMHTMLTableRowElement::nsDOMHTMLTableRowElement() |
| 153 { |
| 154 /* member initializers and constructor code */ |
| 155 } |
| 156 |
| 157 nsDOMHTMLTableRowElement::~nsDOMHTMLTableRowElement() |
| 158 { |
| 159 /* destructor code */ |
| 160 } |
| 161 |
| 162 /* readonly attribute long rowIndex; */ |
| 163 NS_IMETHODIMP nsDOMHTMLTableRowElement::GetRowIndex(PRInt32 *aRowIndex) |
| 164 { |
| 165 return NS_ERROR_NOT_IMPLEMENTED; |
| 166 } |
| 167 |
| 168 /* readonly attribute long sectionRowIndex; */ |
| 169 NS_IMETHODIMP nsDOMHTMLTableRowElement::GetSectionRowIndex(PRInt32 *aSectionRowI
ndex) |
| 170 { |
| 171 return NS_ERROR_NOT_IMPLEMENTED; |
| 172 } |
| 173 |
| 174 /* readonly attribute nsIDOMHTMLCollection cells; */ |
| 175 NS_IMETHODIMP nsDOMHTMLTableRowElement::GetCells(nsIDOMHTMLCollection * *aCells) |
| 176 { |
| 177 return NS_ERROR_NOT_IMPLEMENTED; |
| 178 } |
| 179 |
| 180 /* attribute DOMString align; */ |
| 181 NS_IMETHODIMP nsDOMHTMLTableRowElement::GetAlign(nsAString & aAlign) |
| 182 { |
| 183 return NS_ERROR_NOT_IMPLEMENTED; |
| 184 } |
| 185 NS_IMETHODIMP nsDOMHTMLTableRowElement::SetAlign(const nsAString & aAlign) |
| 186 { |
| 187 return NS_ERROR_NOT_IMPLEMENTED; |
| 188 } |
| 189 |
| 190 /* attribute DOMString bgColor; */ |
| 191 NS_IMETHODIMP nsDOMHTMLTableRowElement::GetBgColor(nsAString & aBgColor) |
| 192 { |
| 193 return NS_ERROR_NOT_IMPLEMENTED; |
| 194 } |
| 195 NS_IMETHODIMP nsDOMHTMLTableRowElement::SetBgColor(const nsAString & aBgColor) |
| 196 { |
| 197 return NS_ERROR_NOT_IMPLEMENTED; |
| 198 } |
| 199 |
| 200 /* attribute DOMString ch; */ |
| 201 NS_IMETHODIMP nsDOMHTMLTableRowElement::GetCh(nsAString & aCh) |
| 202 { |
| 203 return NS_ERROR_NOT_IMPLEMENTED; |
| 204 } |
| 205 NS_IMETHODIMP nsDOMHTMLTableRowElement::SetCh(const nsAString & aCh) |
| 206 { |
| 207 return NS_ERROR_NOT_IMPLEMENTED; |
| 208 } |
| 209 |
| 210 /* attribute DOMString chOff; */ |
| 211 NS_IMETHODIMP nsDOMHTMLTableRowElement::GetChOff(nsAString & aChOff) |
| 212 { |
| 213 return NS_ERROR_NOT_IMPLEMENTED; |
| 214 } |
| 215 NS_IMETHODIMP nsDOMHTMLTableRowElement::SetChOff(const nsAString & aChOff) |
| 216 { |
| 217 return NS_ERROR_NOT_IMPLEMENTED; |
| 218 } |
| 219 |
| 220 /* attribute DOMString vAlign; */ |
| 221 NS_IMETHODIMP nsDOMHTMLTableRowElement::GetVAlign(nsAString & aVAlign) |
| 222 { |
| 223 return NS_ERROR_NOT_IMPLEMENTED; |
| 224 } |
| 225 NS_IMETHODIMP nsDOMHTMLTableRowElement::SetVAlign(const nsAString & aVAlign) |
| 226 { |
| 227 return NS_ERROR_NOT_IMPLEMENTED; |
| 228 } |
| 229 |
| 230 /* nsIDOMHTMLElement insertCell (in long index) raises (DOMException); */ |
| 231 NS_IMETHODIMP nsDOMHTMLTableRowElement::InsertCell(PRInt32 index, nsIDOMHTMLElem
ent **_retval) |
| 232 { |
| 233 return NS_ERROR_NOT_IMPLEMENTED; |
| 234 } |
| 235 |
| 236 /* void deleteCell (in long index) raises (DOMException); */ |
| 237 NS_IMETHODIMP nsDOMHTMLTableRowElement::DeleteCell(PRInt32 index) |
| 238 { |
| 239 return NS_ERROR_NOT_IMPLEMENTED; |
| 240 } |
| 241 |
| 242 /* End of implementation class template. */ |
| 243 #endif |
| 244 |
| 245 |
| 246 #endif /* __gen_nsIDOMHTMLTableRowElement_h__ */ |
OLD | NEW |