com.hp.lft.sdk.mobile

Interface DropDown

    • Method Detail

      • select

        void select(int... indices)
                    throws GeneralLeanFtException
        Selects the specified item or items by index. Multiple indexes are supported only for iOS. For an iOS picker wheel, you can pass an index for each wheel.
        For an Android drop-down, pass only one index in the array.
        Parameters:
        indices - The 0-based indexes of the items to select.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • select

        void select(String... items)
                    throws GeneralLeanFtException
        Selects the specified items by name from the corresponding picker wheel's list of values (iOS only).
        Parameters:
        items - the names of the items to select in each wheel.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • selectInWheel

        void selectInWheel(int pickerWheel,
                         int index)
                           throws GeneralLeanFtException
        Selects the specified item in the specified picker wheel by index (iOS only).
        Parameters:
        pickerWheel - the 0-based index of the picker wheel in which to select the specified item.
        index - the 0-based index of the item to select in the specified picker wheel.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • selectInWheel

        void selectInWheel(int pickerWheel,
                         String item)
                           throws GeneralLeanFtException
        Selects the specified item by name in the picker (iOS only).
        Parameters:
        pickerWheel - the 0-based index of the picker wheel in which to select the specified item.
        item - the name of the item to select in the picker wheel.
        Throws:
        GeneralLeanFtException - if error occurs during execution