Class SubmitField
java.lang.Object
org.xhtmlrenderer.simple.extend.form.FormField
org.xhtmlrenderer.simple.extend.form.InputField
org.xhtmlrenderer.simple.extend.form.AbstractButtonField
org.xhtmlrenderer.simple.extend.form.SubmitField
-
Field Summary
Fields inherited from class org.xhtmlrenderer.simple.extend.form.FormField
intrinsicHeight, intrinsicWidth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()
protected String[]
boolean
includeInSubmission
(JComponent source) Returns true if the value of the current FormField should be sent along with the current submission.Methods inherited from class org.xhtmlrenderer.simple.extend.form.AbstractButtonField
applyComponentStyle
Methods inherited from class org.xhtmlrenderer.simple.extend.form.InputField
loadOriginalState
Methods inherited from class org.xhtmlrenderer.simple.extend.form.FormField
applyComponentStyle, applyOriginalState, getAttribute, getBox, getComponent, getContext, getElement, getFont, getFormDataStrings, getIntrinsicSize, getLengthValue, getOriginalState, getParentForm, getStyle, getUserAgentCallback, hasAttribute, reset
-
Constructor Details
-
SubmitField
SubmitField(Element e, XhtmlForm form, LayoutContext context, BlockBox box)
-
-
Method Details
-
create
-
includeInSubmission
Description copied from class:FormField
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.- Overrides:
includeInSubmission
in classFormField
- Parameters:
source
- The JComponent that caused the submission- Returns:
- true if it should
-
getFieldValues
- Overrides:
getFieldValues
in classInputField
-