19package org.sleuthkit.autopsy.discovery.ui;
23import javax.swing.JPanel;
24import javax.swing.JPopupMenu;
25import javax.swing.event.ListSelectionListener;
26import org.sleuthkit.autopsy.coreutils.ThreadConfined;
27import org.sleuthkit.datamodel.BlackboardArtifact;
33abstract class AbstractArtifactListPanel
extends JPanel {
35 private static final long serialVersionUID = 1L;
43 @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
44 abstract
void addMouseListener(java.awt.event.MouseAdapter mouseListener);
52 abstract
void showPopupMenu(JPopupMenu popupMenu, Point point);
61 @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
62 abstract BlackboardArtifact getSelectedArtifact();
71 @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
72 abstract
boolean selectAtPoint(Point point);
80 @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
81 abstract
void addArtifacts(List<BlackboardArtifact> artifactList);
88 @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
89 abstract
void removeSelectionListener(ListSelectionListener listener);
97 @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
98 abstract
void addSelectionListener(ListSelectionListener listener);
104 @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
105 abstract
void selectFirst();
110 @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
111 abstract
void clearList();
119 @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
120 abstract
boolean isEmpty();