Package org.ka2ddo.yaac.gui
Interface AprsMessageContainingModel
- All Superinterfaces:
ColumnSizingTableModel
,TableModel
- All Known Implementing Classes:
MessageModel
,ObjectPacketModel
This interface defines methods on an object that contains an indexed list of messages.
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptiongetMessageAt
(int rowIndex) Fetch the AX25Message object at the specified index.void
setMode
(RawPacketDisplayMode mode) Specify what display mode should be used to present the message body of the specified message when the body's column is requested with the getValueAt() method.Methods inherited from interface org.ka2ddo.yaac.gui.ColumnSizingTableModel
getColumnWidth, isSizeToFit
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
-
Method Details
-
getMessageAt
Fetch the AX25Message object at the specified index.- Parameters:
rowIndex
- zero-based index to the specified Message- Returns:
- AX25Message object
- Throws:
IndexOutOfBoundsException
- if the row index is < 0 or >= the size of the Message list
-
setMode
Specify what display mode should be used to present the message body of the specified message when the body's column is requested with the getValueAt() method.- Parameters:
mode
- RawPacketDisplayMode enum specifying the display mode- See Also:
-