Package com.itextpdf.forms.form.element
Class SignatureFieldAppearance
java.lang.Object
com.itextpdf.commons.actions.sequence.AbstractIdentifiableElement
com.itextpdf.layout.ElementPropertyContainer
com.itextpdf.layout.element.AbstractElement
com.itextpdf.forms.form.element.FormField<SignatureFieldAppearance>
com.itextpdf.forms.form.element.SignatureFieldAppearance
- All Implemented Interfaces:
-
IFormField
,IAbstractElement
,IBlockElement
,IElement
,IPropertyContainer
Extension of the
FormField
class representing a signature field in PDF.
-
Field Summary
Fields inherited from class com.itextpdf.layout.element.AbstractElement
childElements, nextRenderer, styles
Fields inherited from class com.itextpdf.layout.ElementPropertyContainer
properties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the content for this signature.getId()
Gets the id.protected IRenderer
Creates new renderer instance.setContent
(SignedAppearanceText description) Sets the content for this signature.setContent
(SignedAppearanceText description, ImageData image) Sets the content for this signature.setContent
(ImageData image) Sets the content for this signature.setContent
(Div data) Sets the content for this signature.setContent
(String description) Sets the content for this signature.setContent
(String signerName, SignedAppearanceText description) Sets the content for this signature.setContent
(String description, ImageData image) Sets the content for this signature.setContent
(String signerName, String description) Sets the content for this signature.Methods inherited from class com.itextpdf.forms.form.element.FormField
getDefaultProperty, setHeight, setInteractive, setSize, setValue, setWidth
Methods inherited from class com.itextpdf.layout.element.AbstractElement
addStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumber
Methods inherited from class com.itextpdf.layout.ElementPropertyContainer
deleteOwnProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBaseDirection, setBold, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFontColor, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setItalic, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacing
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.itextpdf.layout.element.IAbstractElement
getChildren
Methods inherited from interface com.itextpdf.layout.element.IElement
createRendererSubTree, getRenderer, setNextRenderer
Methods inherited from interface com.itextpdf.layout.IPropertyContainer
deleteOwnProperty, getOwnProperty, getProperty, hasOwnProperty, hasProperty, setProperty
-
Constructor Details
-
SignatureFieldAppearance
Creates a newSignatureFieldAppearance
instance.- Parameters:
-
id
- the id.
-
-
Method Details
-
setContent
Sets the content for this signature.- Parameters:
-
description
-SignedAppearanceText
instance representing the signature text identifying the signer. - Returns:
-
this same
SignatureFieldAppearance
instance.
-
setContent
Sets the content for this signature.- Parameters:
-
description
- the signature text identifying the signer. - Returns:
-
this same
SignatureFieldAppearance
instance.
-
setContent
Sets the content for this signature.- Parameters:
-
description
-SignedAppearanceText
instance representing the signature text identifying the signer. -
image
- the Image object to render. - Returns:
-
this same
SignatureFieldAppearance
instance.
-
setContent
Sets the content for this signature.- Parameters:
-
description
- the signature text identifying the signer. -
image
- the Image object to render. - Returns:
-
this same
SignatureFieldAppearance
instance.
-
setContent
Sets the content for this signature.- Parameters:
-
image
- the Image object to render. - Returns:
-
this same
SignatureFieldAppearance
instance.
-
setContent
Sets the content for this signature.- Parameters:
-
signerName
- the name of the signer from the certificate. -
description
-SignedAppearanceText
instance representing the signature text identifying the signer. - Returns:
-
this same
SignatureFieldAppearance
instance.
-
setContent
Sets the content for this signature.- Parameters:
-
signerName
- the name of the signer from the certificate. -
description
-SignedAppearanceText
instance representing the signature text identifying the signer. - Returns:
-
this same
SignatureFieldAppearance
instance.
-
setContent
Sets the content for this signature.- Parameters:
-
data
- the custom signature data which will be rendered. - Returns:
-
this same
SignatureFieldAppearance
instance.
-
getContentElements
Gets the content for this signature.- Returns:
- collection of the layout elements which will be rendered as a signature content.
-
getId
Gets the id.- Specified by:
-
getId
in interfaceIFormField
- Overrides:
-
getId
in classFormField<SignatureFieldAppearance>
- Returns:
- the id.
-
makeNewRenderer
Creates new renderer instance.- Specified by:
-
makeNewRenderer
in classAbstractElement<SignatureFieldAppearance>
- Returns:
-
new
IRenderer
-