From a967a93c78fdcd62d66948190ed2dc2ab5284045 Mon Sep 17 00:00:00 2001 From: William Schaefer Date: Fri, 19 Mar 2021 13:10:48 -0400 Subject: [PATCH] 7328 add comments to new methods --- .../autopsy/guiutils/CheckBoxListPanel.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Core/src/org/sleuthkit/autopsy/guiutils/CheckBoxListPanel.java b/Core/src/org/sleuthkit/autopsy/guiutils/CheckBoxListPanel.java index 350693c422..55174ed387 100755 --- a/Core/src/org/sleuthkit/autopsy/guiutils/CheckBoxListPanel.java +++ b/Core/src/org/sleuthkit/autopsy/guiutils/CheckBoxListPanel.java @@ -158,14 +158,33 @@ public final class CheckBoxListPanel extends javax.swing.JPanel { titleLabel.setIcon(icon); } + /** + * Add a list selection listener to the checkbox list contained in this + * panel. + * + * @param listener The list selection listener to add. + */ public void addListSelectionListener(ListSelectionListener listener) { checkboxList.addListSelectionListener(listener); } + /** + * Remove a list selection listener to the checkbox list contained in this + * panel. + * + * @param listener The list selection listener to remove. + */ public void removeListSelectionListener(ListSelectionListener listener) { checkboxList.removeListSelectionListener(listener); } + /** + * Get all list selection listeners which exist for the list contained in + * this panel. + * + * @return The array of list selection listeners which are on the list + * currently. + */ public ListSelectionListener[] getListSelectionListeners() { return checkboxList.getListSelectionListeners(); }