com.groiss.gui.component
Class FieldSet
java.lang.Object
com.groiss.gui.AbstractComponent
com.groiss.gui.AbstractContainer
com.groiss.gui.component.FieldSet
- All Implemented Interfaces:
- Component, Container, Serializable, Cloneable
public class FieldSet
- extends AbstractContainer
A HTML fieldset element.
- See Also:
- Serialized Form
| Fields inherited from class com.groiss.gui.AbstractComponent |
actions, 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, outputter, parent, parentElem, READONLY, root, viewMode |
|
Constructor Summary |
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 |
| Methods inherited from class com.groiss.gui.AbstractContainer |
add, get, getAll, getAll, getAllDeep, getByName, getComponents, getWithParent, init, remove, setBrowserMode, substitute |
| Methods inherited from class com.groiss.gui.AbstractComponent |
clone, create, getActionListener, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, removeAttribute, setActionListener, setAttribute, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toString |
| Methods inherited from interface com.groiss.gui.Component |
clone, getActionListener, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getStyle, getViewMode, init, removeAttribute, setActionListener, setAttribute, setId, setLabel, setName, setParent, setParentElement, setStyle, setViewMode, show, show, toString |
legendElem
protected Element legendElem
FieldSet
public FieldSet()
- Creates a new and empty fieldset.
FieldSet
public FieldSet(String legend)
- Creates a new fieldset and sets a legend element for it
FieldSet
public FieldSet(String legend,
String id)
- Creates a new fieldset, sets a legend element for it and defines an id
setContent
public void setContent(Object o)
- Set content for the fieldset
- Specified by:
setContent in interface Component- Overrides:
setContent in class AbstractComponent
- Parameters:
o - any object where the string representation is used for rendering
getContent
public Object getContent()
- Returns the content (element)
- Specified by:
getContent in interface Component- Overrides:
getContent in class AbstractComponent
- Returns:
- the content object of the component
setLegend
public void setLegend(String legend)
- Set a legend for the fieldset (like a title)
@enterprise 8.0.10078 Copyright © 2001-2011 Groiss Informatics GmbH. All Rights Reserved.