Package java.beans

Examples of java.beans.PropertyChangeSupport.firePropertyChange()


            try {
          Field listenerField = obj.getClass().getField("qq_Listeners");
          PropertyChangeSupport propertyChangeSupport = (PropertyChangeSupport)listenerField.get(obj);
          String propertyName = FrameworkUtils.getPropertyName(field.getName());
          if (propertyChangeSupport != null && propertyChangeSupport.hasListeners(propertyName)) {
            propertyChangeSupport.firePropertyChange(propertyName, null, value);
          }
        } catch (Exception e) {
          // Ignore the exception if the qq_Listeners is not found
        }
        }
View Full Code Here


            field.setAccessible(true);
            PropertyChangeSupport propertyChangeSupport = (PropertyChangeSupport)field.get(propertyChangeHolder);
            if (propertyChangeSupport != null) {

              // if there is data then fire a Property Change to force a re-binding
              propertyChangeSupport.firePropertyChange(getPropertyNameForComponent(jComponent), null, data);
            }
          } catch (Exception e) {
            // ignore the error, no listener
          }
        } else {
View Full Code Here

                                        Object newValue) {
        PropertyChangeSupport aChangeSupport = this.changeSupport;
        if (aChangeSupport == null) {
            return;
        }
        aChangeSupport.firePropertyChange(propertyName, oldValue, newValue);
    }


    /**
     * Support for reporting bound property changes for Object properties.
View Full Code Here

                                        boolean newValue) {
        PropertyChangeSupport aChangeSupport = this.changeSupport;
        if (aChangeSupport == null) {
            return;
        }
        aChangeSupport.firePropertyChange(propertyName, oldValue, newValue);
    }


    /**
     * Support for reporting bound property changes for integer properties.
View Full Code Here

                                        int newValue) {
        PropertyChangeSupport aChangeSupport = this.changeSupport;
        if (aChangeSupport == null) {
            return;
        }
        aChangeSupport.firePropertyChange(propertyName, oldValue, newValue);
    }


    /**
     * Support for reporting bound property changes for integer properties.
View Full Code Here

            field.setAccessible(true);
            PropertyChangeSupport propertyChangeSupport = (PropertyChangeSupport)field.get(propertyChangeHolder);
            if (propertyChangeSupport != null) {

              // if there is data then fire a Property Change to force a re-binding
              propertyChangeSupport.firePropertyChange(getPropertyNameForComponent(jComponent), null, data);
            }
          } catch (Exception e) {
            // ignore the error, no listener
          }
        } else {
View Full Code Here

                                        Object newValue) {
        PropertyChangeSupport aChangeSupport = this.changeSupport;
        if (aChangeSupport == null) {
            return;
        }
        aChangeSupport.firePropertyChange(propertyName, oldValue, newValue);
    }


    /**
     * Support for reporting bound property changes for Object properties.
View Full Code Here

                                        boolean newValue) {
        PropertyChangeSupport aChangeSupport = this.changeSupport;
        if (aChangeSupport == null) {
            return;
        }
        aChangeSupport.firePropertyChange(propertyName, oldValue, newValue);
    }


    /**
     * Support for reporting bound property changes for integer properties.
View Full Code Here

                                        int newValue) {
        PropertyChangeSupport aChangeSupport = this.changeSupport;
        if (aChangeSupport == null) {
            return;
        }
        aChangeSupport.firePropertyChange(propertyName, oldValue, newValue);
    }


    /**
     * Support for reporting bound property changes for integer properties.
View Full Code Here

                                        Object newValue) {
        PropertyChangeSupport aChangeSupport = this.changeSupport;
        if (aChangeSupport == null) {
            return;
        }
        aChangeSupport.firePropertyChange(propertyName, oldValue, newValue);
    }


    /**
     * Support for reporting bound property changes for Object properties.
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.