public abstract class AbstractFormField extends Object implements ITextReplacedElement
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
DEFAULT_CHECKED_STATE |
protected static String |
OFF_STATE |
| 构造器和说明 |
|---|
AbstractFormField() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
detach(LayoutContext c) |
protected String |
getFieldName(ITextOutputDevice outputDevice,
Element e) |
protected abstract String |
getFieldType() |
protected int |
getHeight() |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
Point |
getLocation()
Returns the current location where the element will be rendered on the canvas
|
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)
Assigns the new locations where the element will be rendered.
|
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 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 在接口中 ReplacedElementpublic int getIntrinsicHeight()
getIntrinsicHeight 在接口中 ReplacedElementpublic int getIntrinsicWidth()
getIntrinsicWidth 在接口中 ReplacedElementpublic Point getLocation()
ReplacedElementgetLocation 在接口中 ReplacedElementpublic boolean isRequiresInteractivePaint()
isRequiresInteractivePaint 在接口中 ReplacedElementpublic void setLocation(int x,
int y)
ReplacedElementsetLocation 在接口中 ReplacedElementx - new horizontal posy - new vertical posprotected 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 © 2019. All Rights Reserved.