Module gomint.api

Interface Dropdown


  • public interface Dropdown
    Version:
    1.0
    Author:
    geNAZt
    • Method Detail

      • addOption

        Dropdown addOption​(String option)
        Add a new option
        Parameters:
        option - to add
        Returns:
        dropdown instance for chaining
      • addOption

        Dropdown addOption​(String option,
                           boolean defaultOption)
        Add a new option with the option to select this as default
        Parameters:
        option - to add
        defaultOption - true when this should be default, false when not
        Returns:
        dropdown instance for chaining