public abstract class FormField extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
intrinsicHeight |
protected Integer |
intrinsicWidth |
| Modifier | Constructor and Description |
|---|---|
protected |
FormField(Element e,
XhtmlForm form,
LayoutContext context,
BlockBox box) |
protected Integer intrinsicWidth
protected Integer intrinsicHeight
protected FormField(Element e, XhtmlForm form, LayoutContext context, BlockBox box)
protected Element getElement()
public JComponent getComponent()
public XhtmlForm getParentForm()
public Dimension getIntrinsicSize()
public void reset()
protected UserAgentCallback getUserAgentCallback()
protected FormFieldState getOriginalState()
protected boolean hasAttribute(String attributeName)
public abstract JComponent create()
protected FormFieldState loadOriginalState()
protected void applyOriginalState()
public boolean includeInSubmission(JComponent source)
source - The JComponent that caused the submissionpublic Collection<String> getFormDataStrings()
protected abstract String[] getFieldValues()
public BlockBox getBox()
public LayoutContext getContext()
public CalculatedStyle getStyle()
protected void applyComponentStyle(JComponent comp)
public Font getFont()
protected static Integer getLengthValue(CalculatedStyle style, CSSName cssName)
Copyright © 2023. All rights reserved.