Package 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.
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
Schedule a short-running operation that should only occur on the GUI dispatch thread (however the implementing GUI chooses to do it).
-
Method Details
-
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 messagelastRow
- 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 messagelastRow
- zero-based index of last message
-
scheduleToGuiThread
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
-