ViewValue

public class ViewValue implements ValueInterface<Map>

Constructors

ViewValue

public ViewValue(Map item, String labelCol, String valueCol)

Methods

fromCollection

public static List<ValueInterface> fromCollection(List<Map> data, String colKey, String valueKey)

Take list of maps and prepares them for use as values on a spinner.

Parameters:
  • data

getItem

public Map getItem()

getLabel

public String getLabel()

getValue

public String getValue()

toString

public String toString()