|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.PageElement com.cete.dynamicpdf.pageelements.TaggablePageElement com.cete.dynamicpdf.pageelements.forms.FormElement
public abstract class FormElement
Class represents the base class for all the form field page elements.
Licensing:
This class is a DynamicPDF Generator Enterprise Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
protected |
FormElement(java.lang.String name,
float x,
float y,
float width,
float height)
Creates a new instance of FormElement . |
Method Summary | |
---|---|
RgbColor |
getBackgroundColor()
Gets the fill/background color of a form field. |
DeviceColor |
getBorderColor()
Gets the border color of a form field. |
BorderStyle |
getBorderStyle()
Gets the BorderStyle . |
float |
getHeight()
Gets the height of a form field. |
java.lang.String |
getMappingName()
Gets an mapping name, of a form field. |
java.lang.String |
getName()
Gets the name of a form field. |
FormFieldOutput |
getOutput()
Gets output options for the field. |
AnnotationReaderEvents |
getReaderEvents()
Gets the reader events of the annotation. |
int |
getRotate()
Gets the angle of a form field. |
DeviceColor |
getTextColor()
Gets the color of the text of the field. |
java.lang.String |
getToolTip()
Gets an alternate field name, of a form field. |
float |
getWidth()
Gets the width of a form field. |
float |
getX()
Gets the X coordinate of a form field. |
float |
getY()
Gets the Y coordinate of a form field. |
boolean |
isPrintable()
Gets the form field printable status. |
boolean |
isReadOnly()
Gets the read only property status of the form field. |
boolean |
isVisible()
Gets the form field visible status. |
void |
setBackgroundColor(RgbColor bgColor)
Sets the fill/background color of a form field. |
void |
setBorderColor(DeviceColor borderColor)
Sets the border color of a form field. |
void |
setBorderStyle(BorderStyle borderStyle)
Sets the BorderStyle |
void |
setHeight(float height)
Sets the height of a form field. |
void |
setMappingName(java.lang.String mapName)
Sets an mapping name, of the form field. |
void |
setName(java.lang.String name)
Sets the name of a form field. |
void |
setOutput(FormFieldOutput value)
sets output options for the field. |
void |
setPrintable(boolean printable)
Sets the form field printable on pdf. |
void |
setReadOnly(boolean value)
Sets the read only property of the form field. |
void |
setRotate(int rotate)
Sets the angle of a form field. |
void |
setTag(Tag tag)
Sets the structure element of the form element. |
void |
setTextColor(DeviceColor textColor)
Sets the color of the text for the field. |
void |
setToolTip(java.lang.String tooltip)
Sets tool tip of a form field. |
void |
setVisible(boolean visible)
Sets the form field visible on pdf. |
void |
setWidth(float width)
Sets the width of a form field. |
void |
setX(float fltX)
Sets the X coordinate of a form field. |
void |
setY(float fltY)
Sets the Y coordinate of a form field. |
Methods inherited from class com.cete.dynamicpdf.pageelements.TaggablePageElement |
---|
draw, getTag, getTagOrder, setTagOrder |
Methods inherited from class com.cete.dynamicpdf.PageElement |
---|
getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected FormElement(java.lang.String name, float x, float y, float width, float height)
FormElement
.
name
- Name of a form field.x
- X coordinate of a form field.y
- Y coordinate of a form field.width
- Width of a form field.height
- Height of a form field.Method Detail |
---|
public float getX()
public void setX(float fltX)
fltX
- the X coordinate of a form field.public float getY()
public void setY(float fltY)
fltY
- the Y coordinate of a form field.public float getWidth()
public void setWidth(float width)
width
- the width of a form field.public float getHeight()
public void setHeight(float height)
height
- the height of a form field.public int getRotate()
public void setRotate(int rotate)
GeneratorException
- If angle is not multiple of 90.rotate
- the angle of a form field.public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of a form field.public java.lang.String getToolTip()
public void setToolTip(java.lang.String tooltip)
tooltip
- the tool tip of a form field.public java.lang.String getMappingName()
public void setMappingName(java.lang.String mapName)
mapName
- the mapping name, of a form field.public void setTextColor(DeviceColor textColor)
textColor
- the color, of a form field.public DeviceColor getTextColor()
public boolean isReadOnly()
public void setReadOnly(boolean value)
value
- the read only property of the form field.public BorderStyle getBorderStyle()
BorderStyle
.
public void setBorderStyle(BorderStyle borderStyle)
BorderStyle
borderStyle
- the border style of the field.BorderStyle
public void setBorderColor(DeviceColor borderColor)
borderColor
- the border style of the field.public DeviceColor getBorderColor()
public void setBackgroundColor(RgbColor bgColor)
bgColor
- fill/background the border style of the field.public RgbColor getBackgroundColor()
public void setVisible(boolean visible)
visible
- the form field visible property.public boolean isVisible()
public void setPrintable(boolean printable)
printable
- the form field printable status.public boolean isPrintable()
public AnnotationReaderEvents getReaderEvents()
public void setTag(Tag tag)
Licensing:
This class is a DynamicPDF Generator Enterprise Edition
feature. One of the following licenses is required for non-evaluation usage:
setTag
in class TaggablePageElement
tag
- a structure element for taggable form element.public FormFieldOutput getOutput()
public void setOutput(FormFieldOutput value)
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |