public class

StampFragmentAdapter

extends FragmentPagerAdapter
implements OnCustomStampSelectedListener OnRubberStampSelectedListener
java.lang.Object
   ↳ FragmentPagerAdapter
     ↳ com.pdftron.pdf.adapter.StampFragmentAdapter

Summary

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(Obj stampObj)
Called when a custom rubber stamp is selected.
void onRubberStampSelected(Obj stampObj)
Called when a custom rubber stamp is selected.
void onRubberStampSelected(String stampLabel)
Called when a standard rubber stamp is selected.
void setOnRubberStampSelectedListener(OnRubberStampSelectedListener listener)
Sets the listener to OnRubberStampSelectedListener.
void setPrimaryItem(ViewGroup container, int position, Object object)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pdftron.pdf.interfaces.OnCustomStampSelectedListener
From interface com.pdftron.pdf.interfaces.OnRubberStampSelectedListener

Public Constructors

public StampFragmentAdapter (FragmentManager fm, String standardTitle, String customTitle, StandardStampPreviewAppearance[] standardStampPreviewAppearance, CustomStampPreviewAppearance[] customStampPreviewAppearances, Toolbar toolbar, Toolbar cabToolbar)

Public Methods

public int getCount ()

public Fragment getItem (int position)

public CharSequence getPageTitle (int position)

public void onCustomStampSelected (Obj stampObj)

Called when a custom rubber stamp is selected.

Parameters
stampObj The option for creating custom rubber stamp

public void onRubberStampSelected (Obj stampObj)

Called when a custom rubber stamp is selected.

Parameters
stampObj The option for creating custom rubber stamp

public void onRubberStampSelected (String stampLabel)

Called when a standard rubber stamp is selected.

Parameters
stampLabel The label of stamp

public void setOnRubberStampSelectedListener (OnRubberStampSelectedListener listener)

Sets the listener to OnRubberStampSelectedListener.

Parameters
listener The listener

public void setPrimaryItem (ViewGroup container, int position, Object object)