Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

WebLogic Server 5.1.0sp9 API Reference

## weblogic.html
Class ColElement

    java.lang.Object
      |
      +--weblogic.html.HtmlElement
            |
            +--weblogic.html.ElementWithAttributes
                  |
                  +--weblogic.html.SinglePartElement
                        |
                        +--weblogic.html.ColElement

public class ColElement
extends SinglePartElement

Author:
  Copyright (c) 1997 by WebLogic, Inc. All Rights Reserved.
  Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Fields inherited from class weblogic.html.HtmlElement
`codeset, useObsolete`

Constructor Summary
`ColElement(int width)` Sets a ColElement to the specified width.
`ColElement(java.lang.String width)` Constructs a ColElement set to the specified width.
`ColElement(java.lang.String span, java.lang.String width)` Constructs a ColElement set to the specified span and width.

Method Summary
`protected java.lang.String` | `getHtmlCode()`
`ColElement` | `setSpan(int span)` Sets the number of rows for this column to span.
`ColElement` | `setSpan(java.lang.String span)` Sets the number of rows for this column to span.
`ColElement` | `setWidth(int width)` Sets a ColElement to the specified width.
`ColElement` | `setWidth(java.lang.String width)` Sets a ColElement to the specified width.

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, printCR, printEndingTag, setBooleanAttribute, setBooleanAttribute, setClass, setDirection, setElementAttribute, setElementAttribute, setElementAttribute, setElementAttribute, setElementAttribute, setId, setLang, setLocalVar, setQuotedAttribute, setStyle`

Methods inherited from class weblogic.html.HtmlElement
`asAnchorElement, asBigElement, asBlockquoteElement, asBoldElement, asCenteredElement, asCiteElement, asCodeElement, asCommentElement, asDefineTermElement, asEmphasisElement, asFontElement, asFontElement, asFontElement, asHtmlContainer, asItalicElement, asKeyboardElement, asLiteralElement, asParagraphElement, asSampleElement, asSmallElement, asStrikeElement, asStrongElement, asSubscriptElement, asSuperscriptElement, asTeletypeElement, asUnderlineElement, asVariableElement, getVersion, setAnchorMode, setCodeset, toString, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ColElement

    public ColElement(java.lang.String span,
                      java.lang.String width)

  Constructs a ColElement set to the specified span and width.

  Parameters:
    `span` - Rows to span
    `width` - Pixels or percentage of column width

### ColElement

    public ColElement(java.lang.String width)

  Constructs a ColElement set to the specified width.

  Parameters:
    `width` - Pixels or percentage of column width

### ColElement

    public ColElement(int width)

  Sets a ColElement to the specified width.

  Parameters:
    `width` - Pixels of column width

Method Detail

### getHtmlCode

    protected java.lang.String getHtmlCode()

  Overrides:
    getHtmlCode in class ElementWithAttributes

### setWidth

    public ColElement setWidth(java.lang.String width)

  Sets a ColElement to the specified width.

  Parameters:
    `width` - Pixels or percentage of column width

### setWidth

    public ColElement setWidth(int width)

  Sets a ColElement to the specified width.

  Parameters:
    `width` - Pixels of column width

### setSpan

    public ColElement setSpan(java.lang.String span)

  Sets the number of rows for this column to span.

  Parameters:
    `span` - Number of rows to span

### setSpan

    public ColElement setSpan(int span)

  Sets the number of rows for this column to span.

  Parameters:
    `span` - Number of rows to span

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| 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