# Interface StyledTextModel.Listener

Enclosing class:
  `StyledTextModel`

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface StyledTextModel.Listener
Receives information about modifications of the model.

Since:
  24

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onContentChange(ContentChange ch)`
  Informs the listener that the model content has changed.

- ## Method Details

  - ### onContentChange

    void onContentChange(ContentChange ch)
    Informs the listener that the model content has changed.
    Parameters:
      `ch` - the change