7329 fix comments

This commit is contained in:
William Schaefer 2021-03-19 13:16:06 -04:00
parent a967a93c78
commit c65fd75e85

View File

@ -25,6 +25,7 @@ import javax.swing.JCheckBox;
import javax.swing.JLabel; import javax.swing.JLabel;
import javax.swing.event.ListSelectionListener; import javax.swing.event.ListSelectionListener;
import org.sleuthkit.autopsy.coreutils.ThreadConfined; import org.sleuthkit.autopsy.coreutils.ThreadConfined;
/** /**
* Abstract class extending JPanel for filter controls. * Abstract class extending JPanel for filter controls.
*/ */
@ -62,9 +63,19 @@ abstract class AbstractDiscoveryFilterPanel extends javax.swing.JPanel {
@ThreadConfined(type = ThreadConfined.ThreadType.AWT) @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
abstract ListSelectionListener[] getListSelectionListeners(); abstract ListSelectionListener[] getListSelectionListeners();
/**
* Add a list selection listener to the filter list in this panel
*
* @param listener The list selection listener to add.
*/
@ThreadConfined(type = ThreadConfined.ThreadType.AWT) @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
abstract void addListSelectionListener(ListSelectionListener listener); abstract void addListSelectionListener(ListSelectionListener listener);
/**
* Remove a list selection listener to the filter list in this panel
*
* @param listener The list selection listener to remove.
*/
@ThreadConfined(type = ThreadConfined.ThreadType.AWT) @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
abstract void removeListSelectionListener(ListSelectionListener listener); abstract void removeListSelectionListener(ListSelectionListener listener);
@ -123,7 +134,7 @@ abstract class AbstractDiscoveryFilterPanel extends javax.swing.JPanel {
} }
} }
/* /*
* Should be overridden if a list is present and have something allong * Should be overridden if a list is present and have something along
* the lines of the following added after a call to the super. * the lines of the following added after a call to the super.
* *
* if (list != null) { for (ListSelectionListener listener : * if (list != null) { for (ListSelectionListener listener :
@ -137,10 +148,6 @@ abstract class AbstractDiscoveryFilterPanel extends javax.swing.JPanel {
*/ */
abstract boolean isFilterSupported(); abstract boolean isFilterSupported();
/**
*
*/
/** /**
* Return whether or not this filter has a panel. * Return whether or not this filter has a panel.
* *