public class

SignatureDialogFragmentBuilder

extends SkeletalFragmentBuilder<E extends Fragment>
java.lang.Object
   ↳ com.pdftron.pdf.interfaces.builder.SkeletalFragmentBuilder<E extends Fragment>
     ↳ com.pdftron.pdf.dialog.signature.SignatureDialogFragmentBuilder

Summary

Constants
String BUNDLE_HAS_DEFAULT_KEYSTORE
boolean HAS_DEFAULT_KEYSTORE
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<SignatureDialogFragmentBuilder> CREATOR
Public Constructors
SignatureDialogFragmentBuilder()
Public Methods
SignatureDialogFragment build(Context context)
Convenience build method that calls build(Context, Class) with the default class for this builder.
void checkArgs(Context context)
Check the arguments of this builder.
Bundle createBundle(Context context)
Create the bundle that will be passed as arguments to the Fragment.
int describeContents()
SignatureDialogFragmentBuilder usingAnnotStyleProperties(HashMap<Integer, AnnotStyleProperty> annotStyleProperties)
SignatureDialogFragmentBuilder usingColor(int color)
SignatureDialogFragmentBuilder usingConfirmBtnStrRes(int confirmBtnStrRes)
SignatureDialogFragmentBuilder usingDefaultKeystore(boolean hasDefaultKeystore)
SignatureDialogFragmentBuilder usingDefaultStoreNewSignature(boolean defaultStoreNewSignature)
SignatureDialogFragmentBuilder usingDialogMode(SignatureDialogFragment.DialogMode dialogMode)
Sets the default SignatureDialogFragment.DialogMode to use when showing the SignatureDialogFragment.
SignatureDialogFragmentBuilder usingPersistStoreSignatureSetting(boolean persistStoreSignatureSetting)
SignatureDialogFragmentBuilder usingPressureSensitive(boolean pressureSensitive)
SignatureDialogFragmentBuilder usingShowSavedSignatures(boolean showSavedSignatures)
SignatureDialogFragmentBuilder usingShowSignatureFromImage(boolean showSignatureFromImage)
SignatureDialogFragmentBuilder usingShowSignaturePresets(boolean showSignaturePresets)
SignatureDialogFragmentBuilder usingShowTypedSignature(boolean showTypedSignature)
SignatureDialogFragmentBuilder usingSignatureColors(int... signatureColors)
SignatureDialogFragmentBuilder usingStrokeWidth(float strokeWidth)
SignatureDialogFragmentBuilder usingTargetPage(int targetPage)
SignatureDialogFragmentBuilder usingTargetPoint(PointF targetPoint)
SignatureDialogFragmentBuilder usingTargetWidget(Long targetWidget)
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class com.pdftron.pdf.interfaces.builder.SkeletalFragmentBuilder
From class java.lang.Object
From interface android.os.Parcelable
From interface com.pdftron.pdf.interfaces.builder.Builder

Constants

public static final String BUNDLE_HAS_DEFAULT_KEYSTORE

Constant Value: "bundle_digital_signature"

public static final boolean HAS_DEFAULT_KEYSTORE

Constant Value: false

Fields

public static final Creator<SignatureDialogFragmentBuilder> CREATOR

Public Constructors

public SignatureDialogFragmentBuilder ()

Public Methods

public SignatureDialogFragment build (Context context)

Convenience build method that calls build(Context, Class) with the default class for this builder.

Parameters
context the context used to initialize the fragment and its theme.
Returns
  • an instance of E with the specified parameters from the builder.

public void checkArgs (Context context)

Check the arguments of this builder. You can also det the default builder parameters in this method.

Parameters
context used to initialize default building parameters

public Bundle createBundle (Context context)

Create the bundle that will be passed as arguments to the Fragment. Called right after calling checkArgs(Context)

Parameters
context used to initialize arguments for the bundle.
Returns
  • the bundle with the required arguments for the Fragment.

public int describeContents ()

public SignatureDialogFragmentBuilder usingAnnotStyleProperties (HashMap<Integer, AnnotStyleProperty> annotStyleProperties)

public SignatureDialogFragmentBuilder usingColor (int color)

public SignatureDialogFragmentBuilder usingConfirmBtnStrRes (int confirmBtnStrRes)

public SignatureDialogFragmentBuilder usingDefaultKeystore (boolean hasDefaultKeystore)

public SignatureDialogFragmentBuilder usingDefaultStoreNewSignature (boolean defaultStoreNewSignature)

public SignatureDialogFragmentBuilder usingDialogMode (SignatureDialogFragment.DialogMode dialogMode)

Sets the default SignatureDialogFragment.DialogMode to use when showing the SignatureDialogFragment. If null is set, then the SignatureDialogFragment will determine the mode by checking the existing signatures .

Parameters
dialogMode to specify the mode of SignatureDialogFragment.

public SignatureDialogFragmentBuilder usingPersistStoreSignatureSetting (boolean persistStoreSignatureSetting)

public SignatureDialogFragmentBuilder usingPressureSensitive (boolean pressureSensitive)

public SignatureDialogFragmentBuilder usingShowSavedSignatures (boolean showSavedSignatures)

public SignatureDialogFragmentBuilder usingShowSignatureFromImage (boolean showSignatureFromImage)

public SignatureDialogFragmentBuilder usingShowSignaturePresets (boolean showSignaturePresets)

public SignatureDialogFragmentBuilder usingShowTypedSignature (boolean showTypedSignature)

public SignatureDialogFragmentBuilder usingSignatureColors (int... signatureColors)

public SignatureDialogFragmentBuilder usingStrokeWidth (float strokeWidth)

public SignatureDialogFragmentBuilder usingTargetPage (int targetPage)

public SignatureDialogFragmentBuilder usingTargetPoint (PointF targetPoint)

public SignatureDialogFragmentBuilder usingTargetWidget (Long targetWidget)

public void writeToParcel (Parcel dest, int flags)