public class SelectItemsBuilder extends Object
Map.| Constructor and Description | 
|---|
| SelectItemsBuilder() | 
| Modifier and Type | Method and Description | 
|---|---|
| SelectItemsBuilder | add(Object value,
   String label) | 
| SelectItem[] | build() | 
| List<SelectItem> | buildList() | 
| static List<SelectItem> | fromMap(Map<?,?> map)Builds a  ListofSelectItems from the givenMapargument. | 
public SelectItemsBuilder add(Object value, String label)
public SelectItem[] build()
public List<SelectItem> buildList()
public static List<SelectItem> fromMap(Map<?,?> map)
List of SelectItems from the given Map argument.map - the MapList of SelectItems having the map's value as value and the map's key as label.Copyright © 2012–2020 OmniFaces. All rights reserved.