|
@@ -33,10 +33,14 @@ import javax.swing.JLabel;
|
33
|
33
|
import javax.swing.JPanel;
|
34
|
34
|
import javax.swing.JTextField;
|
35
|
35
|
|
|
36
|
+import lombok.AutoGenMethodStub;
|
|
37
|
+
|
36
|
38
|
import net.miginfocom.swing.MigLayout;
|
37
|
39
|
|
38
|
40
|
/** Gathers input for a group list search and begins the search. */
|
39
|
|
-public class SearchTermsPanel extends JPanel implements ActionListener, GroupListObserver {
|
|
41
|
+@AutoGenMethodStub
|
|
42
|
+public class SearchTermsPanel extends JPanel implements ActionListener,
|
|
43
|
+ GroupListObserver {
|
40
|
44
|
|
41
|
45
|
/** Serial version UID. */
|
42
|
46
|
private static final long serialVersionUID = 1L;
|
|
@@ -63,6 +67,7 @@ public class SearchTermsPanel extends JPanel implements ActionListener, GroupLis
|
63
|
67
|
private void layoutComponents() {
|
64
|
68
|
search = new JButton("Search");
|
65
|
69
|
search.addActionListener(this);
|
|
70
|
+ searchTerms.addActionListener(this);
|
66
|
71
|
setLayout(new MigLayout("fill, hidemode 3, ins 0"));
|
67
|
72
|
add(new JLabel("Search terms: "), "align label");
|
68
|
73
|
add(searchTerms, "growx, pushx");
|
|
@@ -80,12 +85,6 @@ public class SearchTermsPanel extends JPanel implements ActionListener, GroupLis
|
80
|
85
|
search.setEnabled(false);
|
81
|
86
|
}
|
82
|
87
|
|
83
|
|
- /** {@inheritDoc} */
|
84
|
|
- @Override
|
85
|
|
- public void onGroupListStarted() {
|
86
|
|
- //Ignore
|
87
|
|
- }
|
88
|
|
-
|
89
|
88
|
/** {@inheritDoc} */
|
90
|
89
|
@Override
|
91
|
90
|
public void onGroupListFinished() {
|