Interface DocumentEditingManager
-
- All Implemented Interfaces:
public interface DocumentEditingManager
Interface for objects that manage a Document Editor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
DocumentEditingManager.OnDocumentEditingModeChangeListener
Listener for entering/exiting document editing mode.
public interface
DocumentEditingManager.OnDocumentEditingPageSelectionChangeListener
Listener for document editing page selection.
-
Method Summary
Modifier and Type Method Description abstract void
addOnDocumentEditingModeChangeListener(@NonNull() DocumentEditingManager.OnDocumentEditingModeChangeListener listener)
Adds a OnDocumentEditingModeChangeListener to get notified when document editing mode has changed. abstract void
removeOnDocumentEditingModeChangeListener(@NonNull() DocumentEditingManager.OnDocumentEditingModeChangeListener listener)
Removes a previously registered OnDocumentEditingModeChangeListener. abstract void
addOnDocumentEditingPageSelectionChangeListener(@NonNull() DocumentEditingManager.OnDocumentEditingPageSelectionChangeListener listener)
Adds a OnDocumentEditingPageSelectionChangeListener to get notified when document page selection has changed. abstract void
removeOnDocumentEditingPageSelectionChangeListener(@NonNull() DocumentEditingManager.OnDocumentEditingPageSelectionChangeListener listener)
Removes a previously registered OnDocumentEditingPageSelectionChangeListener. -
-
Method Detail
-
addOnDocumentEditingModeChangeListener
abstract void addOnDocumentEditingModeChangeListener(@NonNull() DocumentEditingManager.OnDocumentEditingModeChangeListener listener)
Adds a OnDocumentEditingModeChangeListener to get notified when document editing mode has changed. If the listener has already been added previously, this method will be a no-op. Adding
null
is not allowed, and will result in an exception.- Parameters:
listener
- OnDocumentEditingModeChangeListener that should be notified.
-
removeOnDocumentEditingModeChangeListener
abstract void removeOnDocumentEditingModeChangeListener(@NonNull() DocumentEditingManager.OnDocumentEditingModeChangeListener listener)
Removes a previously registered OnDocumentEditingModeChangeListener. Upon calling this method the
listener
will no longer be notified of any changes. If the listener has not been added, this method will be a no-op. Addingnull
is not allowed,and will result in an exception.- Parameters:
listener
- OnDocumentEditingModeChangeListener that should be removed.
-
addOnDocumentEditingPageSelectionChangeListener
abstract void addOnDocumentEditingPageSelectionChangeListener(@NonNull() DocumentEditingManager.OnDocumentEditingPageSelectionChangeListener listener)
Adds a OnDocumentEditingPageSelectionChangeListener to get notified when document page selection has changed. If the listener has already been added previously, this method will be a no-op. Adding
null
is not allowed, and will result in an exception.- Parameters:
listener
- OnDocumentEditingPageSelectionChangeListener that should be notified.
-
removeOnDocumentEditingPageSelectionChangeListener
abstract void removeOnDocumentEditingPageSelectionChangeListener(@NonNull() DocumentEditingManager.OnDocumentEditingPageSelectionChangeListener listener)
Removes a previously registered OnDocumentEditingPageSelectionChangeListener. Upon calling this method the
listener
will no longer be notified of any changes. If the listener has not been added, this method will be a no-op. Addingnull
is not allowed,and will result in an exception.- Parameters:
listener
- OnDocumentEditingPageSelectionChangeListener that should be removed.
-
-
-
-