public class BufferSetAdapter extends java.lang.Object implements BufferSetListener
Constructor and Description |
---|
BufferSetAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
bufferAdded(Buffer buffer,
int index)
A buffer was added in the bufferSet.
|
void |
bufferMoved(Buffer buffer,
int oldIndex,
int newIndex)
A buffer was moved in the BufferSet.
|
void |
bufferRemoved(Buffer buffer,
int index)
A buffer was removed from the bufferSet.
|
void |
bufferSetSorted()
The bufferSet was sorted.
|
public void bufferAdded(Buffer buffer, int index)
BufferSetListener
bufferAdded
in interface BufferSetListener
buffer
- the bufferindex
- the position where it was addedpublic void bufferRemoved(Buffer buffer, int index)
BufferSetListener
bufferRemoved
in interface BufferSetListener
buffer
- the removed bufferindex
- the position where the buffer waspublic void bufferMoved(Buffer buffer, int oldIndex, int newIndex)
BufferSetListener
bufferMoved
in interface BufferSetListener
buffer
- the moved bufferoldIndex
- the old indexnewIndex
- the new indexpublic void bufferSetSorted()
BufferSetListener
bufferSetSorted
in interface BufferSetListener