public class XhtmlForm extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
_action |
protected List<FormControl> |
_controls |
protected String |
_method |
| Constructor and Description |
|---|
XhtmlForm(String action,
String method) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFormListener(FormListener listener) |
FormControl |
createControl(Element e) |
static FormControl |
createControl(XhtmlForm form,
Element e) |
List<FormControl> |
getAllControls(String name) |
FormControl |
getControl(String name) |
Iterator<FormControl> |
getControls() |
void |
removeFormListener(FormListener listener) |
void |
reset() |
void |
submit() |
protected String _action
protected String _method
protected List<FormControl> _controls
public void addFormListener(FormListener listener)
public void removeFormListener(FormListener listener)
public FormControl getControl(String name)
public List<FormControl> getAllControls(String name)
public Iterator<FormControl> getControls()
public FormControl createControl(Element e)
public static FormControl createControl(XhtmlForm form, Element e)
public void reset()
public void submit()
Copyright © 2018. All rights reserved.