Skip to content

Commit b07121c

Browse files
javier-godoypaodb
authored andcommitted
refactor: use HasValueAndElement instead of HasValue
Close #192
1 parent 75fca4c commit b07121c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGrid.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import com.vaadin.flow.component.HasSize;
2929
import com.vaadin.flow.component.HasValue;
3030
import com.vaadin.flow.component.HasValue.ValueChangeEvent;
31+
import com.vaadin.flow.component.HasValueAndElement;
3132
import com.vaadin.flow.component.ItemLabelGenerator;
3233
import com.vaadin.flow.component.button.Button;
3334
import com.vaadin.flow.component.dependency.CssImport;
@@ -78,7 +79,7 @@
7879
@CssImport(value = "./styles/twin-col-grid-button.css")
7980
@CssImport(value = "./styles/twincol-grid.css")
8081
public class TwinColGrid<T> extends VerticalLayout
81-
implements HasValue<ValueChangeEvent<Set<T>>, Set<T>>, HasComponents, HasSize {
82+
implements HasValueAndElement<ValueChangeEvent<Set<T>>, Set<T>>, HasComponents, HasSize {
8283

8384
private static final class TwinColModel<T> implements Serializable {
8485
final Grid<T> grid;

0 commit comments

Comments
 (0)