Go to the documentation of this file.
19package org.sleuthkit.autopsy.discovery.ui;
21import javax.swing.DefaultListModel;
22import javax.swing.event.ListSelectionListener;
23import org.sleuthkit.autopsy.coreutils.ThreadConfined;
24import org.sleuthkit.autopsy.discovery.search.DiscoveryEventUtils;
33 private final DefaultListModel<DomainWrapper>
domainListModel =
new DefaultListModel<>();
57 @SuppressWarnings(
"unchecked")
64 setLayout(
new java.awt.BorderLayout());
67 domainList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
68 domainList.setCellRenderer(
new DomainSummaryPanel());
98 void sendPopulateEvent() {
101 domain = domainListModel.getElementAt(domainList.getSelectedIndex()).getResultDomain().getDomain();
113 @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
114 void addListSelectionListener(ListSelectionListener listener) {
115 domainList.getSelectionModel().addListSelectionListener(listener);
static EventBus getDiscoveryEventBus()
static final long serialVersionUID
javax.swing.JList< DomainWrapper > domainList
javax.swing.JScrollPane domainScrollPane
final DefaultListModel< DomainWrapper > domainListModel
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.