public class

CreateCustomStampDialogFragment

extends CustomSizeDialogFragment
implements CreateBitmapFromCustomStampTask.OnCustomStampCreatedCallback
java.lang.Object
   ↳ DialogFragment
     ↳ com.pdftron.pdf.controls.CustomSizeDialogFragment
       ↳ com.pdftron.pdf.dialog.CreateCustomStampDialogFragment

Summary

Fields
public static final String TAG
Public Constructors
CreateCustomStampDialogFragment()
Public Methods
static CreateCustomStampDialogFragment newInstance(CustomStampPreviewAppearance[] customStampPreviewAppearances)
Creates an instance of this class.
static CreateCustomStampDialogFragment newInstance(CustomStampPreviewAppearance[] customStampPreviewAppearances, int editIndex)
Creates an instance of this class.
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onDismiss(DialogInterface dialog)
void onViewCreated(View view, Bundle savedInstanceState)
void setOnCustomStampChangedListener(OnCustomStampChangedListener listener)
Sets the listener to OnCustomStampChangedListener.
[Expand]
Inherited Methods
From class com.pdftron.pdf.controls.CustomSizeDialogFragment
From class java.lang.Object
From interface com.pdftron.pdf.asynctask.CreateBitmapFromCustomStampTask.OnCustomStampCreatedCallback

Fields

public static final String TAG

Public Constructors

public CreateCustomStampDialogFragment ()

Public Methods

public static CreateCustomStampDialogFragment newInstance (CustomStampPreviewAppearance[] customStampPreviewAppearances)

Creates an instance of this class.

Parameters
customStampPreviewAppearances An array of custom rubber stamp preview appearance
Returns
  • An instance of this class

public static CreateCustomStampDialogFragment newInstance (CustomStampPreviewAppearance[] customStampPreviewAppearances, int editIndex)

Creates an instance of this class.

Parameters
customStampPreviewAppearances An array of custom rubber stamp preview appearance
editIndex the index of saved custom rubber stamp to be edited; -1 for creating a new custom rubber stamp
Returns
  • An instance of this class

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

public void onDismiss (DialogInterface dialog)

public void onViewCreated (View view, Bundle savedInstanceState)

public void setOnCustomStampChangedListener (OnCustomStampChangedListener listener)

Sets the listener to OnCustomStampChangedListener.

Parameters
listener The listener