ObjectElement.hx 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. /*
  2. * Copyright (C)2005-2013 Haxe Foundation
  3. *
  4. * Permission is hereby granted, free of charge, to any person obtaining a
  5. * copy of this software and associated documentation files (the "Software"),
  6. * to deal in the Software without restriction, including without limitation
  7. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  8. * and/or sell copies of the Software, and to permit persons to whom the
  9. * Software is furnished to do so, subject to the following conditions:
  10. *
  11. * The above copyright notice and this permission notice shall be included in
  12. * all copies or substantial portions of the Software.
  13. *
  14. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  20. * DEALINGS IN THE SOFTWARE.
  21. */
  22. // This file is generated, do not edit!
  23. package js.html;
  24. /** DOM <code>Object</code> objects expose the <a title="http://dev.w3.org/html5/spec/the-iframe-element.html#htmlobjectelement" class=" external" rel="external nofollow" href="http://dev.w3.org/html5/spec/the-iframe-element.html#htmlobjectelement" target="_blank">HTMLObjectElement</a> (or <span><a rel="custom nofollow" href="https://developer.mozilla.org/en/HTML">HTML 4</a></span> <a class=" external" rel="external nofollow" href="http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-9893177" title="http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-9893177" target="_blank">HTMLObjectElement</a>) interface, which provides special properties and methods (beyond the regular <a rel="internal" href="/api/js/html/Element">element</a> object interface they also have available to them by inheritance) for manipulating the layout and presentation of Object element, representing external resources.<br><br>
  25. Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLObjectElement">MDN</a>. */
  26. @:native("HTMLObjectElement")
  27. extern class ObjectElement extends Element
  28. {
  29. /** Alignment of the object relative to its context.
  30. <span title="">Obsolete</span> in
  31. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>. */
  32. var align : String;
  33. /** Reflects the
  34. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/object#attr-archive">archive</a></code>
  35. &nbsp;HTML attribute, containing a list of archives for resources for this object.
  36. <span title="">Obsolete</span> in
  37. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>. */
  38. var archive : String;
  39. /** Reflects the
  40. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/object#attr-border">border</a></code>
  41. &nbsp;HTML attribute, specifying the width of a border around the object.
  42. <span title="">Obsolete</span> in
  43. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>. */
  44. var border : String;
  45. /** The name of an applet class file, containing either the applet's subclass, or the path to get to the class, including the class file itself.
  46. <span title="">Obsolete</span> in
  47. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>. */
  48. var code : String;
  49. /** Reflects the
  50. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/object#attr-codebase">codebase</a></code>
  51. &nbsp;HTML attribute, specifying the base path to use to resolve relative URIs.
  52. <span title="">Obsolete</span> in
  53. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>. */
  54. var codeBase : String;
  55. /** Reflects the
  56. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/object#attr-codetype">codetype</a></code>
  57. &nbsp;HTML attribute, specifying the content type of the data.
  58. <span title="">Obsolete</span> in
  59. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>. */
  60. var codeType : String;
  61. /** The active document of the object element's nested browsing context, if any; otherwise null. */
  62. var contentDocument(default,null) : Document;
  63. /** Reflects the
  64. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/object#attr-data">data</a></code>
  65. HTML&nbsp;attribute, specifying the address of a resource's data. */
  66. var data : String;
  67. /** Reflects the
  68. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/object#attr-declare">declare</a></code>
  69. HTML&nbsp;attribute, indicating that this is a declaration, not an instantiation, of the object.
  70. <span title="">Obsolete</span> in
  71. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>. */
  72. var declare : Bool;
  73. /** The object element's form owner, or null if there isn't one. */
  74. var form(default,null) : FormElement;
  75. /** Reflects the {{htmlattrxref("height", "object)}}&nbsp;HTML attribute, specifying the displayed height of the resource in CSS pixels. */
  76. var height : String;
  77. /** Horizontal space in pixels around the control.
  78. <span title="">Obsolete</span> in
  79. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>. */
  80. var hspace : Int;
  81. /** Reflects the
  82. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/object#attr-name">name</a></code>
  83. &nbsp;HTML attribute, specifying the name of the object (
  84. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML">HTML 4</a></span>, or of a browsing context (
  85. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>. */
  86. var name : String;
  87. /** Reflects the
  88. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/object#attr-standby">standby</a></code>
  89. HTML&nbsp;attribute, specifying a message to display while the object loads.
  90. <span title="">Obsolete</span> in
  91. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>. */
  92. var standby : String;
  93. /** Reflects the {{htmlattrxref("type", "object)}}&nbsp;HTML attribute, specifying the MIME type of the resource. */
  94. var type : String;
  95. /** Reflects the {{htmlattrxref("usemap", "object)}}&nbsp;HTML attribute, specifying a {{HTMLElement("map")}} element to use. */
  96. var useMap : String;
  97. /** A localized message that describes the validation constraints that the control does not satisfy (if any). This is the empty string if the control is not a candidate for constraint validation (<strong>willValidate</strong> is false), or it satisfies its constraints. */
  98. var validationMessage(default,null) : String;
  99. /** The validity states that this element is in. */
  100. var validity(default,null) : ValidityState;
  101. /** Horizontal space in pixels around the control.
  102. <span title="">Obsolete</span> in
  103. <span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>. */
  104. var vspace : Int;
  105. /** Reflects the
  106. <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/object#attr-width">width</a></code>
  107. &nbsp;HTML attribute, specifying the displayed width of the resource in CSS pixels. */
  108. var width : String;
  109. /** Indicates whether the element is a candidate for constraint validation. Always false for <code>object</code> objects. */
  110. var willValidate(default,null) : Bool;
  111. function checkValidity() : Bool;
  112. function getSVGDocument() : js.html.svg.Document;
  113. function setCustomValidity( error : String ) : Void;
  114. }