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. * Client-side image map area definition. See the AREA element definition in
  15. * 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 HTMLAreaElement extends HTMLElement {
  19. /**
  20. * A single character access key to give access to the form control. See
  21. * the accesskey attribute definition in HTML 4.0.
  22. */
  23. public String getAccessKey();
  24. public void setAccessKey(String accessKey);
  25. /**
  26. * Alternate text for user agents not rendering the normal content of
  27. * this element. See the alt attribute definition in HTML 4.0.
  28. */
  29. public String getAlt();
  30. public void setAlt(String alt);
  31. /**
  32. * Comma-separated list of lengths, defining an active region geometry.
  33. * See also <code>shape</code> for the shape of the region. See the
  34. * coords attribute definition in HTML 4.0.
  35. */
  36. public String getCoords();
  37. public void setCoords(String coords);
  38. /**
  39. * The URI of the linked resource. See the href attribute definition in
  40. * HTML 4.0.
  41. */
  42. public String getHref();
  43. public void setHref(String href);
  44. /**
  45. * Specifies that this area is inactive, i.e., has no associated action.
  46. * See the nohref attribute definition in HTML 4.0.
  47. */
  48. public boolean getNoHref();
  49. public void setNoHref(boolean noHref);
  50. /**
  51. * The shape of the active area. The coordinates are given by
  52. * <code>coords</code> . See the shape attribute definition in HTML 4.0.
  53. */
  54. public String getShape();
  55. public void setShape(String shape);
  56. /**
  57. * Index that represents the element's position in the tabbing order. See
  58. * the tabindex attribute definition in HTML 4.0.
  59. */
  60. public int getTabIndex();
  61. public void setTabIndex(int tabIndex);
  62. /**
  63. * Frame to render the resource in. See the target attribute definition
  64. * in HTML 4.0.
  65. */
  66. public String getTarget();
  67. public void setTarget(String target);
  68. }