All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.apetrelli.gwtintegration.cellview.client.widget.SelectionColumn Maven / Gradle / Ivy

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