001// *************************************************************************************************************************** 002// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * 003// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * 004// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance * 005// * with the License. You may obtain a copy of the License at * 006// * * 007// * http://www.apache.org/licenses/LICENSE-2.0 * 008// * * 009// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * 010// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * 011// * specific language governing permissions and limitations under the License. * 012// *************************************************************************************************************************** 013package org.apache.juneau.dto.html5; 014 015import org.apache.juneau.annotation.*; 016import org.apache.juneau.internal.*; 017 018/** 019 * DTO for an HTML <a class="doclink" href="https://www.w3.org/TR/html5/tabular-data.html#the-table-element"><table></a> 020 * element. 021 * 022 * <h5 class='section'>See Also:</h5><ul> 023 * <li class='link'><a class="doclink" href="../../../../../index.html#jd.Html5">Overview > juneau-dto > HTML5</a> 024 * </ul> 025 */ 026@Bean(typeName="table") 027@FluentSetters 028public class Table extends HtmlElementContainer { 029 030 /** 031 * Creates an empty {@link Table} element. 032 */ 033 public Table() {} 034 035 /** 036 * Creates a {@link Table} element with the specified child nodes. 037 * 038 * @param children The child nodes. 039 */ 040 public Table(Object...children) { 041 children(children); 042 } 043 044 /** 045 * <a class="doclink" href="https://www.w3.org/TR/html5/tabular-data.html#attr-table-border">border</a> attribute. 046 * 047 * @param border 048 * The new value for this attribute. 049 * Typically a {@link Number} or {@link String}. 050 * @return This object. 051 */ 052 public final Table border(Object border) { 053 attr("border", border); 054 return this; 055 } 056 057 058 //----------------------------------------------------------------------------------------------------------------- 059 // Overridden methods 060 //----------------------------------------------------------------------------------------------------------------- 061 062 // <FluentSetters> 063 064 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 065 public Table _class(String _class) { 066 super._class(_class); 067 return this; 068 } 069 070 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 071 public Table accesskey(String accesskey) { 072 super.accesskey(accesskey); 073 return this; 074 } 075 076 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 077 public Table contenteditable(Object contenteditable) { 078 super.contenteditable(contenteditable); 079 return this; 080 } 081 082 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 083 public Table dir(String dir) { 084 super.dir(dir); 085 return this; 086 } 087 088 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 089 public Table hidden(Object hidden) { 090 super.hidden(hidden); 091 return this; 092 } 093 094 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 095 public Table id(String id) { 096 super.id(id); 097 return this; 098 } 099 100 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 101 public Table lang(String lang) { 102 super.lang(lang); 103 return this; 104 } 105 106 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 107 public Table onabort(String onabort) { 108 super.onabort(onabort); 109 return this; 110 } 111 112 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 113 public Table onblur(String onblur) { 114 super.onblur(onblur); 115 return this; 116 } 117 118 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 119 public Table oncancel(String oncancel) { 120 super.oncancel(oncancel); 121 return this; 122 } 123 124 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 125 public Table oncanplay(String oncanplay) { 126 super.oncanplay(oncanplay); 127 return this; 128 } 129 130 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 131 public Table oncanplaythrough(String oncanplaythrough) { 132 super.oncanplaythrough(oncanplaythrough); 133 return this; 134 } 135 136 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 137 public Table onchange(String onchange) { 138 super.onchange(onchange); 139 return this; 140 } 141 142 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 143 public Table onclick(String onclick) { 144 super.onclick(onclick); 145 return this; 146 } 147 148 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 149 public Table oncuechange(String oncuechange) { 150 super.oncuechange(oncuechange); 151 return this; 152 } 153 154 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 155 public Table ondblclick(String ondblclick) { 156 super.ondblclick(ondblclick); 157 return this; 158 } 159 160 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 161 public Table ondurationchange(String ondurationchange) { 162 super.ondurationchange(ondurationchange); 163 return this; 164 } 165 166 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 167 public Table onemptied(String onemptied) { 168 super.onemptied(onemptied); 169 return this; 170 } 171 172 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 173 public Table onended(String onended) { 174 super.onended(onended); 175 return this; 176 } 177 178 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 179 public Table onerror(String onerror) { 180 super.onerror(onerror); 181 return this; 182 } 183 184 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 185 public Table onfocus(String onfocus) { 186 super.onfocus(onfocus); 187 return this; 188 } 189 190 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 191 public Table oninput(String oninput) { 192 super.oninput(oninput); 193 return this; 194 } 195 196 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 197 public Table oninvalid(String oninvalid) { 198 super.oninvalid(oninvalid); 199 return this; 200 } 201 202 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 203 public Table onkeydown(String onkeydown) { 204 super.onkeydown(onkeydown); 205 return this; 206 } 207 208 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 209 public Table onkeypress(String onkeypress) { 210 super.onkeypress(onkeypress); 211 return this; 212 } 213 214 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 215 public Table onkeyup(String onkeyup) { 216 super.onkeyup(onkeyup); 217 return this; 218 } 219 220 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 221 public Table onload(String onload) { 222 super.onload(onload); 223 return this; 224 } 225 226 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 227 public Table onloadeddata(String onloadeddata) { 228 super.onloadeddata(onloadeddata); 229 return this; 230 } 231 232 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 233 public Table onloadedmetadata(String onloadedmetadata) { 234 super.onloadedmetadata(onloadedmetadata); 235 return this; 236 } 237 238 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 239 public Table onloadstart(String onloadstart) { 240 super.onloadstart(onloadstart); 241 return this; 242 } 243 244 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 245 public Table onmousedown(String onmousedown) { 246 super.onmousedown(onmousedown); 247 return this; 248 } 249 250 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 251 public Table onmouseenter(String onmouseenter) { 252 super.onmouseenter(onmouseenter); 253 return this; 254 } 255 256 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 257 public Table onmouseleave(String onmouseleave) { 258 super.onmouseleave(onmouseleave); 259 return this; 260 } 261 262 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 263 public Table onmousemove(String onmousemove) { 264 super.onmousemove(onmousemove); 265 return this; 266 } 267 268 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 269 public Table onmouseout(String onmouseout) { 270 super.onmouseout(onmouseout); 271 return this; 272 } 273 274 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 275 public Table onmouseover(String onmouseover) { 276 super.onmouseover(onmouseover); 277 return this; 278 } 279 280 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 281 public Table onmouseup(String onmouseup) { 282 super.onmouseup(onmouseup); 283 return this; 284 } 285 286 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 287 public Table onmousewheel(String onmousewheel) { 288 super.onmousewheel(onmousewheel); 289 return this; 290 } 291 292 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 293 public Table onpause(String onpause) { 294 super.onpause(onpause); 295 return this; 296 } 297 298 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 299 public Table onplay(String onplay) { 300 super.onplay(onplay); 301 return this; 302 } 303 304 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 305 public Table onplaying(String onplaying) { 306 super.onplaying(onplaying); 307 return this; 308 } 309 310 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 311 public Table onprogress(String onprogress) { 312 super.onprogress(onprogress); 313 return this; 314 } 315 316 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 317 public Table onratechange(String onratechange) { 318 super.onratechange(onratechange); 319 return this; 320 } 321 322 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 323 public Table onreset(String onreset) { 324 super.onreset(onreset); 325 return this; 326 } 327 328 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 329 public Table onresize(String onresize) { 330 super.onresize(onresize); 331 return this; 332 } 333 334 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 335 public Table onscroll(String onscroll) { 336 super.onscroll(onscroll); 337 return this; 338 } 339 340 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 341 public Table onseeked(String onseeked) { 342 super.onseeked(onseeked); 343 return this; 344 } 345 346 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 347 public Table onseeking(String onseeking) { 348 super.onseeking(onseeking); 349 return this; 350 } 351 352 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 353 public Table onselect(String onselect) { 354 super.onselect(onselect); 355 return this; 356 } 357 358 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 359 public Table onshow(String onshow) { 360 super.onshow(onshow); 361 return this; 362 } 363 364 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 365 public Table onstalled(String onstalled) { 366 super.onstalled(onstalled); 367 return this; 368 } 369 370 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 371 public Table onsubmit(String onsubmit) { 372 super.onsubmit(onsubmit); 373 return this; 374 } 375 376 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 377 public Table onsuspend(String onsuspend) { 378 super.onsuspend(onsuspend); 379 return this; 380 } 381 382 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 383 public Table ontimeupdate(String ontimeupdate) { 384 super.ontimeupdate(ontimeupdate); 385 return this; 386 } 387 388 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 389 public Table ontoggle(String ontoggle) { 390 super.ontoggle(ontoggle); 391 return this; 392 } 393 394 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 395 public Table onvolumechange(String onvolumechange) { 396 super.onvolumechange(onvolumechange); 397 return this; 398 } 399 400 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 401 public Table onwaiting(String onwaiting) { 402 super.onwaiting(onwaiting); 403 return this; 404 } 405 406 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 407 public Table spellcheck(Object spellcheck) { 408 super.spellcheck(spellcheck); 409 return this; 410 } 411 412 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 413 public Table style(String style) { 414 super.style(style); 415 return this; 416 } 417 418 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 419 public Table tabindex(Object tabindex) { 420 super.tabindex(tabindex); 421 return this; 422 } 423 424 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 425 public Table title(String title) { 426 super.title(title); 427 return this; 428 } 429 430 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 431 public Table translate(Object translate) { 432 super.translate(translate); 433 return this; 434 } 435 436 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElementContainer */ 437 public Table child(Object child) { 438 super.child(child); 439 return this; 440 } 441 442 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElementContainer */ 443 public Table children(Object...children) { 444 super.children(children); 445 return this; 446 } 447 448 // </FluentSetters> 449}