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. * Group options together in logical subdivisions. See the OPTGROUP element
  15. * 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 HTMLOptGroupElement extends HTMLElement {
  19. /**
  20. * The control is unavailable in this context. See the disabled
  21. * attribute definition in HTML 4.0.
  22. */
  23. public boolean getDisabled();
  24. public void setDisabled(boolean disabled);
  25. /**
  26. * Assigns a label to this option group. See the label attribute
  27. * definition in HTML 4.0.
  28. */
  29. public String getLabel();
  30. public void setLabel(String label);
  31. }