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. * Style information. See the STYLE element definition in HTML 4.0, the
  15. * module and the <code>LinkStyle</code> interface in the module.
  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 HTMLStyleElement extends HTMLElement {
  19. /**
  20. * Enables/disables the style sheet.
  21. */
  22. public boolean getDisabled();
  23. public void setDisabled(boolean disabled);
  24. /**
  25. * Designed for use with one or more target media. See the media
  26. * attribute definition in HTML 4.0.
  27. */
  28. public String getMedia();
  29. public void setMedia(String media);
  30. /**
  31. * The content type pf the style sheet language. See the type attribute
  32. * definition in HTML 4.0.
  33. */
  34. public String getType();
  35. public void setType(String type);
  36. }