Code example for PropertyChangeEvent

Methods: getNewValuegetOldValuegetPropagationIdgetPropertyNamegetSource

0
		super(source, propertyName, oldValue, newValue);
	} 
 
	@SuppressWarnings("unchecked") 
	public GenericPropertyChangeEvent(final PropertyChangeEvent propertyChangeEvent) {
		this(propertyChangeEvent.getSource(),
				propertyChangeEvent.getPropertyName(),
				(V)propertyChangeEvent.getOldValue(),
				(V)propertyChangeEvent.getNewValue());
		setPropagationId(propertyChangeEvent.getPropagationId());
	} 
 
	@SuppressWarnings("unchecked") 
	public V getOldValue() { 
		return (V)super.getOldValue(); 
	} 
 
	@SuppressWarnings("unchecked") 
	public V getNewValue() { 
		return (V)super.getNewValue(); 
Contextual code suggestions in your IDE  Get Codota for Java