Public Member Functions | |
int | id () |
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(); }