BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.html
Class FieldsetElement

java.lang.Object
  |
  +--weblogic.html.HtmlElement
        |
        +--weblogic.html.ElementWithAttributes
              |
              +--weblogic.html.MultiPartElement
                    |
                    +--weblogic.html.FieldsetElement

public class FieldsetElement
extends MultiPartElement

The FieldsetElement allows form designers to group thematically related controls together. Grouping controls makes it easier for users to understand their purpose. Grouping can also facilitate tabbing navigation, speech navigation, and make documents more accessible to people with disabilities.

Add InputElements, TextAreaElement, and any other elements that customarily appear on a FormElement, and then add the FieldsetElement to a FormElement.

Use a LegendElement to assign a caption to a FieldsetElement. Setting the AlignType of the LegendElement aligns it relative to its FieldsetElement.

This HTML element is specified by HTML 4.0 and may not be available in all browsers.

Author:
Copyright (c) 1997 by WebLogic, Inc. All Rights Reserved.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.
See Also:
LegendElement, InputElement, TextAreaElement, SelectElement, ButtonElement

Fields inherited from class weblogic.html.HtmlElement
codeset, useObsolete
 
Constructor Summary
FieldsetElement(LegendElement le)
          Constructs a FieldsetElement with the specified LegendElement, which sets a caption for the set of fields.
 
Method Summary
 FieldsetElement addElement(HtmlElement formelement)
          Adds an HtmlElement to a FieldsetElement.
protected  java.lang.String getHtmlCode()
           
protected  boolean printCR()
           
 
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 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

FieldsetElement

public FieldsetElement(LegendElement le)
Constructs a FieldsetElement with the specified LegendElement, which sets a caption for the set of fields.

Parameters:
le - LegendElement
Method Detail

getHtmlCode

protected java.lang.String getHtmlCode()

Overrides:
getHtmlCode in class ElementWithAttributes

printCR

protected boolean printCR()

Overrides:
printCR in class ElementWithAttributes

addElement

public FieldsetElement addElement(HtmlElement formelement)
Adds an HtmlElement to a FieldsetElement. Valid elements are InputElement, TextAreaElement, ButtonElement, or SelectElement.

Parameters:
formelement - Any form-related element
Returns:
FieldsetElement

Documentation is available at
http://www.weblogic.com/docs51