|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectview.xhtml.HtmlObject
view.xhtml.HtmlElement
view.xhtml.ContainerElement
view.xhtml.Table
view.element.FormTable
public class FormTable
Constructor Summary | |
---|---|
FormTable()
Constructs the element. |
Method Summary | |
---|---|
FormTable |
addField(java.lang.String label,
HtmlObject field)
Adds a generic labeled HTML object to the table. |
FormTable |
addTextField(java.lang.String label,
java.lang.String name)
As above but with an empty value String. |
FormTable |
addTextField(java.lang.String label,
java.lang.String name,
java.lang.String value)
Adds a labeled text field to the table. |
Methods inherited from class view.xhtml.Table |
---|
addTr |
Methods inherited from class view.xhtml.ContainerElement |
---|
add, add, getHtml, getHtml |
Methods inherited from class view.xhtml.HtmlElement |
---|
getCloseTag, getCloseTag, getStartTag, getStartTag, setAttribute, setClass, setId, setName |
Methods inherited from class view.xhtml.HtmlObject |
---|
getHtml, getIndent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FormTable()
Method Detail |
---|
public FormTable addTextField(java.lang.String label, java.lang.String name, java.lang.String value)
label
- the label of the field.name
- the "name" attribute of the field.value
- the "value" attribute of the field.
public FormTable addTextField(java.lang.String label, java.lang.String name)
public FormTable addField(java.lang.String label, HtmlObject field)
label
- the label of the object.field
- the object itself.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |