Example usage for java.beans PropertyChangeListener interface-usage

List of usage examples for java.beans PropertyChangeListener interface-usage

Introduction

In this page you can find the example usage for java.beans PropertyChangeListener interface-usage.

Usage

From source file Main.java

class AbstractButtonPropertyChangeListener implements PropertyChangeListener {

    public void propertyChange(PropertyChangeEvent e) {
        String propertyName = e.getPropertyName();
        System.out.println("Property Name: " + propertyName);
        if (e.getPropertyName().equals(AbstractButton.TEXT_CHANGED_PROPERTY)) {

From source file org.jbb.lib.properties.UpdateFilePropertyChangeListener.java

class UpdateFilePropertyChangeListener implements PropertyChangeListener {
    private final Set<String> propFiles;

    public UpdateFilePropertyChangeListener(JbbPropertyFilesResolver resolver,
            Class<? extends ModuleStaticProperties> clazz) {
        this.propFiles = resolver.resolvePropertyFileNames(clazz);

From source file Main.java

class LabelAccessory extends JLabel implements PropertyChangeListener {

    public LabelAccessory(JFileChooser chooser) {
        chooser.addPropertyChangeListener(this);
        setPreferredSize(new Dimension(100, 100));
    }

From source file MainClass.java

class LabelAccessory extends JLabel implements PropertyChangeListener {

    public LabelAccessory(JFileChooser chooser) {
        chooser.addPropertyChangeListener(this);
        setPreferredSize(new Dimension(100, 100));
    }

From source file MainClass.java

class InternalFramePropertyChangeHandler implements PropertyChangeListener {
    public void propertyChange(PropertyChangeEvent propertyChangeEvent) {
        String propertyName = propertyChangeEvent.getPropertyName();
        if (propertyName.equals(JInternalFrame.IS_ICON_PROPERTY)) {
            System.out.println("Icon property changed. React.");
        }

From source file FormatterFactoryDemo.java

/**
 * FormatterFactoryDemo.java requires no other files.
 */
public class FormatterFactoryDemo extends JPanel implements PropertyChangeListener {
    // Values for the text fields
    private double amount = 100000;

From source file com.webcrawler.manager.impl.ProcessManagerImpl.java

/**
 *
 * @author jose
 */
@Service("processManager")
public class ProcessManagerImpl implements ProcessManager, PropertyChangeListener {

From source file com.eviware.soapui.support.ModelItemPropertyEditorModel.java

public class ModelItemPropertyEditorModel<T extends ModelItem> extends AbstractEditorModel
        implements PropertyChangeListener {
    private T modelItem;
    private String propertyName;

    public ModelItemPropertyEditorModel(T modelItem, String propertyName) {

From source file org.jfree.chart.demo.DrawStringDemo.java

public class DrawStringDemo extends ApplicationFrame implements ActionListener, PropertyChangeListener {

    private static final long serialVersionUID = 1L;

    private JComboBox combo1;
    private JComboBox combo2;

From source file org.lunifera.runtime.common.state.impl.GlobalDataState.java

/**
 * Responsible to cache changed objects.
 */
public class GlobalDataState extends DataState implements PropertyChangeListener {

    private static final Logger LOGGER = LoggerFactory.getLogger(GlobalDataState.class);