public class

SignatureDialogFragment

extends CustomSizeDialogFragment
implements OnCreateSignatureListener OnSavedSignatureListener
java.lang.Object
   ↳ DialogFragment
     ↳ com.pdftron.pdf.controls.CustomSizeDialogFragment
       ↳ com.pdftron.pdf.dialog.signature.SignatureDialogFragment
Known Direct Subclasses

Summary

Nested Classes
enum SignatureDialogFragment.DialogMode  
Fields
public static int MAX_SIGNATURES
public static final String TAG
Public Constructors
SignatureDialogFragment()
Public Methods
void addOnCreateSignatureListener(OnCreateSignatureListener listener)
Adds a OnCreateSignatureListener to listen for signature events
static boolean atMaxSignatureCount(int numSignatures)
void onAnnotStyleDialogFragmentDismissed(AnnotStyleDialogFragment styleDialog)
Called when style picker is dismissed.
void onCreate(Bundle savedInstanceState)
void onCreateSignatureClicked()
Called when create signature is selected.
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onDismiss(DialogInterface dialog)
void onEditModeChanged(boolean isEdit)
Called when edit mode changed.
void onSignatureCreated(String filepath, boolean saveSignature)
Called when signature is created.
void onSignatureFromImage(PointF targetPoint, int targetPage, Long widget)
Called when signature from image is selected.
void onSignatureSelected(String filepath)
Called when a signature is selected.
void removeOnCreateSignatureListener(OnCreateSignatureListener listener)
void setOnCreateSignatureListener(OnCreateSignatureListener listener)
This method is deprecated. use addOnCreateSignatureListener(OnCreateSignatureListener) instead
void setOnDialogDismissListener(OnDialogDismissListener listener)
Sets the listener to OnDialogDismissListener.
[Expand]
Inherited Methods
From class com.pdftron.pdf.controls.CustomSizeDialogFragment
From class java.lang.Object
From interface com.pdftron.pdf.interfaces.OnCreateSignatureListener
From interface com.pdftron.pdf.interfaces.OnSavedSignatureListener

Fields

public static int MAX_SIGNATURES

public static final String TAG

Public Constructors

public SignatureDialogFragment ()

Public Methods

public void addOnCreateSignatureListener (OnCreateSignatureListener listener)

Adds a OnCreateSignatureListener to listen for signature events

Parameters
listener the listener to add

public static boolean atMaxSignatureCount (int numSignatures)

public void onAnnotStyleDialogFragmentDismissed (AnnotStyleDialogFragment styleDialog)

Called when style picker is dismissed.

Parameters
styleDialog the style picker

public void onCreate (Bundle savedInstanceState)

public void onCreateSignatureClicked ()

Called when create signature is selected.

public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

public void onDismiss (DialogInterface dialog)

public void onEditModeChanged (boolean isEdit)

Called when edit mode changed.

Parameters
isEdit whether is editing

public void onSignatureCreated (String filepath, boolean saveSignature)

Called when signature is created.

public void onSignatureFromImage (PointF targetPoint, int targetPage, Long widget)

Called when signature from image is selected.

public void onSignatureSelected (String filepath)

Called when a signature is selected.

Parameters
filepath The file path of the saved signature

public void removeOnCreateSignatureListener (OnCreateSignatureListener listener)

Parameters
listener the listener to remove

public void setOnCreateSignatureListener (OnCreateSignatureListener listener)

This method is deprecated.
use addOnCreateSignatureListener(OnCreateSignatureListener) instead

Adds a OnCreateSignatureListener to listen for signature events

Parameters
listener the listener to add

public void setOnDialogDismissListener (OnDialogDismissListener listener)

Sets the listener to OnDialogDismissListener.

Parameters
listener The listener