HideAction

class HideAction(val annotationReferences: List<AnnotationReference>, hideTargets: Boolean, subActions: List<Action> = emptyList()) : Action

A hide action hides or shows one or more annotations on the screen by setting or clearing their hidden flags.

Constructors

Link copied to clipboard
constructor(annotationReferences: List<AnnotationReference>, hideTargets: Boolean, subActions: List<Action> = emptyList())
constructor(annotations: List<Annotation>? = null, formElements: List<FormElement>? = null, shouldHide: Boolean, subActions: List<Action> = emptyList())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val annotationReferences: List<AnnotationReference>
Link copied to clipboard
open override val type: ActionType

Returns type of action to make down-casting easier.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun getAnnotationsAsync(document: PdfDocument): Observable<List<Annotation>>

Resolves target annotations. These annotation will be shown/hidden when action is executed.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String