public class

WatermarkDialog

extends AnnotStyleDialogFragment
java.lang.Object
   ↳ DialogFragment
     ↳ com.pdftron.pdf.dialog.base.BaseBottomDialogFragment
       ↳ com.pdftron.pdf.controls.AnnotStyleDialogFragment
         ↳ com.pdftron.pdf.dialog.watermark.WatermarkDialog

Class Overview

Dialog Fragment containing UI for watermark settings from the user.

Summary

[Expand]
Inherited Constants
From class com.pdftron.pdf.controls.AnnotStyleDialogFragment
Fields
public static final String TAG
[Expand]
Inherited Fields
From class com.pdftron.pdf.controls.AnnotStyleDialogFragment
Public Constructors
WatermarkDialog()
Public Methods
static WatermarkDialog newInstance(PDFViewCtrl pdfViewCtrl)
Initializes a WatermarkDialog dialog with the default annotation style.
static WatermarkDialog newInstance(AnnotStyle annotStyle, PDFViewCtrl pdfViewCtrl)
Initializes a WatermarkDialog with the given annotation style.
void show(FragmentManager fragmentManager)
Show the dialog
[Expand]
Inherited Methods
From class com.pdftron.pdf.controls.AnnotStyleDialogFragment
From class com.pdftron.pdf.dialog.base.BaseBottomDialogFragment
From class java.lang.Object
From interface com.pdftron.pdf.controls.AnnotStyleView.OnPresetSelectedListener
From interface com.pdftron.pdf.model.AnnotStyle.AnnotStyleHolder

Fields

public static final String TAG

Public Constructors

public WatermarkDialog ()

Public Methods

public static WatermarkDialog newInstance (PDFViewCtrl pdfViewCtrl)

Initializes a WatermarkDialog dialog with the default annotation style.

public static WatermarkDialog newInstance (AnnotStyle annotStyle, PDFViewCtrl pdfViewCtrl)

Initializes a WatermarkDialog with the given annotation style.

Parameters
annotStyle initial style for the watermark style picker
pdfViewCtrl the PDFViewCtrl to add watermark to
Returns
  • the WatermarkDialog

public void show (FragmentManager fragmentManager)

Show the dialog