org.chenillekit.tapestry.core.models
Class GenericMultipleSelectModel<T>
java.lang.Object
org.apache.tapestry5.util.AbstractSelectModel
org.chenillekit.tapestry.core.models.GenericMultipleSelectModel<T>
- All Implemented Interfaces:
- SelectModel, MultipleValueEncoder<T>
public class GenericMultipleSelectModel<T>
- extends AbstractSelectModel
- implements MultipleValueEncoder<T>
- Version:
- $Id: GenericMultipleSelectModel.java 670 2010-07-19 09:22:02Z mlusetti $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericMultipleSelectModel
public GenericMultipleSelectModel(List<T> selectables,
Class clasz,
String labelPropertyName,
String valuePropertyName,
PropertyAccess access)
getOptionGroups
public List<OptionGroupModel> getOptionGroups()
- Specified by:
getOptionGroups in interface SelectModel
getOptions
public List<OptionModel> getOptions()
- Specified by:
getOptions in interface SelectModel
toClient
public String toClient(T obj)
- Specified by:
toClient in interface MultipleValueEncoder<T>
toValue
public List<T> toValue(String[] strings)
- Specified by:
toValue in interface MultipleValueEncoder<T>
Copyright © 2008-2010 ChenilleKit. All Rights Reserved.