Module jEdit

Class BufferSetAdapter

java.lang.Object
org.gjt.sp.jedit.bufferset.BufferSetAdapter
All Implemented Interfaces:
EventListener, BufferSetListener

public class BufferSetAdapter extends Object implements BufferSetListener
Since:
jEdit 4.3pre15
Author:
Matthieu Casanova
  • Constructor Details

    • BufferSetAdapter

      public BufferSetAdapter()
  • Method Details

    • bufferAdded

      public void bufferAdded(Buffer buffer, int index)
      Description copied from interface: BufferSetListener
      A buffer was added in the bufferSet.
      Specified by:
      bufferAdded in interface BufferSetListener
      Parameters:
      buffer - the buffer
      index - the position where it was added
    • bufferRemoved

      public void bufferRemoved(Buffer buffer, int index)
      Description copied from interface: BufferSetListener
      A buffer was removed from the bufferSet.
      Specified by:
      bufferRemoved in interface BufferSetListener
      Parameters:
      buffer - the removed buffer
      index - the position where the buffer was
    • bufferMoved

      public void bufferMoved(Buffer buffer, int oldIndex, int newIndex)
      Description copied from interface: BufferSetListener
      A buffer was moved in the BufferSet.
      Specified by:
      bufferMoved in interface BufferSetListener
      Parameters:
      buffer - the moved buffer
      oldIndex - the old index
      newIndex - the new index
    • bufferSetSorted

      public void bufferSetSorted()
      Description copied from interface: BufferSetListener
      The bufferSet was sorted.
      Specified by:
      bufferSetSorted in interface BufferSetListener