public abstract class FormField
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Integer |
intrinsicHeight |
protected java.lang.Integer |
intrinsicWidth |
| Constructor and Description |
|---|
FormField(org.w3c.dom.Element e,
XhtmlForm form,
LayoutContext context,
BlockBox box) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyComponentStyle(javax.swing.JComponent comp) |
protected void |
applyOriginalState() |
abstract javax.swing.JComponent |
create() |
protected java.lang.String |
getAttribute(java.lang.String attributeName) |
BlockBox |
getBox() |
javax.swing.JComponent |
getComponent() |
LayoutContext |
getContext() |
protected org.w3c.dom.Element |
getElement() |
protected abstract java.lang.String[] |
getFieldValues() |
java.awt.Font |
getFont() |
java.lang.String[] |
getFormDataStrings() |
java.awt.Dimension |
getIntrinsicSize() |
protected static java.lang.Integer |
getLengthValue(CalculatedStyle style,
CSSName cssName) |
protected FormFieldState |
getOriginalState() |
XhtmlForm |
getParentForm() |
CalculatedStyle |
getStyle() |
protected UserAgentCallback |
getUserAgentCallback() |
protected boolean |
hasAttribute(java.lang.String attributeName) |
boolean |
includeInSubmission(javax.swing.JComponent source)
Returns true if the value of the current FormField should be
sent along with the current submission.
|
protected FormFieldState |
loadOriginalState() |
void |
reset() |
protected java.lang.Integer intrinsicWidth
protected java.lang.Integer intrinsicHeight
public FormField(org.w3c.dom.Element e,
XhtmlForm form,
LayoutContext context,
BlockBox box)
protected org.w3c.dom.Element getElement()
public javax.swing.JComponent getComponent()
public XhtmlForm getParentForm()
public java.awt.Dimension getIntrinsicSize()
public void reset()
protected UserAgentCallback getUserAgentCallback()
protected FormFieldState getOriginalState()
protected boolean hasAttribute(java.lang.String attributeName)
protected java.lang.String getAttribute(java.lang.String attributeName)
public abstract javax.swing.JComponent create()
protected FormFieldState loadOriginalState()
protected void applyOriginalState()
public boolean includeInSubmission(javax.swing.JComponent source)
source - The JComponent that caused the submissionpublic java.lang.String[] getFormDataStrings()
protected abstract java.lang.String[] getFieldValues()
public BlockBox getBox()
public LayoutContext getContext()
public CalculatedStyle getStyle()
protected void applyComponentStyle(javax.swing.JComponent comp)
public java.awt.Font getFont()
protected static java.lang.Integer getLengthValue(CalculatedStyle style, CSSName cssName)
Copyright © 2014. All Rights Reserved.