19 package org.sleuthkit.autopsy.ingest;
21 import java.beans.PropertyChangeEvent;
22 import java.beans.PropertyChangeListener;
23 import java.beans.PropertyChangeSupport;
24 import javax.swing.JComponent;
25 import javax.swing.SwingUtilities;
26 import org.netbeans.spi.options.OptionsPanelController;
27 import org.openide.util.HelpCtx;
28 import org.openide.util.Lookup;
30 @OptionsPanelController.TopLevelRegistration(
31 categoryName =
"#OptionsCategory_Name_IngestOptions",
32 iconBase =
"org/sleuthkit/autopsy/images/file_ingest_filter32x32.png",
34 keywords =
"#OptionsCategory_Keywords_IngestOptions",
35 keywordsCategory =
"IngestOptions")
40 private final PropertyChangeSupport
pcs =
new PropertyChangeSupport(
this);
59 public void propertyChange(PropertyChangeEvent evt) {
60 if (evt.getPropertyName().equals(OptionsPanelController.PROP_CHANGED)) {
72 SwingUtilities.invokeLater(
new Runnable() {
109 pcs.addPropertyChangeListener(pl);
114 pcs.removePropertyChangeListener(pl);
120 pcs.firePropertyChange(OptionsPanelController.PROP_CHANGED,
false,
true);
122 pcs.firePropertyChange(OptionsPanelController.PROP_VALID, null, null);
void removePropertyChangeListener(PropertyChangeListener pl)
IngestOptionsPanel getPanel()
void addPropertyChangeListener(PropertyChangeListener l)
final PropertyChangeSupport pcs
JComponent getComponent(Lookup lkp)
void addPropertyChangeListener(PropertyChangeListener pl)