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