Source for org.w3c.dom.html2.HTMLAreaElement

   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 area definition. See the AREA element definition in 
  17:  * HTML 4.01.
  18:  * <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>.
  19:  */
  20: public interface HTMLAreaElement extends HTMLElement {
  21:     /**
  22:      * A single character access key to give access to the form control. See 
  23:      * the accesskey attribute definition in HTML 4.01.
  24:      */
  25:     public String getAccessKey();
  26:     /**
  27:      * A single character access key to give access to the form control. See 
  28:      * the accesskey attribute definition in HTML 4.01.
  29:      */
  30:     public void setAccessKey(String accessKey);
  31: 
  32:     /**
  33:      * Alternate text for user agents not rendering the normal content of this 
  34:      * element. See the alt attribute definition in HTML 4.01.
  35:      */
  36:     public String getAlt();
  37:     /**
  38:      * Alternate text for user agents not rendering the normal content of this 
  39:      * element. See the alt attribute definition in HTML 4.01.
  40:      */
  41:     public void setAlt(String alt);
  42: 
  43:     /**
  44:      * Comma-separated list of lengths, defining an active region geometry. 
  45:      * See also <code>shape</code> for the shape of the region. See the 
  46:      * coords attribute definition in HTML 4.01.
  47:      */
  48:     public String getCoords();
  49:     /**
  50:      * Comma-separated list of lengths, defining an active region geometry. 
  51:      * See also <code>shape</code> for the shape of the region. See the 
  52:      * coords attribute definition in HTML 4.01.
  53:      */
  54:     public void setCoords(String coords);
  55: 
  56:     /**
  57:      * The URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] of the linked resource. See the href attribute definition in 
  58:      * HTML 4.01.
  59:      */
  60:     public String getHref();
  61:     /**
  62:      * The URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] of the linked resource. See the href attribute definition in 
  63:      * HTML 4.01.
  64:      */
  65:     public void setHref(String href);
  66: 
  67:     /**
  68:      * Specifies that this area is inactive, i.e., has no associated action. 
  69:      * See the nohref attribute definition in HTML 4.01.
  70:      */
  71:     public boolean getNoHref();
  72:     /**
  73:      * Specifies that this area is inactive, i.e., has no associated action. 
  74:      * See the nohref attribute definition in HTML 4.01.
  75:      */
  76:     public void setNoHref(boolean noHref);
  77: 
  78:     /**
  79:      * The shape of the active area. The coordinates are given by 
  80:      * <code>coords</code>. See the shape attribute definition in HTML 4.01.
  81:      */
  82:     public String getShape();
  83:     /**
  84:      * The shape of the active area. The coordinates are given by 
  85:      * <code>coords</code>. See the shape attribute definition in HTML 4.01.
  86:      */
  87:     public void setShape(String shape);
  88: 
  89:     /**
  90:      * Index that represents the element's position in the tabbing order. See 
  91:      * the tabindex attribute definition in HTML 4.01.
  92:      */
  93:     public int getTabIndex();
  94:     /**
  95:      * Index that represents the element's position in the tabbing order. See 
  96:      * the tabindex attribute definition in HTML 4.01.
  97:      */
  98:     public void setTabIndex(int tabIndex);
  99: 
 100:     /**
 101:      * Frame to render the resource in. See the target attribute definition in 
 102:      * HTML 4.01.
 103:      */
 104:     public String getTarget();
 105:     /**
 106:      * Frame to render the resource in. See the target attribute definition in 
 107:      * HTML 4.01.
 108:      */
 109:     public void setTarget(String target);
 110: 
 111: }