com.pspdfkit.ui.special_mode.manager.ContentEditingManager.OnContentEditingContentChangeListener |
![]() |
Listener for content editing changes.
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)
|
Called when the content has successfully been changed.
contentId | id of the changed content block |
---|
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.
contentId | id of the content block |
---|---|
selStart | start position of the selection |
selEnd | end position of the selection, also the cursor position |
Called when the provided block goes out of editing mode (loses focus, or global content editing mode is being finished)
contentId | id of the content block |
---|
Called when the provided block goes into editing mode (need to change the frame style and display the editing widget now)
contentId | id of the content block |
---|