Class DefaultContentEditingInspectorController

    • Constructor Detail

      • DefaultContentEditingInspectorController

        DefaultContentEditingInspectorController(Context context, PropertyInspectorCoordinatorLayoutController coordinatorController)
        Parameters:
        context - The context.
        coordinatorController - Controller managing inspector coordinator layout.
    • Method Detail

      • bindContentEditingController

         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
      • displayFontNamesSheet

         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

         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

         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

         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

         boolean isContentEditingInspectorVisible()

        Check if inspector is currently displayed.

        Returns:

        True if inspector is showing to the user, false otherwise.