StyledTextModel.Listener (JavaFX 28)
Description: declaration: module: jfx.incubator.richtext, package: jfx.incubator.scene.control.richtext.model, class: StyledTextModel, interface: Listener

# 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