Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ka2ddo.yaac.core
Interface SnifferDataListener

All Known Implementing Classes:
  RawPacketTableModel

    public interface SnifferDataListener

This interface defines callbacks used by GUI classes wrapping the SnifferDataModel.

Method Summary
`void` | `messagesDeleted(int firstRow, int lastRow)` Report that a block of messages has been deleted at the following range of indexes.
`void` | `messagesInserted(int firstRow, int lastRow)` Report that a block of messages has been inserted at the following range of indexes.
`void` | `scheduleToGuiThread(java.lang.Runnable r)` Schedule a short-running operation that should only occur on the GUI dispatch thread (however the implementing GUI chooses to do it).

Method Detail

### messagesDeleted

    void messagesDeleted(int firstRow,
                         int lastRow)

  Report that a block of messages has been deleted at the following range of indexes.

  Parameters:
    `firstRow` - zero-based index of first message
    `lastRow` - zero-based index of last message

### messagesInserted

    void messagesInserted(int firstRow,
                          int lastRow)

  Report that a block of messages has been inserted at the following range of indexes.

  Parameters:
    `firstRow` - zero-based index of first message
    `lastRow` - zero-based index of last message

### scheduleToGuiThread

    void scheduleToGuiThread(java.lang.Runnable r)

  Schedule a short-running operation that should only occur on the GUI dispatch thread (however the implementing GUI chooses to do it).

  Parameters:
    `r` - Runnable to be scheduled as soon as possible on the GUI thread

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD