Examples of removePropertyChangeListener()


Examples of org.openstreetmap.josm.gui.conflict.pair.nodes.NodeListMergeModel.removePropertyChangeListener()

            public void propertyChange(PropertyChangeEvent evt) {
            }
        };

        model.addPropertyChangeListener(listener);
        model.removePropertyChangeListener(listener);

        List<PropertyChangeListener> listeners = field("listeners")
        .ofType(List.class)
        .in(model)
        .get();
View Full Code Here

Examples of org.openstreetmap.josm.gui.conflict.pair.tags.TagMergeModel.removePropertyChangeListener()

            public void propertyChange(PropertyChangeEvent evt) {
            }
        };
        model.addPropertyChangeListener(listener);
        model.removePropertyChangeListener(listener);

        List<?> list = field("listeners")
        .ofType(List.class)
        .in(model)
        .get();
View Full Code Here

Examples of org.pentaho.reporting.designer.core.ReportDesignerContext.removePropertyChangeListener()

  public void setReportDesignerContext(final ReportDesignerContext newContext)
  {
    final ReportDesignerContext oldContext = arrayCellEditor.getReportDesignerContext();
    if (oldContext != null)
    {
      oldContext.removePropertyChangeListener(this.changeHandler);
      final ReportDocumentContext oldActiveContext = getReportRenderContext();
      updateActiveContext(oldActiveContext, null);
    }

    arrayCellEditor.setReportDesignerContext(newContext);
View Full Code Here

Examples of org.springframework.binding.form.ValidatingFormModel.removePropertyChangeListener()

    formModel.addPropertyChangeListener(ValidatingFormModel.VALIDATING_PROPERTY, formModelPropertyChangeListener);
  }

  public void unregisterFormModelPropertyChangeListener() {
    ValidatingFormModel formModel = getFormModel();
    formModel.removePropertyChangeListener(FormModel.COMMITTABLE_PROPERTY, formModelPropertyChangeListener);
    formModel.removePropertyChangeListener(FormModel.DIRTY_PROPERTY, formModelPropertyChangeListener);
    formModel.removePropertyChangeListener(FormModel.ENABLED_PROPERTY, formModelPropertyChangeListener);
    formModel.removePropertyChangeListener(FormModel.READONLY_PROPERTY, formModelPropertyChangeListener);
    formModel
        .removePropertyChangeListener(ValidatingFormModel.VALIDATING_PROPERTY, formModelPropertyChangeListener);
View Full Code Here

Examples of penny.download.AbstractDownload.removePropertyChangeListener()

            }
            AbstractDownload d = new Download(new URL(url));
            d.addPropertyChangeListener(this);
            downloader.setDownload(d);
            downloader.download();
            d.removePropertyChangeListener(this);
        }
        for (String url : ftp) {
            class Download extends AbstractDownload {

                Download(URL url) {
View Full Code Here

Examples of penny.downloadmanager.model.db.Download.removePropertyChangeListener()

                case ListEvent.DELETE:
                    changeList.getReadWriteLock().readLock().lock();
                    Download d1 = (Download) listChanges.getOldValue();
                    changeList.getReadWriteLock().readLock().unlock();

                    d1.removePropertyChangeListener(this);
                    md5ValuesMap.remove(d1);
                    linkStateValuesMap.remove(d1);

                    if (saveDelete) {
                        dao.deleteDownload(d1.getId());
View Full Code Here

Examples of penny.downloadmanager.model.task.TaskData.removePropertyChangeListener()

                switch (changeType) {
                    case ListEvent.DELETE:
                        changeList.getReadWriteLock().readLock().lock();
                        TaskData t1 = (TaskData) listChanges.getOldValue();
                        changeList.getReadWriteLock().readLock().unlock();
                        t1.removePropertyChangeListener(this);
                        saveList();
                        break;
                    case ListEvent.INSERT:
                        changeList.getReadWriteLock().readLock().lock();
                        TaskData t2 = (TaskData) changeList.get(sourceIndex);
View Full Code Here

Examples of research.tool.Tool.removePropertyChangeListener()

        if (!actions.contains(toolAction))
            return;

        Tool tool = (Tool) toolAction.getValue(ToolAction.TOOL);
        if (tool != null) {
            tool.removePropertyChangeListener(Tool.TOOL_DONE, toolPropertyChangeListener);
        }

        actions.remove(toolAction);
        toolAction.removePropertyChangeListener(toolActionPropertyChangeListener);
View Full Code Here

Examples of sun.awt.AppContext.removePropertyChangeListener()

        if (disposer != null) {
            // Note that we're likely calling removePropertyChangeListener()
            // during the course of AppContext.firePropertyChange().
            // However, EventListenerAggreggate has code to safely modify
            // the list under such circumstances.
            context.removePropertyChangeListener(AppContext.GUI_DISPOSED,
                                                 disposer);
            disposer = null;
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.