Uses of Class
com.vaadin.flow.component.checkbox.Switch

Packages that use Switch
Package
Description
 
  • Uses of Switch in com.vaadin.flow.component.checkbox

    Constructor parameters in com.vaadin.flow.component.checkbox with type arguments of type Switch
    Modifier
    Constructor
    Description
     
    Switch(boolean initialValue, com.vaadin.flow.component.HasValue.ValueChangeListener<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<Switch,Boolean>> listener)
    Constructs a switch with the initial value and value change listener.
     
    Switch(String labelText, boolean initialValue, com.vaadin.flow.component.HasValue.ValueChangeListener<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<Switch,Boolean>> listener)
    Constructs a switch with the initial value, label text and value change listener.
     
    Switch(String label, com.vaadin.flow.component.HasValue.ValueChangeListener<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<Switch,Boolean>> listener)
    Constructs a switch with the initial label text and value change listener.