Class ButtonField
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.ButtonField
-
Field Summary
Fields inherited from class org.xhtmlrenderer.simple.extend.form.FormField
intrinsicHeight, intrinsicWidth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()
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
getFieldValues, 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
-
ButtonField
ButtonField(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
-