Interface Spinner.SpinnerDataBindMapping

  • Enclosing class:
    Spinner

    public static interface Spinner.SpinnerDataBindMapping
    Translates between spinner and bind context data during data binding.
    • Method Detail

      • toSpinnerData

        List<?> toSpinnerData​(java.lang.Object value)
        Converts a context value to spinner data during a Component.load(Object) operation.
        Parameters:
        value - The value retrieved from the user context.
        Returns:
        That object converted to a list.
      • valueOf

        java.lang.Object valueOf​(List<?> spinnerData)
        Converts spinner data to a context value during a Component.store(Object) operation.
        Parameters:
        spinnerData - The spinner data list.
        Returns:
        This list converted to data that can be stored in the user context.