com.github.fluorumlabs.disconnect.vaadin.mixins.HasArrayDataProviderMixin 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.mixins;
import com.github.fluorumlabs.disconnect.vaadin.elements.mixins.ArrayDataProviderMixin;
import com.github.fluorumlabs.disconnect.zero.component.Component;
import js.lang.Any;
import js.util.collections.Array;
import javax.annotation.Nullable;
public interface HasArrayDataProviderMixin- ,
T extends Component
>
extends Component {
/**
* An array containing the items which will be stamped to the column template
* instances.
*/
@Nullable
default Array- items() {
return getNode().getItems();
}
/**
* An array containing the items which will be stamped to the column template
* instances.
*/
default T items(ITEM... items) {
getNode().setItems(items);
return (T) this;
}
/**
* An array containing the items which will be stamped to the column template
* instances.
*/
default T items(Array
- items) {
getNode().setItems(items);
return (T) this;
}
}