public class

CustomStampPickerFragment

extends Fragment
implements OnCustomStampChangedListener
java.lang.Object
   ↳ Fragment
     ↳ com.pdftron.pdf.dialog.CustomStampPickerFragment

Summary

Fields
public static final String TAG
Public Constructors
CustomStampPickerFragment()
Public Methods
static CustomStampPickerFragment newInstance(CustomStampPreviewAppearance[] customStampPreviewAppearances)
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onCustomStampCreated(Bitmap bitmap)
Called when a new stamp is created.
void onCustomStampUpdated(Bitmap bitmap, int index)
Called when a custom rubber stamp is updated.
void onViewCreated(View view, Bundle savedInstanceState)
void setOnCustomStampSelectedListener(OnCustomStampSelectedListener listener)
Sets the listener to OnCustomStampSelectedListener.
void setTheme(int theme)
Sets theme for the child fragments, default to PDFTronAppTheme
void setToolbars(Toolbar toolbar, Toolbar cabToolbar)
Sets the main and cab toolbars.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pdftron.pdf.interfaces.OnCustomStampChangedListener

Fields

public static final String TAG

Public Constructors

public CustomStampPickerFragment ()

Public Methods

public static CustomStampPickerFragment newInstance (CustomStampPreviewAppearance[] customStampPreviewAppearances)

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

public void onCustomStampCreated (Bitmap bitmap)

Called when a new stamp is created.

Parameters
bitmap The generated bitmap

public void onCustomStampUpdated (Bitmap bitmap, int index)

Called when a custom rubber stamp is updated.

Parameters
bitmap The generated bitmap
index The index where the custom rubber stamp is updated

public void onViewCreated (View view, Bundle savedInstanceState)

public void setOnCustomStampSelectedListener (OnCustomStampSelectedListener listener)

Sets the listener to OnCustomStampSelectedListener.

Parameters
listener The listener

public void setTheme (int theme)

Sets theme for the child fragments, default to PDFTronAppTheme

public void setToolbars (Toolbar toolbar, Toolbar cabToolbar)

Sets the main and cab toolbars.

Parameters
toolbar The toolbar with one action called Edit
cabToolbar The cab toolbar with all possible actions