001 /* 002 * Copyright (c) 2003 World Wide Web Consortium, 003 * (Massachusetts Institute of Technology, Institut National de 004 * Recherche en Informatique et en Automatique, Keio University). All 005 * Rights Reserved. This program is distributed under the W3C's Software 006 * Intellectual Property License. This program is distributed in the 007 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even 008 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 009 * PURPOSE. 010 * See W3C License http://www.w3.org/Consortium/Legal/ for more details. 011 */ 012 013 package org.w3c.dom.html2; 014 015 /** 016 * Client-side image map. See the MAP element definition in HTML 4.01. 017 * <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>. 018 */ 019 public interface HTMLMapElement extends HTMLElement { 020 /** 021 * The list of areas defined for the image map. 022 */ 023 public HTMLCollection getAreas(); 024 025 /** 026 * Names the map (for use with <code>usemap</code>). See the name 027 * attribute definition in HTML 4.01. 028 */ 029 public String getName(); 030 /** 031 * Names the map (for use with <code>usemap</code>). See the name 032 * attribute definition in HTML 4.01. 033 */ 034 public void setName(String name); 035 036 }