
com.github.apetrelli.gwtintegration.cellview.client.widget.SelectionColumn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwt-integration-cellview Show documentation
Show all versions of gwt-integration-cellview Show documentation
Additional code to ease development of Cell-based widgets.
The newest version!
package com.github.apetrelli.gwtintegration.cellview.client.widget;
import com.google.gwt.cell.client.Cell;
import com.google.gwt.user.cellview.client.Column;
import com.google.gwt.view.client.SelectionModel;
public class SelectionColumn extends Column {
private SelectionModel selectionModel;
public SelectionColumn(Cell cell, SelectionModel selectionModel) {
super(cell);
this.selectionModel = selectionModel;
}
@Override
public Boolean getValue(T object) {
return selectionModel.isSelected(object);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy