public class MapChoiceRenderer extends Object implements IChoiceRenderer<String>
Constructor and Description |
---|
MapChoiceRenderer(Map<String,String> map) |
Modifier and Type | Method and Description |
---|---|
Object |
getDisplayValue(String key) |
String |
getIdValue(String key,
int index) |
String |
getObject(String id,
IModel<? extends List<? extends String>> choices) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
detach
public Object getDisplayValue(String key)
getDisplayValue
in interface IChoiceRenderer<String>
public String getIdValue(String key, int index)
getIdValue
in interface IChoiceRenderer<String>
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.