Module jEdit

Class BufferUpdate

java.lang.Object
org.gjt.sp.jedit.EBMessage
org.gjt.sp.jedit.msg.BufferUpdate

public class BufferUpdate extends EBMessage
Message sent when a buffer-related change occurs.
Since:
jEdit 2.2pre6
Version:
$Id: BufferUpdate.java 25221 2020-04-12 16:00:17Z kpouer $
Author:
Slava Pestov
  • Field Details

    • CREATED

      public static final Object CREATED
      Buffer created.
    • CLOSING

      public static final Object CLOSING
      About to be closed
      Since:
      jEdit 4.2pre3
    • LOAD_STARTED

      public static final Object LOAD_STARTED
      Buffer load started.
      Since:
      jEdit 2.6pre1
    • LOADED

      public static final Object LOADED
      Buffer loaded.
    • CLOSED

      public static final Object CLOSED
      Buffer closed.
    • DIRTY_CHANGED

      public static final Object DIRTY_CHANGED
      Buffer dirty changed.
    • MARKERS_CHANGED

      public static final Object MARKERS_CHANGED
      Buffer markers changed.
    • SAVING

      public static final Object SAVING
      Buffer saving.
    • SAVED

      public static final Object SAVED
      Buffer saved.
      Since:
      jEdit 4.0pre4
    • PROPERTIES_CHANGED

      public static final Object PROPERTIES_CHANGED
      Properties changed.
      Since:
      jEdit 4.1pre1
  • Constructor Details

    • BufferUpdate

      public BufferUpdate(Buffer buffer, View view, @Nonnull Object what)
      Creates a new buffer update message.
      Parameters:
      buffer - The buffer
      what - What happened
  • Method Details

    • getWhat

      public Object getWhat()
      Returns what caused this buffer update.
    • getBuffer

      public Buffer getBuffer()
      Returns the buffer involved.
    • getView

      public View getView()
      Returns the view involved, which may be null.
    • paramString

      public String paramString()
      Overrides:
      paramString in class EBMessage
      Returns:
      a string representation of this message's parameters.