Class WindowContentPane

java.lang.Object
networktablesviewer.WindowContentPane

public class WindowContentPane extends Object
Holds underlying structure for the dashboard area
  • Constructor Details

    • WindowContentPane

      public WindowContentPane(JFrame window)
      Creates a JPanel for holding DashboardElements
      Parameters:
      window - Parent JFrame container
  • Method Details

    • add

      public void add(NetworkAbstraction.TopicValue topic)
      Adds a new TopicValue to the dashboard ands creates a new DashboardElement
      Parameters:
      topic - TopicValue to add
    • updateVal

      public void updateVal(ArrayList<NetworkAbstraction.TopicValue> change)
      Updates the values of existing DashboardElements
      Parameters:
      change - TopicValues to update
    • getScrollPane

      public JScrollPane getScrollPane()
      Gets the scroll pane for the dashboard
      Returns:
      the JScrollPane for the dashboard panel