Class FormField
java.lang.Object
org.xhtmlrenderer.simple.extend.form.FormField
- Direct Known Subclasses:
InputField
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFormField(Element e, XhtmlForm form, LayoutContext context, BlockBox box) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidabstract JComponentcreate()protected StringgetAttribute(String attributeName) getBox()protected Elementprotected abstract String[]getFont()protected static IntegergetLengthValue(CalculatedStyle style, CSSName cssName) protected FormFieldStategetStyle()protected UserAgentCallbackprotected booleanhasAttribute(String attributeName) booleanincludeInSubmission(JComponent source) Returns true if the value of the current FormField should be sent along with the current submission.protected FormFieldStatevoidreset()
-
Field Details
-
intrinsicWidth
-
intrinsicHeight
-
-
Constructor Details
-
FormField
-
-
Method Details
-
getElement
-
getComponent
-
getParentForm
-
getIntrinsicSize
-
reset
public void reset() -
getUserAgentCallback
-
getOriginalState
-
hasAttribute
-
getAttribute
-
create
-
loadOriginalState
-
applyOriginalState
protected void applyOriginalState() -
includeInSubmission
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
-
getFieldValues
-
getBox
-
getContext
-
getStyle
-
applyComponentStyle
-
getFont
-
getLengthValue
-