java.lang.Object | ||
↳ | Fragment | |
↳ | com.pdftron.pdf.dialog.CustomStampPickerFragment |
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
|
Called when a new stamp is created.
bitmap | The generated bitmap |
---|
Called when a custom rubber stamp is updated.
bitmap | The generated bitmap |
---|---|
index | The index where the custom rubber stamp is updated |
Sets the listener to OnCustomStampSelectedListener
.
listener | The listener |
---|
Sets theme for the child fragments, default to PDFTronAppTheme
Sets the main and cab toolbars.
toolbar | The toolbar with one action called Edit |
---|---|
cabToolbar | The cab toolbar with all possible actions |