com.github.fluorumlabs.disconnect.vaadin.dataproviders.GridDataProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of disconnect-vaadin Show documentation
Show all versions of disconnect-vaadin Show documentation
Vaadin components bindings for Disconnect Zero
The newest version!
package com.github.fluorumlabs.disconnect.vaadin.dataproviders;
import com.github.fluorumlabs.disconnect.vaadin.types.Filter;
import com.github.fluorumlabs.disconnect.vaadin.types.SortOrder;
import js.lang.Any;
import js.util.collections.Array;
import org.teavm.jso.JSFunctor;
import org.teavm.jso.JSProperty;
import javax.annotation.Nullable;
/**
* Created by Artem Godin on 2/4/2020.
*/
@JSFunctor
@FunctionalInterface
public interface GridDataProvider- extends Any {
void provide(Params params, DataProviderCallback
- callback);
interface Params
- extends Any {
@JSProperty
int getPage();
@JSProperty
int getPageSize();
@JSProperty
Array
getFilters();
@JSProperty
Array getSortOrders();
@Nullable
@JSProperty
ITEM getParentItem();
}
}