TableElement.hx 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. /** <code>table</code> objects expose the <code><a class="external" rel="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-64060425" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-64060425" target="_blank">HTMLTableElement</a></code> interface, which provides special properties and methods (beyond the regular <a rel="internal" href="/api/js/html/Element" title="en/DOM/element">element</a> object interface they also have available to them by inheritance) for manipulating the layout and presentation of tables in HTML.
  25. <br><br>
  26. Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLTableElement">MDN</a>. */
  27. @:native("HTMLTableElement")
  28. extern class TableElement extends Element
  29. {
  30. /** <b>align</b> gets/sets the alignment of the table. */
  31. var align : String;
  32. /** <b>bgColor</b> gets/sets the background color of the table. */
  33. var bgColor : String;
  34. /** <b>border</b> gets/sets the table border. */
  35. var border : String;
  36. /** <b>caption</b> returns the table caption.
  37. Setter throws DOMException. */
  38. var caption : TableCaptionElement;
  39. /** <b>cellPadding</b> gets/sets the cell padding. */
  40. var cellPadding : String;
  41. /** <b>cellSpacing</b> gets/sets the spacing around the table. */
  42. var cellSpacing : String;
  43. /** <b>frame</b> specifies which sides of the table have borders. */
  44. var frame : String;
  45. /** <b>rows</b> returns the rows in the table. */
  46. var rows(default,null) : HTMLCollection;
  47. /** <b>rules</b> specifies which interior borders are visible. */
  48. var rules : String;
  49. /** <b>summary</b> gets/sets the table summary. */
  50. var summary : String;
  51. /** <b>tBodies</b> returns the table bodies. */
  52. var tBodies(default,null) : HTMLCollection;
  53. /** <b>tFoot</b> returns the table footer.
  54. Setter throws DOMException. */
  55. var tFoot : TableSectionElement;
  56. /** <b>tHead</b> returns the table head.
  57. Setter throws DOMException. */
  58. var tHead : TableSectionElement;
  59. /** <b>width</b> gets/sets the width of the table. */
  60. var width : String;
  61. function createCaption() : Element;
  62. function createTBody() : Element;
  63. function createTFoot() : Element;
  64. function createTHead() : Element;
  65. function deleteCaption() : Void;
  66. function deleteRow( index : Int ) : Void;
  67. function deleteTFoot() : Void;
  68. function deleteTHead() : Void;
  69. function insertRow( index : Int ) : Element;
  70. }