com.github.fluorumlabs.disconnect.vaadin.GridProEditSelect 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;
import com.github.fluorumlabs.disconnect.core.annotations.WebComponent;
import com.github.fluorumlabs.disconnect.vaadin.elements.GridProEditSelectElement;
import com.github.fluorumlabs.disconnect.zero.component.AbstractComponent;
import com.github.fluorumlabs.disconnect.zero.component.Component;
import com.github.fluorumlabs.disconnect.zero.component.HasComponents;
import com.github.fluorumlabs.disconnect.zero.component.HasStyle;
import javax.annotation.Nullable;
/**
* The cell editor select element.
*
* Styling
* See
* <vaadin-select>
documentation
* for <vaadin-grid-pro-edit-select>
parts.
*
* See
* ThemableMixin – how to apply styles for shadow parts
*/
@WebComponent
public class GridProEditSelect extends AbstractComponent
implements HasStyle, HasComponents> {
public GridProEditSelect() {
super(GridProEditSelectElement.TAGNAME());
}
@Nullable
public String[] options() {
return getNode().getOptions();
}
public GridProEditSelect options(String... options) {
getNode().setOptions(options);
return this;
}
}