1 /* 2 * Copyright (c) 2003 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. 10 * See W3C License http://www.w3.org/Consortium/Legal/ for more details. 11 */ 12 13 package org.w3c.dom.html2; 14 15 /** 16 * Client-side image map. See the MAP element definition in HTML 4.01. 17 * <p>See also the <a href='http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109'>Document Object Model (DOM) Level 2 HTML Specification</a>. 18 */ 19 public interface HTMLMapElement extends HTMLElement { 20 /** 21 * The list of areas defined for the image map. 22 */ getAreas()23 public HTMLCollection getAreas(); 24 25 /** 26 * Names the map (for use with <code>usemap</code>). See the name 27 * attribute definition in HTML 4.01. 28 */ getName()29 public String getName(); 30 /** 31 * Names the map (for use with <code>usemap</code>). See the name 32 * attribute definition in HTML 4.01. 33 */ setName(String name)34 public void setName(String name); 35 36 } 37