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