19 package org.sleuthkit.autopsy.modules.hashdatabase;
21 import java.beans.PropertyChangeEvent;
22 import java.beans.PropertyChangeListener;
23 import java.beans.PropertyChangeSupport;
24 import javax.swing.JComponent;
25 import org.netbeans.spi.options.OptionsPanelController;
26 import org.openide.util.HelpCtx;
27 import org.openide.util.Lookup;
30 @OptionsPanelController.TopLevelRegistration(
31 categoryName =
"#OptionsCategory_Name_HashDatabase",
32 iconBase =
"org/sleuthkit/autopsy/modules/hashdatabase/options_icon.png",
34 keywords =
"#OptionsCategory_Keywords_HashDatabase",
35 keywordsCategory =
"HashDatabase",
42 private final PropertyChangeSupport
pcs =
new PropertyChangeSupport(
this);
109 pcs.addPropertyChangeListener(l);
114 pcs.removePropertyChangeListener(l);
120 panel.addPropertyChangeListener(
new PropertyChangeListener() {
122 public void propertyChange(PropertyChangeEvent evt) {
123 if (evt.getPropertyName().equals(OptionsPanelController.PROP_CHANGED)) {
136 pcs.firePropertyChange(OptionsPanelController.PROP_CHANGED,
false,
true);
139 pcs.firePropertyChange(OptionsPanelController.PROP_VALID, null, null);
void addPropertyChangeListener(PropertyChangeListener l)
HashLookupSettingsPanel getPanel()
JComponent getComponent(Lookup masterLookup)
static final Logger logger
final PropertyChangeSupport pcs
HashLookupSettingsPanel panel
synchronized static Logger getLogger(String name)
void removePropertyChangeListener(PropertyChangeListener l)