Class PacketViewer

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, TreeSelectionListener, RootPaneContainer, WindowConstants, org.yamcs.client.ConnectionListener, ParameterProcessor

public class PacketViewer extends JFrame implements ActionListener, TreeSelectionListener, ParameterProcessor, org.yamcs.client.ConnectionListener
See Also:
  • Field Details

    • ERROR_FAINT_BG

      public static final Color ERROR_FAINT_BG
    • ERROR_FAINT_FG

      public static final Color ERROR_FAINT_FG
    • ERROR_BORDER

      public static final Border ERROR_BORDER
  • Constructor Details

  • Method Details

    • log

      public void log(String s)
      Specified by:
      log in interface org.yamcs.client.ConnectionListener
    • actionPerformed

      public void actionPerformed(ActionEvent ae)
      Specified by:
      actionPerformed in interface ActionListener
    • valueChanged

      public void valueChanged(TreeSelectionEvent e)
      Specified by:
      valueChanged in interface TreeSelectionListener
    • process

      public void process(ProcessingData processingData)
      Specified by:
      process in interface ParameterProcessor
    • setSelectedPacket

      public void setSelectedPacket(ListPacket listPacket)
    • connected

      public void connected()
      Specified by:
      connected in interface org.yamcs.client.ConnectionListener
    • connecting

      public void connecting()
      Specified by:
      connecting in interface org.yamcs.client.ConnectionListener
    • connectionFailed

      public void connectionFailed(Throwable cause)
      Specified by:
      connectionFailed in interface org.yamcs.client.ConnectionListener
    • disconnected

      public void disconnected()
      Specified by:
      disconnected in interface org.yamcs.client.ConnectionListener
    • getRecentFiles

      public List<String[]> getRecentFiles()
      Returns the recently opened files from preferences Each entry is a String array with the filename on index 0, and the last used XTCE DB for that file on index 1.
    • main

      public static void main(String[] args) throws ConfigurationException, URISyntaxException
      Throws:
      ConfigurationException
      URISyntaxException
    • addParameterToTheLeftTable

      public void addParameterToTheLeftTable(org.yamcs.xtce.Parameter selectedParameter)
    • getDefaultNamespace

      public String getDefaultNamespace()
    • readConfig

      protected void readConfig(String instance, YConfiguration config)