1 57 package com.sun.org.apache.html.internal.dom; 58 59 60 import org.w3c.dom.html.HTMLCollection; 61 import org.w3c.dom.html.HTMLMapElement; 62 63 64 70 public class HTMLMapElementImpl 71 extends HTMLElementImpl 72 implements HTMLMapElement 73 { 74 75 76 77 public HTMLCollection getAreas() 78 { 79 if ( _areas == null ) 80 _areas = new HTMLCollectionImpl( this, HTMLCollectionImpl.AREA ); 81 return _areas; 82 } 83 84 85 public String getName() 86 { 87 return getAttribute( "name" ); 88 } 89 90 91 public void setName( String name ) 92 { 93 setAttribute( "name", name ); 94 } 95 96 97 102 public HTMLMapElementImpl( HTMLDocumentImpl owner, String name ) 103 { 104 super( owner, name ); 105 } 106 107 108 private HTMLCollection _areas; 109 110 111 } 112 113 | Popular Tags |