jaxp/src/share/classes/org/w3c/dom/html/HTMLObjectElement.java
author tonyp
Wed, 19 Aug 2009 12:53:25 -0400
changeset 3691 c84b8483cd2c
parent 6 7f561c08de6b
permissions -rw-r--r--
6871111: G1: remove the concurrent overhead tracker Summary: Removing the concurrent overhead tracker from G1, along with the GC overhead reporter and the G1AccountConcurrentOverhead (both of which rely on the the concurrent overhead tracker). Reviewed-by: iveresov, johnc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
7f561c08de6b Initial load
duke
parents:
diff changeset
     1
/*
7f561c08de6b Initial load
duke
parents:
diff changeset
     2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7f561c08de6b Initial load
duke
parents:
diff changeset
     3
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
     4
 * This code is free software; you can redistribute it and/or modify it
7f561c08de6b Initial load
duke
parents:
diff changeset
     5
 * under the terms of the GNU General Public License version 2 only, as
7f561c08de6b Initial load
duke
parents:
diff changeset
     6
 * published by the Free Software Foundation.  Sun designates this
7f561c08de6b Initial load
duke
parents:
diff changeset
     7
 * particular file as subject to the "Classpath" exception as provided
7f561c08de6b Initial load
duke
parents:
diff changeset
     8
 * by Sun in the LICENSE file that accompanied this code.
7f561c08de6b Initial load
duke
parents:
diff changeset
     9
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    10
 * This code is distributed in the hope that it will be useful, but WITHOUT
7f561c08de6b Initial load
duke
parents:
diff changeset
    11
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
7f561c08de6b Initial load
duke
parents:
diff changeset
    12
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
7f561c08de6b Initial load
duke
parents:
diff changeset
    13
 * version 2 for more details (a copy is included in the LICENSE file that
7f561c08de6b Initial load
duke
parents:
diff changeset
    14
 * accompanied this code).
7f561c08de6b Initial load
duke
parents:
diff changeset
    15
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    16
 * You should have received a copy of the GNU General Public License version
7f561c08de6b Initial load
duke
parents:
diff changeset
    17
 * 2 along with this work; if not, write to the Free Software Foundation,
7f561c08de6b Initial load
duke
parents:
diff changeset
    18
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
7f561c08de6b Initial load
duke
parents:
diff changeset
    19
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    20
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
7f561c08de6b Initial load
duke
parents:
diff changeset
    21
 * CA 95054 USA or visit www.sun.com if you need additional information or
7f561c08de6b Initial load
duke
parents:
diff changeset
    22
 * have any questions.
7f561c08de6b Initial load
duke
parents:
diff changeset
    23
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
    24
7f561c08de6b Initial load
duke
parents:
diff changeset
    25
/*
7f561c08de6b Initial load
duke
parents:
diff changeset
    26
 * This file is available under and governed by the GNU General Public
7f561c08de6b Initial load
duke
parents:
diff changeset
    27
 * License version 2 only, as published by the Free Software Foundation.
7f561c08de6b Initial load
duke
parents:
diff changeset
    28
 * However, the following notice accompanied the original version of this
7f561c08de6b Initial load
duke
parents:
diff changeset
    29
 * file and, per its terms, should not be removed:
7f561c08de6b Initial load
duke
parents:
diff changeset
    30
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    31
 * Copyright (c) 2000 World Wide Web Consortium,
7f561c08de6b Initial load
duke
parents:
diff changeset
    32
 * (Massachusetts Institute of Technology, Institut National de
7f561c08de6b Initial load
duke
parents:
diff changeset
    33
 * Recherche en Informatique et en Automatique, Keio University). All
7f561c08de6b Initial load
duke
parents:
diff changeset
    34
 * Rights Reserved. This program is distributed under the W3C's Software
7f561c08de6b Initial load
duke
parents:
diff changeset
    35
 * Intellectual Property License. This program is distributed in the
7f561c08de6b Initial load
duke
parents:
diff changeset
    36
 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
7f561c08de6b Initial load
duke
parents:
diff changeset
    37
 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
7f561c08de6b Initial load
duke
parents:
diff changeset
    38
 * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
7f561c08de6b Initial load
duke
parents:
diff changeset
    39
 * details.
7f561c08de6b Initial load
duke
parents:
diff changeset
    40
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
    41
7f561c08de6b Initial load
duke
parents:
diff changeset
    42
package org.w3c.dom.html;
7f561c08de6b Initial load
duke
parents:
diff changeset
    43
7f561c08de6b Initial load
duke
parents:
diff changeset
    44
import org.w3c.dom.Document;
7f561c08de6b Initial load
duke
parents:
diff changeset
    45
7f561c08de6b Initial load
duke
parents:
diff changeset
    46
/**
7f561c08de6b Initial load
duke
parents:
diff changeset
    47
 *  Generic embedded object.  Note. In principle, all properties on the object
7f561c08de6b Initial load
duke
parents:
diff changeset
    48
 * element are read-write but in some environments some properties may be
7f561c08de6b Initial load
duke
parents:
diff changeset
    49
 * read-only once the underlying object is instantiated. See the  OBJECT
7f561c08de6b Initial load
duke
parents:
diff changeset
    50
 * element definition in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
    51
 * <p>See also the <a href='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.
7f561c08de6b Initial load
duke
parents:
diff changeset
    52
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
    53
public interface HTMLObjectElement extends HTMLElement {
7f561c08de6b Initial load
duke
parents:
diff changeset
    54
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    55
     *  Returns the <code>FORM</code> element containing this control. Returns
7f561c08de6b Initial load
duke
parents:
diff changeset
    56
     * <code>null</code> if this control is not within the context of a form.
7f561c08de6b Initial load
duke
parents:
diff changeset
    57
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
    58
    public HTMLFormElement getForm();
7f561c08de6b Initial load
duke
parents:
diff changeset
    59
7f561c08de6b Initial load
duke
parents:
diff changeset
    60
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    61
     *  Applet class file. See the <code>code</code> attribute for
7f561c08de6b Initial load
duke
parents:
diff changeset
    62
     * HTMLAppletElement.
7f561c08de6b Initial load
duke
parents:
diff changeset
    63
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
    64
    public String getCode();
7f561c08de6b Initial load
duke
parents:
diff changeset
    65
    public void setCode(String code);
7f561c08de6b Initial load
duke
parents:
diff changeset
    66
7f561c08de6b Initial load
duke
parents:
diff changeset
    67
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    68
     *  Aligns this object (vertically or horizontally)  with respect to its
7f561c08de6b Initial load
duke
parents:
diff changeset
    69
     * surrounding text. See the  align attribute definition in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
    70
     * This attribute is deprecated in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
    71
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
    72
    public String getAlign();
7f561c08de6b Initial load
duke
parents:
diff changeset
    73
    public void setAlign(String align);
7f561c08de6b Initial load
duke
parents:
diff changeset
    74
7f561c08de6b Initial load
duke
parents:
diff changeset
    75
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    76
     *  Space-separated list of archives. See the  archive attribute definition
7f561c08de6b Initial load
duke
parents:
diff changeset
    77
     *  in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
    78
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
    79
    public String getArchive();
7f561c08de6b Initial load
duke
parents:
diff changeset
    80
    public void setArchive(String archive);
7f561c08de6b Initial load
duke
parents:
diff changeset
    81
7f561c08de6b Initial load
duke
parents:
diff changeset
    82
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    83
     *  Width of border around the object. See the  border attribute definition
7f561c08de6b Initial load
duke
parents:
diff changeset
    84
     *  in HTML 4.0. This attribute is deprecated in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
    85
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
    86
    public String getBorder();
7f561c08de6b Initial load
duke
parents:
diff changeset
    87
    public void setBorder(String border);
7f561c08de6b Initial load
duke
parents:
diff changeset
    88
7f561c08de6b Initial load
duke
parents:
diff changeset
    89
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    90
     *  Base URI for <code>classid</code> , <code>data</code> , and
7f561c08de6b Initial load
duke
parents:
diff changeset
    91
     * <code>archive</code> attributes. See the  codebase attribute definition
7f561c08de6b Initial load
duke
parents:
diff changeset
    92
     *  in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
    93
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
    94
    public String getCodeBase();
7f561c08de6b Initial load
duke
parents:
diff changeset
    95
    public void setCodeBase(String codeBase);
7f561c08de6b Initial load
duke
parents:
diff changeset
    96
7f561c08de6b Initial load
duke
parents:
diff changeset
    97
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    98
     *  Content type for data downloaded via <code>classid</code> attribute.
7f561c08de6b Initial load
duke
parents:
diff changeset
    99
     * See the  codetype attribute definition in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
   100
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   101
    public String getCodeType();
7f561c08de6b Initial load
duke
parents:
diff changeset
   102
    public void setCodeType(String codeType);
7f561c08de6b Initial load
duke
parents:
diff changeset
   103
7f561c08de6b Initial load
duke
parents:
diff changeset
   104
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   105
     *  A URI specifying the location of the object's data.  See the  data
7f561c08de6b Initial load
duke
parents:
diff changeset
   106
     * attribute definition in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
   107
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   108
    public String getData();
7f561c08de6b Initial load
duke
parents:
diff changeset
   109
    public void setData(String data);
7f561c08de6b Initial load
duke
parents:
diff changeset
   110
7f561c08de6b Initial load
duke
parents:
diff changeset
   111
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   112
     *  Declare (for future reference), but do not instantiate, this object.
7f561c08de6b Initial load
duke
parents:
diff changeset
   113
     * See the  declare attribute definition in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
   114
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   115
    public boolean getDeclare();
7f561c08de6b Initial load
duke
parents:
diff changeset
   116
    public void setDeclare(boolean declare);
7f561c08de6b Initial load
duke
parents:
diff changeset
   117
7f561c08de6b Initial load
duke
parents:
diff changeset
   118
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   119
     *  Override height. See the  height attribute definition in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
   120
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   121
    public String getHeight();
7f561c08de6b Initial load
duke
parents:
diff changeset
   122
    public void setHeight(String height);
7f561c08de6b Initial load
duke
parents:
diff changeset
   123
7f561c08de6b Initial load
duke
parents:
diff changeset
   124
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   125
     *  Horizontal space to the left and right of this image, applet, or
7f561c08de6b Initial load
duke
parents:
diff changeset
   126
     * object. See the  hspace attribute definition in HTML 4.0. This
7f561c08de6b Initial load
duke
parents:
diff changeset
   127
     * attribute is deprecated in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
   128
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   129
    public String getHspace();
7f561c08de6b Initial load
duke
parents:
diff changeset
   130
    public void setHspace(String hspace);
7f561c08de6b Initial load
duke
parents:
diff changeset
   131
7f561c08de6b Initial load
duke
parents:
diff changeset
   132
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   133
     *  Form control or object name when submitted with a form. See the  name
7f561c08de6b Initial load
duke
parents:
diff changeset
   134
     * attribute definition in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
   135
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   136
    public String getName();
7f561c08de6b Initial load
duke
parents:
diff changeset
   137
    public void setName(String name);
7f561c08de6b Initial load
duke
parents:
diff changeset
   138
7f561c08de6b Initial load
duke
parents:
diff changeset
   139
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   140
     *  Message to render while loading the object. See the  standby attribute
7f561c08de6b Initial load
duke
parents:
diff changeset
   141
     * definition in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
   142
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   143
    public String getStandby();
7f561c08de6b Initial load
duke
parents:
diff changeset
   144
    public void setStandby(String standby);
7f561c08de6b Initial load
duke
parents:
diff changeset
   145
7f561c08de6b Initial load
duke
parents:
diff changeset
   146
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   147
     *  Index that represents the element's position in the tabbing order. See
7f561c08de6b Initial load
duke
parents:
diff changeset
   148
     * the  tabindex attribute definition in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
   149
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   150
    public int getTabIndex();
7f561c08de6b Initial load
duke
parents:
diff changeset
   151
    public void setTabIndex(int tabIndex);
7f561c08de6b Initial load
duke
parents:
diff changeset
   152
7f561c08de6b Initial load
duke
parents:
diff changeset
   153
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   154
     *  Content type for data downloaded via <code>data</code> attribute. See
7f561c08de6b Initial load
duke
parents:
diff changeset
   155
     * the  type attribute definition in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
   156
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   157
    public String getType();
7f561c08de6b Initial load
duke
parents:
diff changeset
   158
    public void setType(String type);
7f561c08de6b Initial load
duke
parents:
diff changeset
   159
7f561c08de6b Initial load
duke
parents:
diff changeset
   160
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   161
     *  Use client-side image map. See the  usemap attribute definition in
7f561c08de6b Initial load
duke
parents:
diff changeset
   162
     * HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
   163
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   164
    public String getUseMap();
7f561c08de6b Initial load
duke
parents:
diff changeset
   165
    public void setUseMap(String useMap);
7f561c08de6b Initial load
duke
parents:
diff changeset
   166
7f561c08de6b Initial load
duke
parents:
diff changeset
   167
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   168
     *  Vertical space above and below this image, applet, or object. See the
7f561c08de6b Initial load
duke
parents:
diff changeset
   169
     * vspace attribute definition in HTML 4.0. This attribute is deprecated
7f561c08de6b Initial load
duke
parents:
diff changeset
   170
     * in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
   171
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   172
    public String getVspace();
7f561c08de6b Initial load
duke
parents:
diff changeset
   173
    public void setVspace(String vspace);
7f561c08de6b Initial load
duke
parents:
diff changeset
   174
7f561c08de6b Initial load
duke
parents:
diff changeset
   175
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   176
     *  Override width. See the  width attribute definition in HTML 4.0.
7f561c08de6b Initial load
duke
parents:
diff changeset
   177
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   178
    public String getWidth();
7f561c08de6b Initial load
duke
parents:
diff changeset
   179
    public void setWidth(String width);
7f561c08de6b Initial load
duke
parents:
diff changeset
   180
7f561c08de6b Initial load
duke
parents:
diff changeset
   181
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   182
     *  The document this object contains, if there is any and it is
7f561c08de6b Initial load
duke
parents:
diff changeset
   183
     * available, or <code>null</code> otherwise.
7f561c08de6b Initial load
duke
parents:
diff changeset
   184
     * @since DOM Level 2
7f561c08de6b Initial load
duke
parents:
diff changeset
   185
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   186
    public Document getContentDocument();
7f561c08de6b Initial load
duke
parents:
diff changeset
   187
7f561c08de6b Initial load
duke
parents:
diff changeset
   188
}