Interface IBufferListener


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

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

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