public final enum

ScrollState

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pspdfkit.listeners.scrolling.ScrollState

Class Overview

Represents the scroll state of a PdfFragment. This is reported via the DocumentScrollListener interface.

Summary

Enum Values
ScrollState  DRAGGED  Signifies that the document is currently being dragged by the user. 
ScrollState  IDLE  Signifies that the document is currently not moving. 
ScrollState  SETTLING  Signifies that the document is not actively dragged, but still moving (e.g. 
Public Methods
static ScrollState valueOf(String name)
final static ScrollState[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ScrollState DRAGGED

Signifies that the document is currently being dragged by the user.

public static final ScrollState IDLE

Signifies that the document is currently not moving.

public static final ScrollState SETTLING

Signifies that the document is not actively dragged, but still moving (e.g. slowing down).

Public Methods

public static ScrollState valueOf (String name)

public static final ScrollState[] values ()