Class ResetField
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.ResetField
-
Field Summary
Fields inherited from class org.xhtmlrenderer.simple.extend.form.FormField
intrinsicHeight, intrinsicWidth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()protected String[]booleanincludeInSubmission(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
applyComponentStyleMethods inherited from class org.xhtmlrenderer.simple.extend.form.InputField
loadOriginalStateMethods 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
-
ResetField
ResetField(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
-
getFieldValues
- Overrides:
getFieldValuesin classInputField
-