public class

RubberStampCreate

extends Stamper
java.lang.Object
   ↳ com.pdftron.pdf.tools.Tool
     ↳ com.pdftron.pdf.tools.Stamper
       ↳ com.pdftron.pdf.tools.RubberStampCreate

Class Overview

This class is for creating rubber stamp annotation.

Summary

Constants
String sCHECK_MARK_LABEL
String sCROSS_LABEL
String sDOT_LABEL
[Expand]
Inherited Constants
From class com.pdftron.pdf.tools.Stamper
From class com.pdftron.pdf.tools.Tool
Fields
public static final CustomStampPreviewAppearance[] sCustomStampPreviewAppearances
public static final StandardStampPreviewAppearance[] sStandardStampPreviewAppearance
[Expand]
Inherited Fields
From class com.pdftron.pdf.tools.Stamper
From class com.pdftron.pdf.tools.Tool
Public Constructors
RubberStampCreate(PDFViewCtrl ctrl)
Class constructor
Public Methods
int getCreateAnnotType()
Gets what annotation type this tool can create
ToolManager.ToolModeBase getToolMode()
The overload implementation of getToolMode().
void setCustomStampAppearance(StandardStampPreviewAppearance[] standardStampPreviewAppearance, CustomStampPreviewAppearance[] customStampPreviewAppearance)
Sets how to show stamp appearances in custom rubber stamp dialog.
void setStampName(String stampLabel)
Sets the exact name to stamp, if this is set, when clicking on a target, the specified stamp will be created.
void setupAnnotProperty(AnnotStyle annotStyle)
Setup annotation properties.
void showRubberStampDialogFragment(OnRubberStampSelectedListener selectedListener, OnDialogDismissListener dismissListener)
[Expand]
Inherited Methods
From class com.pdftron.pdf.tools.Stamper
From class com.pdftron.pdf.tools.Tool
From class java.lang.Object
From interface com.pdftron.pdf.tools.ToolManager.Tool

Constants

public static final String sCHECK_MARK_LABEL

Constant Value: "FILL_CHECK"

public static final String sCROSS_LABEL

Constant Value: "FILL_CROSS"

public static final String sDOT_LABEL

Constant Value: "FILL_DOT"

Fields

public static final CustomStampPreviewAppearance[] sCustomStampPreviewAppearances

public static final StandardStampPreviewAppearance[] sStandardStampPreviewAppearance

Public Constructors

public RubberStampCreate (PDFViewCtrl ctrl)

Class constructor

Public Methods

public int getCreateAnnotType ()

Gets what annotation type this tool can create

Returns
  • annot type for annotation creation tool, or unknown for non-creation tool.

public ToolManager.ToolModeBase getToolMode ()

The overload implementation of getToolMode().

Returns
  • the mode/identifier of this tool.

public void setCustomStampAppearance (StandardStampPreviewAppearance[] standardStampPreviewAppearance, CustomStampPreviewAppearance[] customStampPreviewAppearance)

Sets how to show stamp appearances in custom rubber stamp dialog.

Parameters
standardStampPreviewAppearance An array of standard rubber stamp appearances; null for default
customStampPreviewAppearance An array of custom rubber stamp appearances; null for default

public void setStampName (String stampLabel)

Sets the exact name to stamp, if this is set, when clicking on a target, the specified stamp will be created.

Parameters
stampLabel the name of the stamp

public void setupAnnotProperty (AnnotStyle annotStyle)

Setup annotation properties.

public void showRubberStampDialogFragment (OnRubberStampSelectedListener selectedListener, OnDialogDismissListener dismissListener)