public abstract class AbstractFormField extends Object implements ITextReplacedElement
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_CHECKED_STATE |
protected static String |
OFF_STATE |
| Constructor and Description |
|---|
AbstractFormField() |
| Modifier and Type | Method and Description |
|---|---|
void |
detach(LayoutContext c) |
protected String |
getFieldName(ITextOutputDevice outputDevice,
Element e) |
protected abstract String |
getFieldType() |
protected int |
getHeight() |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
Point |
getLocation() |
protected String |
getValue(Element e) |
protected int |
getWidth() |
protected int |
getX() |
protected int |
getY() |
protected void |
initDimensions(LayoutContext c,
BlockBox box,
int cssWidth,
int cssHeight) |
protected boolean |
isChecked(Element e) |
protected boolean |
isReadOnly(Element e) |
boolean |
isRequiresInteractivePaint() |
protected boolean |
isSelected(Element e) |
protected void |
setFillColor(com.lowagie.text.pdf.PdfTemplate template,
FSColor color) |
protected void |
setHeight(int height) |
void |
setLocation(int x,
int y) |
protected void |
setStrokeColor(com.lowagie.text.pdf.PdfTemplate template,
FSColor color) |
protected void |
setWidth(int width) |
protected void |
setX(int x) |
protected void |
setY(int y) |
protected String |
spaces(int count) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpaintgetBaseline, hasBaselineprotected static final String DEFAULT_CHECKED_STATE
protected static final String OFF_STATE
protected abstract String getFieldType()
protected int getX()
protected void setX(int x)
protected int getY()
protected void setY(int y)
protected int getWidth()
protected void setWidth(int width)
protected int getHeight()
protected void setHeight(int height)
protected String getFieldName(ITextOutputDevice outputDevice, Element e)
protected boolean isChecked(Element e)
protected boolean isReadOnly(Element e)
protected boolean isSelected(Element e)
public void detach(LayoutContext c)
detach in interface ReplacedElementpublic int getIntrinsicHeight()
getIntrinsicHeight in interface ReplacedElementpublic int getIntrinsicWidth()
getIntrinsicWidth in interface ReplacedElementpublic Point getLocation()
getLocation in interface ReplacedElementpublic boolean isRequiresInteractivePaint()
isRequiresInteractivePaint in interface ReplacedElementpublic void setLocation(int x,
int y)
setLocation in interface ReplacedElementprotected void initDimensions(LayoutContext c, BlockBox box, int cssWidth, int cssHeight)
protected String spaces(int count)
protected void setStrokeColor(com.lowagie.text.pdf.PdfTemplate template,
FSColor color)
protected void setFillColor(com.lowagie.text.pdf.PdfTemplate template,
FSColor color)
Copyright © 2016. All rights reserved.