Package networktablesviewer
Class WindowContentPane
java.lang.Object
networktablesviewer.WindowContentPane
Holds underlying structure for the dashboard area
-
Constructor Summary
ConstructorsConstructorDescriptionWindowContentPane(JFrame window) Creates a JPanel for holding DashboardElements -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(NetworkAbstraction.TopicValue topic) Adds a new TopicValue to the dashboard ands creates a new DashboardElementGets the scroll pane for the dashboardvoidUpdates the values of existing DashboardElements
-
Constructor Details
-
WindowContentPane
Creates a JPanel for holding DashboardElements- Parameters:
window- Parent JFrame container
-
-
Method Details
-
add
Adds a new TopicValue to the dashboard ands creates a new DashboardElement- Parameters:
topic- TopicValue to add
-
updateVal
Updates the values of existing DashboardElements- Parameters:
change- TopicValues to update
-
getScrollPane
Gets the scroll pane for the dashboard- Returns:
- the JScrollPane for the dashboard panel
-