Klasse PropertyChangeSupport

java.lang.Object
org.jupnp.internal.compat.java.beans.PropertyChangeSupport

public class PropertyChangeSupport extends Object
This class is a simple implementation of java.beans.PropertyChangeSupport to be able to run jUPnP on JavaSE Embedded 8 compact 2 profile. It is functional compatible to java.beans for the needed functionalities of jUPnP, with only a limited set of functions. It will only support to fire old/new value, no filtering per property, event will be fired to ALL registered listeners.
Autor:
Jochen Hiller - Initial contribution
Siehe auch:
  • Konstruktordetails

    • PropertyChangeSupport

      public PropertyChangeSupport(Object source)
  • Methodendetails

    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener listener)
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener listener)
    • firePropertyChange

      public void firePropertyChange(String propertyName, Object oldValue, Object newValue)
      Fire an event for property changed. It will be fired when
      • oldValue == null
      • newValue == null
      • !oldValue.equals(newValue)
      The property name will be put to event, but NOT used for filtering to listeners. All listeners will be called synchronously. The order is not guaranteed. As the event is immutable, the same event will be fired to all listeners.