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);
106 pcs.addPropertyChangeListener(l);
111 pcs.removePropertyChangeListener(l);
117 panel.addPropertyChangeListener(
new PropertyChangeListener() {
119 public void propertyChange(PropertyChangeEvent evt) {
120 if (evt.getPropertyName().equals(OptionsPanelController.PROP_CHANGED)) {
133 pcs.firePropertyChange(OptionsPanelController.PROP_CHANGED,
false,
true);
136 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)