diff options
author | Ben Burwell <ben.burwell@trifecta.com> | 2016-11-19 23:13:49 -0500 |
---|---|---|
committer | Ben Burwell <ben.burwell@trifecta.com> | 2016-11-19 23:13:49 -0500 |
commit | c893302e307b6471b8c3c7f57f46b6c92e7a55ef (patch) | |
tree | a18a86ed230a0a3cabbdb51c7cf418d8987de7f3 /src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java | |
parent | a448320cc4661f9304a8323d6c0e05f1f0fee2b3 (diff) |
Refactor tabbing
Diffstat (limited to 'src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java')
-rw-r--r-- | src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java b/src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java index 1ad7e3e..1238873 100644 --- a/src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java +++ b/src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java @@ -2,14 +2,15 @@ package com.benburwell.planes.gui.navigationaids; import com.benburwell.planes.data.CSVObjectStore; import com.benburwell.planes.data.NavigationAid; -import com.benburwell.planes.gui.ViewComponent; +import com.benburwell.planes.gui.Tabbable; +import com.benburwell.planes.gui.airportstable.NavigationAidsTableModel; import javax.swing.*; /** * Created by ben on 11/19/16. */ -public class NavigationAidComponent implements ViewComponent { +public class NavigationAidComponent implements Tabbable { private JTable table; private NavigationAidsTableModel tableModel; private JScrollPane scrollPane; @@ -25,4 +26,9 @@ public class NavigationAidComponent implements ViewComponent { public JComponent getComponent() { return this.scrollPane; } + + @Override + public String getName() { + return "Navigation Aids"; + } } |