Interface ContentEditingInspectorController
-
- All Implemented Interfaces:
public interface ContentEditingInspectorController
Controller responsible for interaction between ContentEditingController and content editing views.
-
-
Method Summary
Modifier and Type Method Description abstract void
displayFontNamesSheet(boolean animate, @NonNull() List<FaceListEntry> faceListEntries, @Nullable() StyleInfo preselectStyle)
Called when the user clicks the font name button on the content editing styling bar abstract void
displayFontSizesSheet(boolean animate, @Nullable() StyleInfo preselectStyle)
Called when the user clicks the font size button on the content editing styling bar abstract void
displayColorPicker(boolean animate, @Nullable() StyleInfo preselectStyle)
Called when the user clicks the font color button on the content editing styling bar abstract void
displayLineSpacingSheet(boolean animate, @Nullable() Float preselectLineSpacing)
Called when the user clicks the line spacing button on the content editing styling bar abstract boolean
isContentEditingInspectorVisible()
Check if inspector is currently displayed. abstract void
bindContentEditingController(@NonNull() ContentEditingController contentEditingController)
Binds to the content editing sheet controller for managing content editing views abstract void
unbindContentEditingController()
Unbinds from previously bound content editing sheet controller. abstract void
onSaveInstanceState(@NonNull() Bundle outState)
Save content editing inspector state. abstract void
onRestoreInstanceState(@NonNull() Bundle savedState)
Restore content editing inspector state. -
-
Method Detail
-
displayFontNamesSheet
abstract void displayFontNamesSheet(boolean animate, @NonNull() List<FaceListEntry> faceListEntries, @Nullable() StyleInfo preselectStyle)
Called when the user clicks the font name button on the content editing styling bar
- Parameters:
animate
- Whether to animate the change.
-
displayFontSizesSheet
abstract void displayFontSizesSheet(boolean animate, @Nullable() StyleInfo preselectStyle)
Called when the user clicks the font size button on the content editing styling bar
- Parameters:
animate
- Whether to animate the change.
-
displayColorPicker
abstract void displayColorPicker(boolean animate, @Nullable() StyleInfo preselectStyle)
Called when the user clicks the font color button on the content editing styling bar
- Parameters:
animate
- Whether to animate the change.
-
displayLineSpacingSheet
abstract void displayLineSpacingSheet(boolean animate, @Nullable() Float preselectLineSpacing)
Called when the user clicks the line spacing button on the content editing styling bar
- Parameters:
animate
- Whether to animate the change.
-
isContentEditingInspectorVisible
abstract boolean isContentEditingInspectorVisible()
Check if inspector is currently displayed.
- Returns:
True if inspector is showing to the user, false otherwise.
-
bindContentEditingController
abstract void bindContentEditingController(@NonNull() ContentEditingController contentEditingController)
Binds to the content editing sheet controller for managing content editing views
- Parameters:
contentEditingController
- Controller for managing the content editing styling bar
-
unbindContentEditingController
abstract void unbindContentEditingController()
Unbinds from previously bound content editing sheet controller.
-
onSaveInstanceState
abstract void onSaveInstanceState(@NonNull() Bundle outState)
Save content editing inspector state.
-
onRestoreInstanceState
abstract void onRestoreInstanceState(@NonNull() Bundle savedState)
Restore content editing inspector state.
-
-
-
-