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

com.github.fluorumlabs.disconnect.vaadin.renderers.CellRenderer Maven / Gradle / Ivy

The newest version!
package com.github.fluorumlabs.disconnect.vaadin.renderers;

import com.github.fluorumlabs.disconnect.vaadin.elements.GridColumnElement;
import js.lang.Any;
import org.teavm.jso.JSFunctor;
import org.teavm.jso.JSProperty;

/**
 * Created by Artem Godin on 2/4/2020.
 */
@JSFunctor
@FunctionalInterface
public interface CellRenderer extends Any {
	void render(GridColumnElement column, RowData rowData);

	interface RowData extends Any {
		@JSProperty
		int getIndex();

		@JSProperty
		ITEM getItem();

		@JSProperty
		boolean getExpanded();

		@JSProperty
		int getLevel();

		@JSProperty
		boolean getSelected();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy