19 package org.sleuthkit.autopsy.corecomponents;
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(categoryName =
"#OptionsCategory_Name_General",
31 iconBase =
"org/sleuthkit/autopsy/corecomponents/checkbox32.png",
33 keywords =
"#OptionsCategory_Keywords_General",
34 keywordsCategory =
"General")
37 private AutopsyOptionsPanel
panel;
38 private final PropertyChangeSupport
pcs =
new PropertyChangeSupport(
this);
101 pcs.addPropertyChangeListener(l);
106 pcs.removePropertyChangeListener(l);
111 panel =
new AutopsyOptionsPanel();
112 panel.addPropertyChangeListener(
new PropertyChangeListener() {
114 public void propertyChange(PropertyChangeEvent evt) {
115 if (evt.getPropertyName().equals(OptionsPanelController.PROP_CHANGED)) {
127 pcs.firePropertyChange(OptionsPanelController.PROP_CHANGED,
false,
true);
129 pcs.firePropertyChange(OptionsPanelController.PROP_VALID, null, null);
JComponent getComponent(Lookup masterLookup)
void removePropertyChangeListener(PropertyChangeListener l)
AutopsyOptionsPanel getPanel()
synchronized static Logger getLogger(String name)
void addPropertyChangeListener(PropertyChangeListener l)
static final Logger logger
final PropertyChangeSupport pcs
AutopsyOptionsPanel panel