public class

StampType

extends Object
implements Parcelable
java.lang.Object
   ↳ com.pspdfkit.annotations.stamps.StampType

Class Overview

The type of stamp a StampAnnotation has. The type influences how the the annotation is rendered and how other PDF applications handle editing it.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final StampType ACCEPTED Rendered as a Tick.
public static final StampType APPROVED
public static final StampType AS_IS
public static final StampType COMPLETED
public static final StampType CONFIDENTIAL
public static final Creator<StampType> CREATOR
public static final StampType DEPARTMENTAL
public static final StampType DRAFT
public static final StampType EXPERIMENTAL
public static final StampType EXPIRED
public static final StampType FINAL
public static final StampType FOR_COMMENT
public static final StampType FOR_PUBLIC_RELEASE
public static final StampType INFORMATION_ONLY
public static final StampType INITIAL_HERE
public static final StampType NOT_APPROVED
public static final StampType NOT_FOR_PUBLIC_RELEASE
public static final StampType PRELIMINARY_RESULTS
public static final StampType REJECTED Rendered as a Cross.
public static final StampType REVISED
public static final StampType SIGN_HERE
public static final StampType SOLD
public static final StampType TOP_SECRET
public static final StampType VOID
public static final StampType WITNESS
Public Constructors
StampType(String name)
Creates a StampType for the given name.
Public Methods
int describeContents()
boolean equals(Object o)
String getName()
The name of this stamp type.
int hashCode()
boolean isStandard()
Checks whether this is a standard stamp type known to PSPDFKit, in which case the title and subtitle are supplied automatically based on the type.
String toString()
void writeToParcel(Parcel parcel, int i)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final StampType ACCEPTED

Rendered as a Tick.

public static final StampType APPROVED

public static final StampType AS_IS

public static final StampType COMPLETED

public static final StampType CONFIDENTIAL

public static final Creator<StampType> CREATOR

public static final StampType DEPARTMENTAL

public static final StampType DRAFT

public static final StampType EXPERIMENTAL

public static final StampType EXPIRED

public static final StampType FINAL

public static final StampType FOR_COMMENT

public static final StampType FOR_PUBLIC_RELEASE

public static final StampType INFORMATION_ONLY

public static final StampType INITIAL_HERE

public static final StampType NOT_APPROVED

public static final StampType NOT_FOR_PUBLIC_RELEASE

public static final StampType PRELIMINARY_RESULTS

public static final StampType REJECTED

Rendered as a Cross.

public static final StampType REVISED

public static final StampType SIGN_HERE

public static final StampType SOLD

public static final StampType TOP_SECRET

public static final StampType VOID

public static final StampType WITNESS

Public Constructors

public StampType (String name)

Creates a StampType for the given name. This should usually not be used. For better compatibility with other PDF readers, standard stamp types should be used. To render custom text in a stamp, set null as stamp type (see setStampType(StampType)) and set the title insted (see setTitle(String)).

Parameters
name The text to set as the stamp name.

Public Methods

public int describeContents ()

public boolean equals (Object o)

public String getName ()

The name of this stamp type.

public int hashCode ()

public boolean isStandard ()

Checks whether this is a standard stamp type known to PSPDFKit, in which case the title and subtitle are supplied automatically based on the type.

public String toString ()

public void writeToParcel (Parcel parcel, int i)