public class

RubberStampDialogFragment

extends CustomSizeDialogFragment
java.lang.Object
   ↳ DialogFragment
     ↳ com.pdftron.pdf.controls.CustomSizeDialogFragment
       ↳ com.pdftron.pdf.controls.RubberStampDialogFragment

Class Overview

A dialog that enables the user to select a stamp

Summary

Fields
public static final String TAG
Public Constructors
RubberStampDialogFragment()
Public Methods
PointF getTargetPoint()
static RubberStampDialogFragment newInstance(PointF targetPoint, StandardStampPreviewAppearance[] standardStampPreviewAppearance, CustomStampPreviewAppearance[] customStampPreviewAppearances)
void onCreate(Bundle savedInstanceState)
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onDismiss(DialogInterface dialog)
void setOnDialogDismissListener(OnDialogDismissListener listener)
Sets the listener to OnDialogDismissListener.
void setOnRubberStampSelectedListener(OnRubberStampSelectedListener listener)
Sets the listener to OnRubberStampSelectedListener.
[Expand]
Inherited Methods
From class com.pdftron.pdf.controls.CustomSizeDialogFragment
From class java.lang.Object

Fields

public static final String TAG

Public Constructors

public RubberStampDialogFragment ()

Public Methods

public PointF getTargetPoint ()

Returns
  • The target point for adding rubber stamp

public static RubberStampDialogFragment newInstance (PointF targetPoint, StandardStampPreviewAppearance[] standardStampPreviewAppearance, CustomStampPreviewAppearance[] customStampPreviewAppearances)

public void onCreate (Bundle savedInstanceState)

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

public void onDismiss (DialogInterface dialog)

public void setOnDialogDismissListener (OnDialogDismissListener listener)

Sets the listener to OnDialogDismissListener.

Parameters
listener The listener

public void setOnRubberStampSelectedListener (OnRubberStampSelectedListener listener)

Sets the listener to OnRubberStampSelectedListener.

Parameters
listener The listener