Annotation Interface ScrollChoiceValueRetriever


@Retention(RUNTIME) @Target(METHOD) public @interface ScrollChoiceValueRetriever
Marks a method as being responsible for providing the value of a particular value in a scroll choice. Each time a scroll choice item changes, the callback associated with it is called back. In this call-back the menu item and row number are provided. It is then your responsibility to provide the value at that location.
      @ScrollChoiceValueRetriever(id=3)
      public String myScrollChoiceNeedsValue(ScrollChoiceMenuItem item, CurrentScrollPosition position) {
          return "position" + position.getPosition();
      }
 
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Element Details

    • id

      int id