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-col-element"><col></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="col") 027@FluentSetters 028public class Col extends HtmlElementVoid { 029 030 /** 031 * Creates an empty {@link Col} element. 032 */ 033 public Col() {} 034 035 /** 036 * Creates a {@link Col} element with the specified {@link Col#span(Object)} attribute. 037 * 038 * @param span The {@link Col#span(Object)} attribute. 039 */ 040 public Col(Number span) { 041 span(span); 042 } 043 044 /** 045 * <a class="doclink" href="https://www.w3.org/TR/html5/tabular-data.html#attr-col-span">span</a> attribute. 046 * 047 * <p> 048 * Number of columns spanned by the element. 049 * 050 * @param span 051 * The new value for this attribute. 052 * Typically a {@link Number} or {@link String}. 053 * @return This object. 054 */ 055 public final Col span(Object span) { 056 attr("span", span); 057 return this; 058 } 059 060 061 //----------------------------------------------------------------------------------------------------------------- 062 // Overridden methods 063 //----------------------------------------------------------------------------------------------------------------- 064 065 // <FluentSetters> 066 067 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 068 public Col _class(String _class) { 069 super._class(_class); 070 return this; 071 } 072 073 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 074 public Col accesskey(String accesskey) { 075 super.accesskey(accesskey); 076 return this; 077 } 078 079 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 080 public Col contenteditable(Object contenteditable) { 081 super.contenteditable(contenteditable); 082 return this; 083 } 084 085 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 086 public Col dir(String dir) { 087 super.dir(dir); 088 return this; 089 } 090 091 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 092 public Col hidden(Object hidden) { 093 super.hidden(hidden); 094 return this; 095 } 096 097 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 098 public Col id(String id) { 099 super.id(id); 100 return this; 101 } 102 103 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 104 public Col lang(String lang) { 105 super.lang(lang); 106 return this; 107 } 108 109 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 110 public Col onabort(String onabort) { 111 super.onabort(onabort); 112 return this; 113 } 114 115 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 116 public Col onblur(String onblur) { 117 super.onblur(onblur); 118 return this; 119 } 120 121 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 122 public Col oncancel(String oncancel) { 123 super.oncancel(oncancel); 124 return this; 125 } 126 127 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 128 public Col oncanplay(String oncanplay) { 129 super.oncanplay(oncanplay); 130 return this; 131 } 132 133 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 134 public Col oncanplaythrough(String oncanplaythrough) { 135 super.oncanplaythrough(oncanplaythrough); 136 return this; 137 } 138 139 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 140 public Col onchange(String onchange) { 141 super.onchange(onchange); 142 return this; 143 } 144 145 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 146 public Col onclick(String onclick) { 147 super.onclick(onclick); 148 return this; 149 } 150 151 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 152 public Col oncuechange(String oncuechange) { 153 super.oncuechange(oncuechange); 154 return this; 155 } 156 157 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 158 public Col ondblclick(String ondblclick) { 159 super.ondblclick(ondblclick); 160 return this; 161 } 162 163 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 164 public Col ondurationchange(String ondurationchange) { 165 super.ondurationchange(ondurationchange); 166 return this; 167 } 168 169 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 170 public Col onemptied(String onemptied) { 171 super.onemptied(onemptied); 172 return this; 173 } 174 175 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 176 public Col onended(String onended) { 177 super.onended(onended); 178 return this; 179 } 180 181 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 182 public Col onerror(String onerror) { 183 super.onerror(onerror); 184 return this; 185 } 186 187 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 188 public Col onfocus(String onfocus) { 189 super.onfocus(onfocus); 190 return this; 191 } 192 193 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 194 public Col oninput(String oninput) { 195 super.oninput(oninput); 196 return this; 197 } 198 199 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 200 public Col oninvalid(String oninvalid) { 201 super.oninvalid(oninvalid); 202 return this; 203 } 204 205 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 206 public Col onkeydown(String onkeydown) { 207 super.onkeydown(onkeydown); 208 return this; 209 } 210 211 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 212 public Col onkeypress(String onkeypress) { 213 super.onkeypress(onkeypress); 214 return this; 215 } 216 217 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 218 public Col onkeyup(String onkeyup) { 219 super.onkeyup(onkeyup); 220 return this; 221 } 222 223 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 224 public Col onload(String onload) { 225 super.onload(onload); 226 return this; 227 } 228 229 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 230 public Col onloadeddata(String onloadeddata) { 231 super.onloadeddata(onloadeddata); 232 return this; 233 } 234 235 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 236 public Col onloadedmetadata(String onloadedmetadata) { 237 super.onloadedmetadata(onloadedmetadata); 238 return this; 239 } 240 241 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 242 public Col onloadstart(String onloadstart) { 243 super.onloadstart(onloadstart); 244 return this; 245 } 246 247 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 248 public Col onmousedown(String onmousedown) { 249 super.onmousedown(onmousedown); 250 return this; 251 } 252 253 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 254 public Col onmouseenter(String onmouseenter) { 255 super.onmouseenter(onmouseenter); 256 return this; 257 } 258 259 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 260 public Col onmouseleave(String onmouseleave) { 261 super.onmouseleave(onmouseleave); 262 return this; 263 } 264 265 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 266 public Col onmousemove(String onmousemove) { 267 super.onmousemove(onmousemove); 268 return this; 269 } 270 271 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 272 public Col onmouseout(String onmouseout) { 273 super.onmouseout(onmouseout); 274 return this; 275 } 276 277 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 278 public Col onmouseover(String onmouseover) { 279 super.onmouseover(onmouseover); 280 return this; 281 } 282 283 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 284 public Col onmouseup(String onmouseup) { 285 super.onmouseup(onmouseup); 286 return this; 287 } 288 289 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 290 public Col onmousewheel(String onmousewheel) { 291 super.onmousewheel(onmousewheel); 292 return this; 293 } 294 295 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 296 public Col onpause(String onpause) { 297 super.onpause(onpause); 298 return this; 299 } 300 301 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 302 public Col onplay(String onplay) { 303 super.onplay(onplay); 304 return this; 305 } 306 307 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 308 public Col onplaying(String onplaying) { 309 super.onplaying(onplaying); 310 return this; 311 } 312 313 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 314 public Col onprogress(String onprogress) { 315 super.onprogress(onprogress); 316 return this; 317 } 318 319 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 320 public Col onratechange(String onratechange) { 321 super.onratechange(onratechange); 322 return this; 323 } 324 325 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 326 public Col onreset(String onreset) { 327 super.onreset(onreset); 328 return this; 329 } 330 331 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 332 public Col onresize(String onresize) { 333 super.onresize(onresize); 334 return this; 335 } 336 337 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 338 public Col onscroll(String onscroll) { 339 super.onscroll(onscroll); 340 return this; 341 } 342 343 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 344 public Col onseeked(String onseeked) { 345 super.onseeked(onseeked); 346 return this; 347 } 348 349 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 350 public Col onseeking(String onseeking) { 351 super.onseeking(onseeking); 352 return this; 353 } 354 355 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 356 public Col onselect(String onselect) { 357 super.onselect(onselect); 358 return this; 359 } 360 361 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 362 public Col onshow(String onshow) { 363 super.onshow(onshow); 364 return this; 365 } 366 367 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 368 public Col onstalled(String onstalled) { 369 super.onstalled(onstalled); 370 return this; 371 } 372 373 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 374 public Col onsubmit(String onsubmit) { 375 super.onsubmit(onsubmit); 376 return this; 377 } 378 379 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 380 public Col onsuspend(String onsuspend) { 381 super.onsuspend(onsuspend); 382 return this; 383 } 384 385 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 386 public Col ontimeupdate(String ontimeupdate) { 387 super.ontimeupdate(ontimeupdate); 388 return this; 389 } 390 391 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 392 public Col ontoggle(String ontoggle) { 393 super.ontoggle(ontoggle); 394 return this; 395 } 396 397 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 398 public Col onvolumechange(String onvolumechange) { 399 super.onvolumechange(onvolumechange); 400 return this; 401 } 402 403 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 404 public Col onwaiting(String onwaiting) { 405 super.onwaiting(onwaiting); 406 return this; 407 } 408 409 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 410 public Col spellcheck(Object spellcheck) { 411 super.spellcheck(spellcheck); 412 return this; 413 } 414 415 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 416 public Col style(String style) { 417 super.style(style); 418 return this; 419 } 420 421 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 422 public Col tabindex(Object tabindex) { 423 super.tabindex(tabindex); 424 return this; 425 } 426 427 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 428 public Col title(String title) { 429 super.title(title); 430 return this; 431 } 432 433 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 434 public Col translate(Object translate) { 435 super.translate(translate); 436 return this; 437 } 438 439 // </FluentSetters> 440}