Package org.ka2ddo.yaac.util
Interface ClearableTableModel
- All Known Implementing Classes:
BulletinBoard
,DXTableModel
,LocalObjectTableModel
,MessageModel
,RawPacketTableModel
,SnifferDataModel
public interface ClearableTableModel
This interface identifies a table model within YAAC whose contents can be completely removed by user
request.
- Author:
- Andrew Pavlin, KA2DDO
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Enumeration specifying which types of records should be cleared when deleteAllRows is called. -
Method Summary
Modifier and TypeMethodDescriptionint
deleteAllRows
(ClearableTableModel.ClearType clearType) Delete all rows from this table.boolean
Identifies whether this table can contain playback (historical) data.boolean
Identifies whether this table can contain realtime data.
-
Method Details
-
deleteAllRows
Delete all rows from this table.- Parameters:
clearType
- type of rows to be deleted- Returns:
- number of rows deleted
-
tableCanContainRealtime
boolean tableCanContainRealtime()Identifies whether this table can contain realtime data.- Returns:
- boolean true if table can contain realtime data.
-
tableCanContainPlayback
boolean tableCanContainPlayback()Identifies whether this table can contain playback (historical) data.- Returns:
- boolean true if table can contain playback data.
-