|
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.MultiColElement
Use a MultiColElement to display text in a multicolumn format on an HtmlPage. MultiColElements can be nested, but test within nested MultiColElements may become unreadable. This HTML element is currently supported by Netscape 3.0.
Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
Constructor Summary | |
MultiColElement(int cols,
HtmlElement contents)
Constructs a MultiColElement with the specified number of columns. |
|
MultiColElement(int cols,
int gutter,
int width,
HtmlElement contents)
Constructs a MultiColElement with the specified number of columns, gutter space, and column width. |
Method Summary | |
protected java.lang.String |
getHtmlCode()
|
protected boolean |
printBody()
|
protected boolean |
printCR()
|
protected boolean |
printEndingTag()
|
MultiColElement |
setCols(int cols)
Sets the number of columns in a MultiColElement. |
MultiColElement |
setContents(HtmlElement contents)
Sets the contents of a MultiColElement. |
MultiColElement |
setGutter(int gutter)
Sets the gutter space (in pixels) between columns in a MultiColElement. |
MultiColElement |
setWidth(int width)
Sets the width of columns in a MultiColElement. |
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 MultiColElement(int cols, HtmlElement contents)
cols
- Number of columnscontents
- HtmlElement contentspublic MultiColElement(int cols, int gutter, int width, HtmlElement contents)
cols
- Number of columnsgutter
- Pixels between each columnwidth
- Width of each column in pixelscontents
- HtmlElement contentsMethod Detail |
protected java.lang.String getHtmlCode()
protected boolean printEndingTag()
protected boolean printCR()
protected boolean printBody()
public MultiColElement setCols(int cols)
cols
- Number of columnspublic MultiColElement setContents(HtmlElement contents)
contents
- HtmlElementpublic MultiColElement setGutter(int gutter)
gutter
- Pixels between columnspublic MultiColElement setWidth(int width)
width
- Number of columns
|
Documentation is available at http://www.weblogic.com/docs51 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |