19 package com.basistech.df.cybertriage.autopsy.ctoptions;
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;
32 @OptionsPanelController.TopLevelRegistration(categoryName =
"#OptionsCategory_Name_CyberTriage",
33 iconBase =
"com/basistech/df/cybertriage/autopsy/images/logo.png",
35 keywords =
"#OptionsCategory_Keywords_CyberTriage",
36 keywordsCategory =
"CyberTriage")
40 private final PropertyChangeSupport
pcs =
new PropertyChangeSupport(
this);
102 pcs.addPropertyChangeListener(l);
107 pcs.removePropertyChangeListener(l);
113 panel.addPropertyChangeListener(
new PropertyChangeListener() {
115 public void propertyChange(PropertyChangeEvent evt) {
116 if (evt.getPropertyName().equals(OptionsPanelController.PROP_CHANGED)) {
128 pcs.firePropertyChange(OptionsPanelController.PROP_CHANGED,
false,
true);
130 pcs.firePropertyChange(OptionsPanelController.PROP_VALID, null, null);
void addPropertyChangeListener(PropertyChangeListener l)
CTOptionsPanel getPanel()
JComponent getComponent(Lookup masterLookup)
final PropertyChangeSupport pcs
void removePropertyChangeListener(PropertyChangeListener l)