|
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.MultiPartElement | +--weblogic.html.DivElement
A DivElement is used to define the attributes for a division in an HTML document. A DivElement is made up of other HtmlElements, which are accessible by index position.
HTML 4.0 deprecates the CENTER element in favor of the DIV element with the align attribute set to "center". htmlKona provides a simple method for this use.
Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
Constructor Summary | |
DivElement()
Deprecated. |
Method Summary | |
DivElement |
addElement(HtmlElement val)
Deprecated. Adds an HtmlElement to a DivElement. |
DivElement |
addElement(java.lang.String val)
Deprecated. Adds a StringElement to a DivElement. |
HtmlElement |
getElementAt(int pos)
Deprecated. Gets the HtmlElement at the specified index position. |
protected java.lang.String |
getHtmlCode()
Deprecated. |
protected boolean |
printCR()
Deprecated. |
DivElement |
setAlign(TextAlignType val)
Deprecated. Sets the alignment of a DivElement. |
DivElement |
setCentered()
Deprecated. Sets a DivElement to centered alignment. |
DivElement |
setClear(ClearType val)
Deprecated. Sets the clear attribute for a DivElement. |
DivElement |
setClear(java.lang.String val)
Deprecated. Sets the clear attribute for a DivElement. |
DivElement |
setNoWrap()
Deprecated. Sets the wrap attribute of a DivElement to NOWRAP. |
Methods inherited from class weblogic.html.MultiPartElement |
addHeadMultiElement,
addMultiElement,
getMultiElementAt,
getNumElements,
printBody,
printBody,
printBody,
removeElement,
removeElementAt,
replaceElementAt,
replaceMultiElementAt,
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 DivElement()
Method Detail |
public DivElement addElement(HtmlElement val)
val
- HtmlElementpublic DivElement addElement(java.lang.String val)
val
- StringElementpublic HtmlElement getElementAt(int pos)
pos
- Index positionprotected java.lang.String getHtmlCode()
protected boolean printCR()
public DivElement setNoWrap()
public DivElement setAlign(TextAlignType val)
val
- TextAlignType objectpublic DivElement setCentered()
public DivElement setClear(java.lang.String val)
val
- Value for the CLEAR attributepublic DivElement setClear(ClearType val)
val
- ClearType 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 |