java.lang.Object | ||
↳ | FragmentPagerAdapter | |
↳ | com.pdftron.pdf.adapter.StampFragmentAdapter |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
StampFragmentAdapter(FragmentManager fm, String standardTitle, String customTitle, StandardStampPreviewAppearance[] standardStampPreviewAppearance, CustomStampPreviewAppearance[] customStampPreviewAppearances, Toolbar toolbar, Toolbar cabToolbar) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | getCount() | ||||||||||
Fragment | getItem(int position) | ||||||||||
CharSequence | getPageTitle(int position) | ||||||||||
void |
onCustomStampSelected(String stampId, Obj stampObj)
Called when a custom rubber stamp is selected.
| ||||||||||
void |
onRubberStampSelected(String stampLabel)
Called when a standard rubber stamp is selected.
| ||||||||||
void |
onRubberStampSelected(String stampId, Obj stampObj)
Called when a custom rubber stamp is selected.
| ||||||||||
void |
setOnRubberStampSelectedListener(OnRubberStampSelectedListener listener)
Sets the listener to
OnRubberStampSelectedListener . | ||||||||||
void | setPrimaryItem(ViewGroup container, int position, Object object) | ||||||||||
void |
setTheme(int theme)
Sets theme for the child fragments, default to PDFTronAppTheme
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.interfaces.OnCustomStampSelectedListener
| |||||||||||
From interface
com.pdftron.pdf.interfaces.OnRubberStampSelectedListener
|
Called when a custom rubber stamp is selected.
stampId | The identifier of the custom rubber stamp |
---|---|
stampObj | The option for creating custom rubber stamp |
Called when a standard rubber stamp is selected.
stampLabel | The label of stamp |
---|
Called when a custom rubber stamp is selected.
stampId | The identifier of the rubber stamp |
---|---|
stampObj | The option for creating custom rubber stamp |
Sets the listener to OnRubberStampSelectedListener
.
listener | The listener |
---|
Sets theme for the child fragments, default to PDFTronAppTheme