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

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

The newest version!
package com.github.apetrelli.gwtintegration.cellview.client.widget;

import com.google.gwt.cell.client.FieldUpdater;
import com.google.gwt.view.client.SelectionModel;

public class SelectionFieldUpdater implements FieldUpdater {

	private SelectionModel selectionModel;

	public SelectionFieldUpdater(SelectionModel selectionModel) {
		this.selectionModel = selectionModel;
	}

	@Override
	public void update(int index, T object, Boolean value) {
		selectionModel.setSelected(object, value);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy