public class FormContainer extends AbstractContainer
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
Constructor and Description |
---|
FormContainer()
Constructs a new form container.
|
FormContainer(java.lang.String id)
Constructs a new form container.
|
FormContainer(java.lang.String id,
java.lang.String url,
java.lang.String method)
Constructs a new form container.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getContent() |
void |
setAction(java.lang.String url,
java.lang.String method,
java.lang.String enctype)
sets the action of the form
|
void |
setContent(java.lang.Object o)
sets the content of the component
|
add, get, getAll, getAll, getAllDeep, getByName, getComponents, getWithParent, init, remove, setBrowserMode, substitute
clone, create, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getStyle, getViewMode, init, removeAttribute, setActionListener, setAttribute, setId, setLabel, setName, setParent, setParentElement, setStyle, setViewMode, show, show, toString
public FormContainer()
public FormContainer(java.lang.String id)
id
- the unique id of the containerpublic FormContainer(java.lang.String id, java.lang.String url, java.lang.String method)
id
- the unique id of the containerurl
- the url to get the responsemethod
- "GET" or "POST"public void setAction(java.lang.String url, java.lang.String method, java.lang.String enctype)
url
- the url to get the responsemethod
- "GET" or "POST"enctype
- the mime type of the requestpublic void setContent(java.lang.Object o)
AbstractComponent
setContent
in interface Component
setContent
in class AbstractComponent
o
- any object where the string representation is used for renderingpublic java.lang.Object getContent()
getContent
in interface Component
getContent
in class AbstractComponent
@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.