@Override public String toString() { return member + " <-> " + viewComponentToString(); }
/** * Gets the value of the field to be set into the component. * * @param parentObject the parent object * @return the field's value */ protected Object getModelValue(Object parentObject) { try { Object modelValue = parentObject == null ? null : member.getObject(parentObject); LOGGER.fine(() -> viewComponentToString() + " <- " + member + " = " + StringHelper.objectToLoggableString(modelValue) + (parentObject == null ? "\n(some) object reference was null, " + viewComponentToString() + " not changed" : "")); return modelValue; } catch (BindingException ex) { // improve exception message throw new BindingException(member + ": " + ex.getLocalizedMessage(), ex); } }
LOGGER.fine(() -> member + " <- " + viewComponentToString() + " = " + StringHelper.objectToLoggableString(value)); LOGGER.fine(() -> { String msg = "veto for value " + StringHelper.objectToLoggableString(value) + " from " + viewComponentToString() + " to " + member; if (veto.getMessage() != null) {
LOGGER.fine(() -> { String msg = "veto for value " + StringHelper.objectToLoggableString(value) + " from " + member + " to " + viewComponentToString(); if (veto.getMessage() != null) { msg += ": " + veto.getMessage();