/WebCore/html/HTMLTableElement.idl

http://github.com/CyanogenMod/android_external_webkit · IDL · 63 lines · 31 code · 11 blank · 21 comment · 0 complexity · aea7d036e4e0425e59e84650975a95b7 MD5 · raw file

  1. /*
  2. * Copyright (C) 2006, 2007 Apple Inc.
  3. * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Library General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2 of the License, or (at your option) any later version.
  9. *
  10. * This library is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Library General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Library General Public License
  16. * along with this library; see the file COPYING.LIB. If not, write to
  17. * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  18. * Boston, MA 02110-1301, USA.
  19. */
  20. module html {
  21. interface HTMLTableElement : HTMLElement {
  22. // could raise excepetions on setting.
  23. attribute HTMLTableCaptionElement caption
  24. setter raises(DOMException);
  25. attribute HTMLTableSectionElement tHead
  26. setter raises(DOMException);
  27. attribute HTMLTableSectionElement tFoot
  28. setter raises(DOMException);
  29. readonly attribute HTMLCollection rows;
  30. readonly attribute HTMLCollection tBodies;
  31. attribute [ConvertNullToNullString] DOMString align;
  32. attribute [ConvertNullToNullString] DOMString bgColor;
  33. attribute [ConvertNullToNullString] DOMString border;
  34. attribute [ConvertNullToNullString] DOMString cellPadding;
  35. attribute [ConvertNullToNullString] DOMString cellSpacing;
  36. // FIXME: the obj-c attribute is called frameBorders
  37. attribute [ConvertNullToNullString] DOMString frame;
  38. attribute [ConvertNullToNullString] DOMString rules;
  39. attribute [ConvertNullToNullString] DOMString summary;
  40. attribute [ConvertNullToNullString] DOMString width;
  41. HTMLElement createTHead();
  42. void deleteTHead();
  43. HTMLElement createTFoot();
  44. void deleteTFoot();
  45. HTMLElement createCaption();
  46. void deleteCaption();
  47. HTMLElement insertRow(in long index)
  48. raises(DOMException);
  49. void deleteRow(in long index)
  50. raises(DOMException);
  51. };
  52. }