Class CheckBoxes


  • public final class CheckBoxes
    extends Object
    High-level wrapper to define a checkbox input. High level API's are not optimized. A definition of an element may interact with the browser to understand the structure of the DOM.
    • Method Detail

      • checkBoxWithLabel

        public static CheckBox checkBoxWithLabel​(String labelText)
        input of type "checkbox" with a label
        Parameters:
        labelText - - the text in the label
        Returns:
        a high level instance of CheckBox
      • checkboxForInput

        public static CheckBox checkboxForInput​(Path inputEl,
                                                String name)
        input of type "checkbox" for a specific input element
        Parameters:
        inputEl - - the input element
        name - - an optional name
        Returns:
        a high level instance of CheckBox
      • checkBoxWithProperties

        public static CheckBox checkBoxWithProperties​(ElementProperty... props)
        input of type "checkbox" with the given properties
        Parameters:
        props - properties of the checkbox
        Returns:
        a high level instance of CheckBox