public static interface

ContentEditingManager.OnContentEditingContentChangeListener

com.pspdfkit.ui.special_mode.manager.ContentEditingManager.OnContentEditingContentChangeListener
Known Indirect Subclasses

Class Overview

Listener for content editing changes.

Summary

Public Methods
abstract void onContentChange(UUID contentId)
Called when the content has successfully been changed.
abstract void onContentSelectionChange(UUID contentId, int selStart, int selEnd, StyleInfo styleInfo, boolean styleWasChanged)
Called when the cursor position/selection has changed Mainly used to update the content editing toolbar to show the proper text style for the current cursor position.
abstract void onFinishEditingContentBlock(UUID contentId)
Called when the provided block goes out of editing mode (loses focus, or global content editing mode is being finished)
abstract void onStartEditingContentBlock(UUID contentId)
Called when the provided block goes into editing mode (need to change the frame style and display the editing widget now)

Public Methods

public abstract void onContentChange (UUID contentId)

Called when the content has successfully been changed.

Parameters
contentId id of the changed content block

public abstract void onContentSelectionChange (UUID contentId, int selStart, int selEnd, StyleInfo styleInfo, boolean styleWasChanged)

Called when the cursor position/selection has changed Mainly used to update the content editing toolbar to show the proper text style for the current cursor position.

Parameters
contentId id of the content block
selStart start position of the selection
selEnd end position of the selection, also the cursor position

public abstract void onFinishEditingContentBlock (UUID contentId)

Called when the provided block goes out of editing mode (loses focus, or global content editing mode is being finished)

Parameters
contentId id of the content block

public abstract void onStartEditingContentBlock (UUID contentId)

Called when the provided block goes into editing mode (need to change the frame style and display the editing widget now)

Parameters
contentId id of the content block