BEA Systems, Inc.

WebLogic Server 6.1 API Reference

Class 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.

Copyright (c) 1997 by WebLogic, Inc. All Rights Reserved.
Copyright © 2001 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)
          Deprecated. Constructs a FieldsetElement with the specified LegendElement, which sets a caption for the set of fields.
Method Summary
 FieldsetElement addElement(HtmlElement formelement)
          Deprecated. 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


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

le - LegendElement
Method Detail


protected java.lang.String getHtmlCode()

getHtmlCode in class ElementWithAttributes


protected boolean printCR()

printCR in class ElementWithAttributes


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

formelement - Any form-related element

Documentation is available at

WebLogic classes and methods that do not appear in this reference are not public and are not supported.