19 package org.sleuthkit.autopsy.discovery.ui;
21 import java.awt.Point;
22 import java.util.List;
23 import javax.swing.JPanel;
24 import javax.swing.JPopupMenu;
25 import javax.swing.event.ListSelectionListener;
33 abstract 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();