Class RadioButtonLocator<V>

java.lang.Object
com.vaadin.browserless.locator.Locator<com.vaadin.flow.component.radiobutton.RadioButton<V>,RadioButtonLocator<V>>
com.vaadin.flow.component.radiobutton.RadioButtonLocator<V>
All Implemented Interfaces:
Clickable<com.vaadin.flow.component.radiobutton.RadioButton<V>>

@Generated("com.vaadin.browserless.locator.processor.LocatorProcessor") public class RadioButtonLocator<V> extends Locator<com.vaadin.flow.component.radiobutton.RadioButton<V>,RadioButtonLocator<V>> implements Clickable<com.vaadin.flow.component.radiobutton.RadioButton<V>>
Generated locator for RadioButton, derived from RadioButtonTester. Filter steps are inherited from Locator; action methods delegate to a fresh tester around the resolved component, so behavioral changes belong on the tester, not here.
  • Constructor Details

    • RadioButtonLocator

      public RadioButtonLocator(Class<V> vType)
    • RadioButtonLocator

      public RadioButtonLocator(com.vaadin.flow.component.radiobutton.RadioButton<V> component)
  • Method Details

    • getComponent

      public com.vaadin.flow.component.radiobutton.RadioButton<V> getComponent()
      Description copied from interface: Clickable
      Gets the component being tested.
      Specified by:
      getComponent in interface Clickable<V>
      Returns:
      the component under test
    • ensureComponentIsUsable

      public void ensureComponentIsUsable()
      Description copied from interface: Clickable
      Ensures the component is in a usable state before interaction.
      Specified by:
      ensureComponentIsUsable in interface Clickable<V>
    • click

      public void click()
      If the component is usable, send click to component as if it was from the client. Checkbox status changes from unchecked to checked or vice versa. Javadoc copied from RadioButtonTester.click().
      Specified by:
      click in interface Clickable<V>