|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.html.HtmlElement | +--weblogic.html.ElementWithAttributes | +--weblogic.html.SinglePartElement | +--weblogic.html.ObjectElement
An ObjectElement, introduced in HTML 4.0, provides a generic method for including various resources in a document, including images, applets, files, and image maps.
ObjectElements may be nested; that is, the contents of an ObjectElement may be another ObjectElement. If the user agent cannot render the outermost ObjectElement, it tries to render the contents of the ObjectElement, which may be a string (like the ALT tag in previous versions of HTML) or another ObjectElement.
Initialization parameters for an ObjectElement are provided with ParamElements.
Other attributes valid for an ObjectElement that can be set with methods from the superclass are: style, mouse and keyboard actions.
Note that not all browsers may parse the ObjectElement properly.
ParamElement
Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
Constructor Summary | |
ObjectElement()
Deprecated. |
Method Summary | |
ObjectElement |
addParam(ParamElement pe)
Deprecated. Adds a ParamElement to an ObjectElement. |
protected java.lang.String |
getHtmlCode()
Deprecated. |
protected boolean |
printCR()
Deprecated. |
ObjectElement |
setClassid(java.lang.String url)
Deprecated. Sets the CLASSID, or the URL for the rendering mechanism. |
ObjectElement |
setCodebase(java.lang.String url)
Deprecated. Sets the CODEBASE, which specifies the base path used to resolve relative URLs described by the CLASSID attribute. |
ObjectElement |
setCodetype(MimeType mt)
Deprecated. Sets the CODETYPE to a MimeType, which specifies the Internet Media Type of the data that should be expected by the rendering mechanism specified by the CLASSID attribute. |
ObjectElement |
setContent(ObjectElement oe)
Deprecated. Sets the contents of an ObjectElement to another ObjectElement. |
ObjectElement |
setContent(java.lang.String alt)
Deprecated. Sets the contents of an ObjectElement to a string. |
ObjectElement |
setData(java.lang.String url)
Deprecated. Sets the DATA attribute, which specifies the source of the object itself. |
ObjectElement |
setDeclare(boolean dec)
Deprecated. Sets the DECLARE attribute. |
ObjectElement |
setName(java.lang.String oname)
Deprecated. Sets a name for an ObjectElement used as part of a FormElement. |
ObjectElement |
setStandby(java.lang.String msg)
Deprecated. Sets a text messages that a browser may render while loading the object's implementation and data. |
ObjectElement |
setTabindex(int tabindex)
Deprecated. Sets the tabbing order for an ObjectElement, which defines the order in which page elements get the focus when a user navigates the page with a keyboard. |
ObjectElement |
setType(MimeType mt)
Deprecated. Sets the TYPE attribute, which specifies the Internet Media Type as a MimeType for the object specified in the DATA attribute. |
Methods inherited from class weblogic.html.SinglePartElement |
getElement,
printBody,
printBody,
printBody,
setElement,
setElement,
widthAsLiteral |
Methods inherited from class weblogic.html.ElementWithAttributes |
addAttribute,
addAttribute,
escapeQuotes,
getBooleanAttribute,
getElementAttribute,
getLocalVar,
getQuotedAttribute,
output,
output,
output,
printBody,
printEndingTag,
setBooleanAttribute,
setBooleanAttribute,
setClass,
setDirection,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setId,
setLang,
setLocalVar,
setQuotedAttribute,
setStyle |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ObjectElement()
Method Detail |
protected boolean printCR()
protected java.lang.String getHtmlCode()
public ObjectElement setContent(java.lang.String alt)
public ObjectElement setContent(ObjectElement oe)
public ObjectElement addParam(ParamElement pe)
public ObjectElement setCodebase(java.lang.String url)
public ObjectElement setClassid(java.lang.String url)
setCodetype(weblogic.html.MimeType)
public ObjectElement setCodetype(MimeType mt)
mime
- MimeTypesetClassid(java.lang.String)
public ObjectElement setData(java.lang.String url)
public ObjectElement setTabindex(int tabindex)
tabindex
- intpublic ObjectElement setType(MimeType mt)
mt
- MimeTypepublic ObjectElement setDeclare(boolean dec)
public ObjectElement setStandby(java.lang.String msg)
msg
- Messagepublic ObjectElement setName(java.lang.String oname)
oname
- Name for object
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |