java.lang.Object | |
↳ | com.pspdfkit.annotations.stamps.StampType |
The type of stamp a StampAnnotation
has. The type influences how the the annotation is
rendered and how other PDF applications handle editing it.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
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)
).
name | The text to set as the stamp name. |
---|
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.