public class FieldSet extends AbstractContainer
Modifier and Type | Field and Description |
---|---|
protected Element |
legendElem |
components
ACTIVE, browserMode, DEFAULT, ID, IE, INVISIBLE, isSensitive, label, NS, ON_BLUR, ON_CHANGE, ON_CLICK, ON_DBLCLICK, ON_FOCUS, ON_KEY_DOWN, ON_KEY_PRESS, ON_KEY_UP, ON_LOAD, ON_MOUSE_DOWN, ON_MOUSE_MOVE, ON_MOUSE_OUT, ON_MOUSE_UP, ON_RESET, ON_SELECT, ON_SUBMIT, ON_UNLOAD, parent, parentElem, READONLY, root, viewMode
LABELLEDBY
Constructor and Description |
---|
FieldSet()
Creates a new and empty fieldset.
|
FieldSet(String legend)
Creates a new fieldset and sets a legend element for it
|
FieldSet(String legend,
String id)
Creates a new fieldset, sets a legend element for it and defines an id
|
Modifier and Type | Method and Description |
---|---|
Object |
getContent()
Returns the content (element)
|
void |
setContent(Object o)
Set content for the fieldset
|
void |
setLegend(String legend)
Set a legend for the fieldset (like a title)
|
add, get, getAll, getAll, getAllDeep, getByName, getComponents, getWithParent, init, remove, setBrowserMode, substitute
addClass, clone, create, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, removeAttribute, removeClass, setActionListener, setAttribute, setClass, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toggleClass, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addClass, clone, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getStyle, getViewMode, init, removeAttribute, removeClass, setActionListener, setAttribute, setClass, setId, setLabel, setName, setParent, setParentElement, setStyle, setViewMode, show, show, toggleClass, toString
protected Element legendElem
public FieldSet()
public FieldSet(String legend)
public void setContent(Object o)
setContent
in interface Component
setContent
in class AbstractComponent
o
- any object where the string representation is used for renderingpublic Object getContent()
getContent
in interface Component
getContent
in class AbstractComponent
public void setLegend(String legend)
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.