|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.digisigner.api.SignatureAppearanceData
public class SignatureAppearanceData
Allows to customize the appearance for your visible signature. The default signature appearance consists of two parts, left and right:
--------------------------------------------------- | Left part | Right part | | | | | Can be | Can be | | - your name | - your name | | - graphic | - graphic | | - signature text | - signature text | | | | ---------------------------------------------------Each of these parts can be your name (which is the common name from your certificate), a graphic or signature text, which contains information like signature reason, signer name, date etc.
Nested Class Summary | |
---|---|
static class |
SignatureAppearanceData.SignaturePartData
Allows to customize a particular signature part. |
Constructor Summary | |
---|---|
SignatureAppearanceData()
|
Method Summary | |
---|---|
SignatureAppearanceData.SignaturePartData |
getLeftPartData()
Returns appearance data for the left part of the signature. |
String |
getLogoFilename()
Returns the file name of the logo image in background of the signature. |
SignatureAppearanceData.SignaturePartData |
getRightPartData()
Returns appearance data for the right part of the signature. |
boolean |
isShowDate()
Indicates if the date is included in the signature text. |
boolean |
isShowDistinguishedName()
Indicates if the distinguished name is included in the signature text. |
boolean |
isShowFrame()
Indicates if there will be a frame painted around the signature field. |
boolean |
isShowLabels()
Indicates if labels are included in the signature text. |
boolean |
isShowLocation()
Indicates if the location is included in the signature text. |
boolean |
isShowLogo()
Indicates if the logo is shown. |
boolean |
isShowName()
Indicates if the signer name is included in the signature text. |
boolean |
isShowReason()
Indicates if the reason is included in the signature text. |
void |
setLeftPartData(SignatureAppearanceData.SignaturePartData leftPartData)
Sets appearance data for the left part of the signature. |
void |
setLogoFilename(String logoFilename)
Specifies the file name with the logo image. |
void |
setRightPartData(SignatureAppearanceData.SignaturePartData rightPartData)
Sets appearance data for the right part of the signature. |
void |
setShowDate(boolean showDate)
Sets if the date is included in the signature text. |
void |
setShowDistinguishedName(boolean showDistinguishedName)
Sets if the distinguished name is included in the signature text. |
void |
setShowFrame(boolean showFrame)
Sets if there will be a frame painted around the signature field. |
void |
setShowLabels(boolean showLabels)
Sets if labels (like "Location:", "Date:") are included in the signature text. |
void |
setShowLocation(boolean showLocation)
Sets if the location is included in the signature text. |
void |
setShowLogo(boolean showLogo)
Sets if the logo is shown. |
void |
setShowName(boolean showName)
Sets if the signer name is included in the signature text. |
void |
setShowReason(boolean showReason)
Sets if the reason is included in the signature text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SignatureAppearanceData()
Method Detail |
---|
public SignatureAppearanceData.SignaturePartData getLeftPartData()
public void setLeftPartData(SignatureAppearanceData.SignaturePartData leftPartData)
leftPartData
- left part of the signaturepublic SignatureAppearanceData.SignaturePartData getRightPartData()
public void setRightPartData(SignatureAppearanceData.SignaturePartData rightPartData)
rightPartData
- right part of the signaturepublic boolean isShowName()
public void setShowName(boolean showName)
showName
- flag indicating if the signer name is shown in signature textpublic boolean isShowReason()
public void setShowReason(boolean showReason)
showReason
- flag indicating if reason is shown in signature textpublic boolean isShowLocation()
public void setShowLocation(boolean showLocation)
showLocation
- flag indicating if location is shown in signature textpublic boolean isShowDate()
public void setShowDate(boolean showDate)
showDate
- flag indicating if date is shown in signature textpublic boolean isShowDistinguishedName()
public void setShowDistinguishedName(boolean showDistinguishedName)
false
.
showDistinguishedName
- flag indicating if distinguished name is shown in signature textpublic boolean isShowLabels()
public void setShowLabels(boolean showLabels)
true
.
showLabels
- flag indicating if labels are shown in signature textpublic boolean isShowFrame()
public void setShowFrame(boolean showFrame)
showFrame
- flag indicating if the signature is frame is painted around the signaturepublic String getLogoFilename()
public void setLogoFilename(String logoFilename)
logoFilename
- logo file namepublic boolean isShowLogo()
public void setShowLogo(boolean showLogo)
false
.
showLogo
- flag indicating if logo is displayed in the background
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |