mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 19:14:55 +00:00
7328 add comments to new methods
This commit is contained in:
parent
79fa3d406a
commit
a967a93c78
@ -158,14 +158,33 @@ public final class CheckBoxListPanel<T> extends javax.swing.JPanel {
|
|||||||
titleLabel.setIcon(icon);
|
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) {
|
public void addListSelectionListener(ListSelectionListener listener) {
|
||||||
checkboxList.addListSelectionListener(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) {
|
public void removeListSelectionListener(ListSelectionListener listener) {
|
||||||
checkboxList.removeListSelectionListener(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() {
|
public ListSelectionListener[] getListSelectionListeners() {
|
||||||
return checkboxList.getListSelectionListeners();
|
return checkboxList.getListSelectionListeners();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user