1. /*
  2. * Copyright (c) 2000 World Wide Web Consortium,
  3. * (Massachusetts Institute of Technology, Institut National de
  4. * Recherche en Informatique et en Automatique, Keio University). All
  5. * Rights Reserved. This program is distributed under the W3C's Software
  6. * Intellectual Property License. This program is distributed in the
  7. * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
  8. * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  9. * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
  10. * details.
  11. */
  12. package org.w3c.dom.html;
  13. /**
  14. * Regroups the <code>COL</code> and <code>COLGROUP</code> elements. See the
  15. * COL element definition in HTML 4.0.
  16. * <p>See also the <a href='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.
  17. */
  18. public interface HTMLTableColElement extends HTMLElement {
  19. /**
  20. * Horizontal alignment of cell data in column. See the align attribute
  21. * definition in HTML 4.0.
  22. */
  23. public String getAlign();
  24. public void setAlign(String align);
  25. /**
  26. * Alignment character for cells in a column. See the char attribute
  27. * definition in HTML 4.0.
  28. */
  29. public String getCh();
  30. public void setCh(String ch);
  31. /**
  32. * Offset of alignment character. See the charoff attribute definition
  33. * in HTML 4.0.
  34. */
  35. public String getChOff();
  36. public void setChOff(String chOff);
  37. /**
  38. * Indicates the number of columns in a group or affected by a grouping.
  39. * See the span attribute definition in HTML 4.0.
  40. */
  41. public int getSpan();
  42. public void setSpan(int span);
  43. /**
  44. * Vertical alignment of cell data in column. See the valign attribute
  45. * definition in HTML 4.0.
  46. */
  47. public String getVAlign();
  48. public void setVAlign(String vAlign);
  49. /**
  50. * Default column width. See the width attribute definition in HTML 4.0.
  51. */
  52. public String getWidth();
  53. public void setWidth(String width);
  54. }