Class PacketsTable

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, CellEditorListener, ListSelectionListener, RowSorterListener, TableColumnModelListener, TableModelListener, Scrollable

public class PacketsTable extends JTable implements ListSelectionListener
See Also:
  • Field Details

  • Constructor Details

    • PacketsTable

      public PacketsTable(PacketViewer packetViewer)
  • Method Details

    • configureRowSorting

      public void configureRowSorting()
    • configureRowFilter

      public void configureRowFilter(PacketFilter packetFilter)
    • prepareRenderer

      public Component prepareRenderer(TableCellRenderer renderer, int row, int column)
      Overrides:
      prepareRenderer in class JTable
    • clear

      public void clear()
    • setMaxLines

      public void setMaxLines(int maxLines)
    • goBack

      public void goBack()
      Goes back to the previously selected packet
    • goForward

      public void goForward()
      Goes forward to the packet that was selected before the goBack() was used.
    • goUp

      public void goUp()
      Goes to the packet that visually succeeds the currently selected packet
    • goDown

      public void goDown()
      Goes to the packet that visually succeeds the currently selected packet
    • goToPacket

      public void goToPacket(int packetNumber)
      Jumps to the specified packet number. Note that packet numbers do not necessarily start at 1. When connecting to a Yamcs instance, only the latest 1000 packets are displayed.
    • getPacketNumberRange

      public int[] getPacketNumberRange()
    • isCellEditable

      public boolean isCellEditable(int row, int column)
      Overrides:
      isCellEditable in class JTable
    • valueChanged

      public void valueChanged(ListSelectionEvent e)
      Specified by:
      valueChanged in interface ListSelectionListener
      Overrides:
      valueChanged in class JTable
    • packetReceived

      public void packetReceived(TmPacket data)
    • exception

      public void exception(Exception e)
    • log

      public void log(String s)