Interface RichTextArea.ImageSource

Enclosing class:
RichTextArea

public static interface RichTextArea.ImageSource
Supplies the picture for an inline image whose source uses a scheme of the application's own, such as the cn1-component: sources com.codename1.wordprocessing uses to put a live component's rendering in the text. The source is kept as it is when the content is read back, so it can carry whatever the scheme needs.
  • Method Summary

    Modifier and Type
    Method
    Description
    load(String source)
    The picture for a source.
  • Method Details

    • load

      Image load(String source)

      The picture for a source.

      Parameters
      • source: the whole source, scheme included
      Returns

      the image, or null when there is none