Code example for PropertyChangeEvent

Methods: getPropertyName, getSource

0
    } 
 
    @Override 
    public String toString() {
        return new ToStringBuilder(this)
                .append("source", event.getSource().getClass().getName())
                .append("property", event.getPropertyName())
//                .append("undoValue", event.getOldValue()) 
//                .append("redoValue", event.getNewValue()) 
                .toString(); 
    } 
 
}