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