com.github.mvysny.kaributesting.v10.groovy.CheckboxGroupUtils.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of karibu-testing-v10-groovy Show documentation
Show all versions of karibu-testing-v10-groovy Show documentation
Karibu Testing, support for browserless Vaadin testing in Kotlin
package com.github.mvysny.kaributesting.v10.groovy
import com.github.mvysny.kaributesting.v10.CheckboxGroupKt
import com.vaadin.flow.component.checkbox.CheckboxGroup
import groovy.transform.CompileStatic
import org.jetbrains.annotations.NotNull
/**
* A set of basic extension methods for CheckboxGroup.
* @author mavi
*/
@CompileStatic
class CheckboxGroupUtils {
/**
* Fetches renderings of items currently displayed in the list box component.
*/
@NotNull
static List getRenderedItems(@NotNull CheckboxGroup self) {
CheckboxGroupKt.getItemLabels(self)
}
}