org.tynamo.util
Class GenericSelectionModel<T>

java.lang.Object
  extended by org.apache.tapestry5.util.AbstractSelectModel
      extended by org.tynamo.util.GenericSelectionModel<T>
All Implemented Interfaces:
org.apache.tapestry5.SelectModel

public class GenericSelectionModel<T>
extends org.apache.tapestry5.util.AbstractSelectModel


Constructor Summary
GenericSelectionModel(List<T> list)
           
GenericSelectionModel(List<T> list, String labelField, org.apache.tapestry5.ioc.services.PropertyAccess adapter)
           
 
Method Summary
 List<org.apache.tapestry5.OptionGroupModel> getOptionGroups()
           
 List<org.apache.tapestry5.OptionModel> getOptions()
           
 
Methods inherited from class org.apache.tapestry5.util.AbstractSelectModel
visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericSelectionModel

public GenericSelectionModel(List<T> list)

GenericSelectionModel

public GenericSelectionModel(List<T> list,
                             String labelField,
                             org.apache.tapestry5.ioc.services.PropertyAccess adapter)
Method Detail

getOptionGroups

public List<org.apache.tapestry5.OptionGroupModel> getOptionGroups()

getOptions

public List<org.apache.tapestry5.OptionModel> getOptions()


Copyright © 2004-2009. All Rights Reserved.