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 FormField
intrinsicHeight, intrinsicWidth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()booleanincludeInSubmission(JComponent source) Returns true if the value of the current FormField should be sent along with the current submission.Methods inherited from class AbstractButtonField
applyComponentStyleMethods inherited from class InputField
getFieldValues, loadOriginalStateMethods inherited from class 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:FormFieldReturns 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:
includeInSubmissionin classFormField- Parameters:
source- The JComponent that caused the submission- Returns:
- true if it should
-