com.digisigner.api
Class SignatureAppearanceData.SignaturePartData

java.lang.Object
  extended by com.digisigner.api.SignatureAppearanceData.SignaturePartData
Enclosing class:
SignatureAppearanceData

public static class SignatureAppearanceData.SignaturePartData
extends Object

Allows to customize a particular signature part.

Author:
DigiSigner Software

Constructor Summary
SignatureAppearanceData.SignaturePartData(SignatureRenderingModeEnum renderingMode)
          Creates SignaturePartData object with the specified rendering mode: signer name, graphic or text.
 
Method Summary
 String getFontFilepath()
          Returns the path to font file which is used for the text in this part.
 String getGraphicFilename()
          Returns the file name of the graphic.
 SignatureRenderingModeEnum getRenderingMode()
          Returns signature rendering mode: signer name, graphic or text.
 boolean isShowPart()
          Indicates if this particular part is shown at all.
 void setFontFilepath(String fontFilepath)
          Sets the path to font file which is used for the text in this part.
 void setGraphicFilename(String graphicFilename)
          Sets graphic file name.
 void setRenderingMode(SignatureRenderingModeEnum renderingMode)
          Sets signature rendering mode: signer name, graphic or text.
 void setShowPart(boolean showPart)
          Sets if the part is shown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureAppearanceData.SignaturePartData

public SignatureAppearanceData.SignaturePartData(SignatureRenderingModeEnum renderingMode)
Creates SignaturePartData object with the specified rendering mode: signer name, graphic or text.

Parameters:
renderingMode - signer name, graphic or text
Method Detail

isShowPart

public boolean isShowPart()
Indicates if this particular part is shown at all.

Returns:
flag indicating if the part is shown

setShowPart

public void setShowPart(boolean showPart)
Sets if the part is shown.

Parameters:
showPart - flag indicating if the part is shown

getRenderingMode

public SignatureRenderingModeEnum getRenderingMode()
Returns signature rendering mode: signer name, graphic or text.

Returns:
signature rendering mode
See Also:
SignatureRenderingModeEnum

setRenderingMode

public void setRenderingMode(SignatureRenderingModeEnum renderingMode)
Sets signature rendering mode: signer name, graphic or text.

Parameters:
renderingMode - signature rendering mode
See Also:
SignatureRenderingModeEnum

getGraphicFilename

public String getGraphicFilename()
Returns the file name of the graphic.

Returns:
graphic file name

setGraphicFilename

public void setGraphicFilename(String graphicFilename)
Sets graphic file name.

Parameters:
graphicFilename - graphic file name

getFontFilepath

public String getFontFilepath()
Returns the path to font file which is used for the text in this part.

Returns:
path to the font file

setFontFilepath

public void setFontFilepath(String fontFilepath)
Sets the path to font file which is used for the text in this part.

Parameters:
fontFilepath - path to the font file