Index

A C D E G I L M N R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

add(NetworkAbstraction.TopicValue) - Method in class networktablesviewer.WindowContentPane
Adds a new TopicValue to the dashboard ands creates a new DashboardElement
addVal(NetworkAbstraction.TopicValue) - Method in class networktablesviewer.RootTableSidebar.SidebarList
Adds a new topic value
App - Class in networktablesviewer
The class containing the main method for the application
App() - Constructor for class networktablesviewer.App
 
AppContainer - Class in networktablesviewer
App container for holding the underlying structure of the application
AppContainer(Settings) - Constructor for class networktablesviewer.AppContainer
Creates a JFrame and the underlying structure for the application

C

change() - Method in interface networktablesviewer.SettingsDialog.ChangeServer
This method should be overrided to change the NT server based on the current settings
closeAndLock() - Method in class networktablesviewer.NetworkAbstraction
Closes the connection and acquires the semaphore but never releases it This instance will be useless after this call This should be used to stop all other threads from trying to use this NT instance This will also free up the network identifier NTVC-lcl
connect() - Method in class networktablesviewer.NetworkAbstraction
Connects to the NT server using information from the Driver Station Driver Station must be running for this method to work
connect(String) - Method in class networktablesviewer.NetworkAbstraction
Connects to the NT server given a hostname
createVal(ArrayList<NetworkAbstraction.TopicValue>) - Method in class networktablesviewer.RootTableSidebar
Creates new entries in the list

D

DashboardElement - Class in networktablesviewer
This class holds information and acts as a Component for displaying topics on the Dashboard
DashboardElement(NetworkAbstraction.TopicValue, JPanel) - Constructor for class networktablesviewer.DashboardElement
Creates a JPanel and populates JLabels based on the topic
DashboardPopup - Class in networktablesviewer
Holds information for DashboardElement popups
DashboardPopup(DashboardPopup.RemoveElement, JPanel) - Constructor for class networktablesviewer.DashboardPopup
Creates a popup for a DashbordElement
DashboardPopup.RemoveElement - Interface in networktablesviewer
SAM type lambda for removing DashboardElement
displayWindow() - Method in class networktablesviewer.AppContainer
Packs and displays the JFrame
dispose() - Method in class networktablesviewer.AppContainer
Disposes the JFrame (and its children) and terminates teh JVM

E

editVal(NetworkAbstraction.TopicValue) - Method in class networktablesviewer.RootTableSidebar.SidebarList
Edits an existing topic value
exists - Variable in class networktablesviewer.NetworkAbstraction.TopicValue
true if the topic is being published

G

getElementAt(int) - Method in class networktablesviewer.RootTableSidebar.SidebarList
Gets the string value of the topic at the specified index
getError() - Method in class networktablesviewer.NetworkAbstraction
Gets the previous error (sticky)
getLatest() - Method in class networktablesviewer.NetworkAbstraction
Gets the latest topics from the server May include duplicates and older values
getName() - Method in class networktablesviewer.DashboardElement
Gets the name of the topic
getScrollPane() - Method in class networktablesviewer.RootTableSidebar
Gets the scroll pane
getScrollPane() - Method in class networktablesviewer.WindowContentPane
Gets the scroll pane for the dashboard
getSize() - Method in class networktablesviewer.RootTableSidebar.SidebarList
Gets the number of topics
getString() - Method in class networktablesviewer.NetworkAbstraction.TopicValue
Gets the string value of the TopicValue
getTopics() - Method in class networktablesviewer.RootTableSidebar.SidebarList
Gets all stored topics

I

ip - Variable in class networktablesviewer.Settings
The static IP stored in settings
isConnected() - Method in class networktablesviewer.NetworkAbstraction
Checks if we are connected to the NT server It is possible for the port to be open but to not be connected
isOpen() - Method in class networktablesviewer.NetworkAbstraction
Checks if NT port is open

L

loopCycle() - Method in class networktablesviewer.AppContainer
Updates local Topics This function should be called periodically Calling this function too often will lead to severe application slowdown This function will wait on and acquire the semaphore

M

main(String[]) - Static method in class networktablesviewer.App
The main function for the application

N

name - Variable in class networktablesviewer.NetworkAbstraction.TopicValue
name of the topic this should match with the name of the topic of the NetworkTableValue
NetworkAbstraction - Class in networktablesviewer
This class provides a simpler way to access NT
NetworkAbstraction() - Constructor for class networktablesviewer.NetworkAbstraction
Constructs a new NetworkAbstraction with identifier NTVC-lcl This should only by one client connected to a NT server
NetworkAbstraction.TopicValue - Class in networktablesviewer
Holds information about a Topic
networktablesviewer - package networktablesviewer
 

R

read() - Method in class networktablesviewer.Settings
Reads and updates settings from the settings file This function has undefined behavior when the settings file does not exists or is not in the correct format
remove() - Method in interface networktablesviewer.DashboardPopup.RemoveElement
This method should be overrided to remove the DashboardElement the lambda is passed to
RootTableSidebar - Class in networktablesviewer
Holds information about the sidebar
RootTableSidebar(JFrame, WindowContentPane) - Constructor for class networktablesviewer.RootTableSidebar
Constructs sidebar structure
RootTableSidebar.SidebarList - Class in networktablesviewer
Holds information about the sidebar list

S

save() - Method in class networktablesviewer.Settings
Writes current settings to the settings file This function has undefined behavior when the settings file does not exists or is not in the correct format
serverObtain - Variable in class networktablesviewer.Settings
How the application should obtain the NT server IP 0 - use Driver station 1 - use static IP 2 - use team number
Settings - Class in networktablesviewer
Holds user settings for the application
Settings() - Constructor for class networktablesviewer.Settings
 
SettingsDialog - Class in networktablesviewer
This class contains the underlying structure for the settings dialog
SettingsDialog(JFrame, Settings, SettingsDialog.ChangeServer) - Constructor for class networktablesviewer.SettingsDialog
Constructs a new JDialog with radio buttons and input to handle user settings
SettingsDialog.ChangeServer - Interface in networktablesviewer
SAM type lambda for changing NT server IP
setTopic(NetworkAbstraction.TopicValue) - Method in class networktablesviewer.DashboardElement
Updates the topic to a new value
SidebarList() - Constructor for class networktablesviewer.RootTableSidebar.SidebarList
 
squashLatest(ArrayList<NetworkAbstraction.TopicValue>, ArrayList<NetworkAbstraction.TopicValue>) - Static method in class networktablesviewer.NetworkAbstraction
Squashes latest and old TopicValues together Will include any old topics with no new values

T

team - Variable in class networktablesviewer.Settings
The team number stored in settings
TopicValue() - Constructor for class networktablesviewer.NetworkAbstraction.TopicValue
Empty constructor for empty topic Should only be used when value and name will be set afterwards externally
TopicValue(NetworkTableValue, String) - Constructor for class networktablesviewer.NetworkAbstraction.TopicValue
Creates a topic value given a Topic and name

U

updateExists(ArrayList<NetworkAbstraction.TopicValue>) - Method in class networktablesviewer.NetworkAbstraction
Checks to see which Topics are still being published
updateVal(ArrayList<NetworkAbstraction.TopicValue>) - Method in class networktablesviewer.RootTableSidebar
Updates old entries in the list
updateVal(ArrayList<NetworkAbstraction.TopicValue>) - Method in class networktablesviewer.WindowContentPane
Updates the values of existing DashboardElements

V

value - Variable in class networktablesviewer.NetworkAbstraction.TopicValue
value for the topic

W

WindowContentPane - Class in networktablesviewer
Holds underlying structure for the dashboard area
WindowContentPane(JFrame) - Constructor for class networktablesviewer.WindowContentPane
Creates a JPanel for holding DashboardElements
A C D E G I L M N R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form