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 * An embedded Java applet. See the APPLET element definition in HTML 4.01. 017 * This element is deprecated in HTML 4.01. 018 * <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>. 019 */ 020 public interface HTMLAppletElement extends HTMLElement { 021 /** 022 * Aligns this object (vertically or horizontally) with respect to its 023 * surrounding text. See the align attribute definition in HTML 4.01. 024 * This attribute is deprecated in HTML 4.01. 025 */ 026 public String getAlign(); 027 /** 028 * Aligns this object (vertically or horizontally) with respect to its 029 * surrounding text. See the align attribute definition in HTML 4.01. 030 * This attribute is deprecated in HTML 4.01. 031 */ 032 public void setAlign(String align); 033 034 /** 035 * Alternate text for user agents not rendering the normal content of this 036 * element. See the alt attribute definition in HTML 4.01. This 037 * attribute is deprecated in HTML 4.01. 038 */ 039 public String getAlt(); 040 /** 041 * Alternate text for user agents not rendering the normal content of this 042 * element. See the alt attribute definition in HTML 4.01. This 043 * attribute is deprecated in HTML 4.01. 044 */ 045 public void setAlt(String alt); 046 047 /** 048 * Comma-separated archive list. See the archive attribute definition in 049 * HTML 4.01. This attribute is deprecated in HTML 4.01. 050 */ 051 public String getArchive(); 052 /** 053 * Comma-separated archive list. See the archive attribute definition in 054 * HTML 4.01. This attribute is deprecated in HTML 4.01. 055 */ 056 public void setArchive(String archive); 057 058 /** 059 * Applet class file. See the code attribute definition in HTML 4.01. This 060 * attribute is deprecated in HTML 4.01. 061 */ 062 public String getCode(); 063 /** 064 * Applet class file. See the code attribute definition in HTML 4.01. This 065 * attribute is deprecated in HTML 4.01. 066 */ 067 public void setCode(String code); 068 069 /** 070 * Optional base URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] for applet. See the codebase attribute definition in 071 * HTML 4.01. This attribute is deprecated in HTML 4.01. 072 */ 073 public String getCodeBase(); 074 /** 075 * Optional base URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] for applet. See the codebase attribute definition in 076 * HTML 4.01. This attribute is deprecated in HTML 4.01. 077 */ 078 public void setCodeBase(String codeBase); 079 080 /** 081 * Override height. See the height attribute definition in HTML 4.01. This 082 * attribute is deprecated in HTML 4.01. 083 */ 084 public String getHeight(); 085 /** 086 * Override height. See the height attribute definition in HTML 4.01. This 087 * attribute is deprecated in HTML 4.01. 088 */ 089 public void setHeight(String height); 090 091 /** 092 * Horizontal space, in pixels, to the left and right of this image, 093 * applet, or object. See the hspace attribute definition in HTML 4.01. 094 * This attribute is deprecated in HTML 4.01. 095 * @version DOM Level 2 096 */ 097 public int getHspace(); 098 /** 099 * Horizontal space, in pixels, to the left and right of this image, 100 * applet, or object. See the hspace attribute definition in HTML 4.01. 101 * This attribute is deprecated in HTML 4.01. 102 * @version DOM Level 2 103 */ 104 public void setHspace(int hspace); 105 106 /** 107 * The name of the applet. See the name attribute definition in HTML 4.01. 108 * This attribute is deprecated in HTML 4.01. 109 */ 110 public String getName(); 111 /** 112 * The name of the applet. See the name attribute definition in HTML 4.01. 113 * This attribute is deprecated in HTML 4.01. 114 */ 115 public void setName(String name); 116 117 /** 118 * The value of the "object" attribute. See the object attribute definition 119 * in HTML 4.01. This attribute is deprecated in HTML 4.01. 120 * @version DOM Level 2 121 */ 122 public String getObject(); 123 /** 124 * The value of the "object" attribute. See the object attribute definition 125 * in HTML 4.01. This attribute is deprecated in HTML 4.01. 126 * @version DOM Level 2 127 */ 128 public void setObject(String object); 129 130 /** 131 * Vertical space, in pixels, above and below this image, applet, or 132 * object. See the vspace attribute definition in HTML 4.01. This 133 * attribute is deprecated in HTML 4.01. 134 * @version DOM Level 2 135 */ 136 public int getVspace(); 137 /** 138 * Vertical space, in pixels, above and below this image, applet, or 139 * object. See the vspace attribute definition in HTML 4.01. This 140 * attribute is deprecated in HTML 4.01. 141 * @version DOM Level 2 142 */ 143 public void setVspace(int vspace); 144 145 /** 146 * Override width. See the width attribute definition in HTML 4.01. This 147 * attribute is deprecated in HTML 4.01. 148 */ 149 public String getWidth(); 150 /** 151 * Override width. See the width attribute definition in HTML 4.01. This 152 * attribute is deprecated in HTML 4.01. 153 */ 154 public void setWidth(String width); 155 156 }