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