com.vaadin.flow.component.radiobutton.testbench.

Class RadioButtonElement

    • Constructor Detail

      • RadioButtonElement

        public RadioButtonElement()
    • Method Detail

      • getItem

        public String getItem()

        Gets the item (visible text) of the radio button.

        Returns:

        the text of the radio button

      • getValue

        public String getValue()

        Gets the value of the radio button.

        Returns:

        the value

      • setChecked

        public void setChecked(boolean checked)

        Sets whether the radio button is checked.

        Parameters:

        checked - true to check the radio button, false to uncheck it