Interface IBufferListener


public interface IBufferListener
Interface for listeners to buffer state changes.
Since:
1.4
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Bit-mask indicating that the bufferSaved method is supported by the buffer.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Informs this listener that the contents of the given buffer has been saved.
  • Field Details

  • Method Details

    • bufferSaved

      default void bufferSaved(IBuffer buffer)
      Informs this listener that the contents of the given buffer has been saved.

      Note that this method is not invoked if the buffer's dirty flag is cleared for reasons other than saving the buffer's contents.

      In general, the buffer may be modified concurrently with calling this method.

      Parameters:
      buffer - the affected buffer (never null)