org.xhtmlrenderer.simple.extend.form
Class FormField
java.lang.Object
org.xhtmlrenderer.simple.extend.form.FormField
- Direct Known Subclasses:
- InputField
public abstract class FormField
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormField
public FormField(org.w3c.dom.Element e,
XhtmlForm form)
getComponent
public javax.swing.JComponent getComponent()
getParentForm
public XhtmlForm getParentForm()
reset
public void reset()
create
public abstract javax.swing.JComponent create()
includeInSubmission
public boolean includeInSubmission(javax.swing.JComponent source)
- Returns true if the value of the current FormField should be
sent along with the current submission. This is used so that
only the value of the submit button that is used to trigger the
form's submission is sent.
- Parameters:
source
- The JComponent that caused the submission
- Returns:
- true if it should
getFormDataStrings
public java.lang.String[] getFormDataStrings()
Flying Saucer Project Home