List of usage examples for com.vaadin.ui AbstractField equals
@Override public boolean equals(Object obj)
From source file:org.eclipse.hawkbit.ui.common.CommonDialogWindow.java
License:Open Source License
private static Object getCurrentValue(final Component currentChangedComponent, final Object newValue, final AbstractField<?> field) { Object currentValue = field.getValue(); if (field instanceof Table) { currentValue = ((Table) field).getContainerDataSource().getItemIds(); }/*w w w . j a v a 2s. com*/ if (field.equals(currentChangedComponent)) { currentValue = newValue; } return currentValue; }