|
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.StyleElement
The StyleElement provides a means for including rendering information with style notation. A StyleElement is added after calling HtmlPage.getHead().
Note that the NOTATION attribute was deprecated in Release 3.0, as per HTML 4.0. HTML 4.0 specifies only three tags for the StyleElement: type, media, and title. This htmlKona element has been upgraded to track HTML 4.0. Not all browsers currently support HTML 4.0.
Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
Constructor Summary | |
StyleElement()
Deprecated. Constructs an empty StyleElement with the MIME type set to "text/css". |
|
StyleElement(MimeType type,
HtmlElement contents)
Deprecated. Constructs a StyleElement with the specified contents and sets it to the specified style notation. |
|
StyleElement(java.lang.String styletype,
java.lang.String contents)
Deprecated. Constructs a StyleElement with the specified contents and sets it to the specified style notation. |
Method Summary | |
protected java.lang.String |
getHtmlCode()
Deprecated. |
protected boolean |
printBody()
Deprecated. |
protected boolean |
printCR()
Deprecated. |
protected boolean |
printEndingTag()
Deprecated. |
StyleElement |
setContents(HtmlElement contents)
Deprecated. Sets the contents of a StyleElement. |
StyleElement |
setContents(java.lang.String contents)
Deprecated. Sets the contents of a StyleElement. |
StyleElement |
setMedia(MediaType media,
boolean list)
Deprecated. Sets the media of a StyleElement. |
StyleElement |
setNotation(java.lang.String notation)
Deprecated. use setType() |
StyleElement |
setTitle(java.lang.String title)
Deprecated. Sets the title for a StyleElement. |
StyleElement |
setType(MimeType type)
Deprecated. Sets the type for a StyleElement. |
StyleElement |
setType(java.lang.String styletype)
Deprecated. Sets the type for a StyleElement. |
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,
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 StyleElement()
public StyleElement(java.lang.String styletype, java.lang.String contents)
styletype
- Stylecontents
- Stringpublic StyleElement(MimeType type, HtmlElement contents)
type
- Style notationcontents
- HtmlElementMethod Detail |
protected java.lang.String getHtmlCode()
protected boolean printEndingTag()
protected boolean printBody()
protected boolean printCR()
public StyleElement setType(java.lang.String styletype)
styletype
- String style typepublic StyleElement setContents(java.lang.String contents)
contents
- String contentspublic StyleElement setContents(HtmlElement contents)
contents
- HtmlElement contentspublic StyleElement setMedia(MediaType media, boolean list)
media
- MediaTypelist
- True if the attribute is a list
of media typespublic StyleElement setTitle(java.lang.String title)
title
- Style titlepublic StyleElement setType(MimeType type)
type
- MimeTypepublic StyleElement setNotation(java.lang.String notation)
notation
- String style notation
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |