br.com.arsmachina.tapestrycrud.selectmodel
Class SimpleSelectModel

java.lang.Object
  extended by org.apache.tapestry5.util.AbstractSelectModel
      extended by br.com.arsmachina.tapestrycrud.selectmodel.SimpleSelectModel
All Implemented Interfaces:
SelectModel

public class SimpleSelectModel
extends AbstractSelectModel

Simple SelectModel implementation. It doesnt't provide any OptionGroupModel.

Author:
Thiago H. de Paula Figueiredo

Constructor Summary
SimpleSelectModel(List<OptionModel> optionModels)
          Single constructor of this class.
 
Method Summary
 List<OptionGroupModel> getOptionGroups()
           
 List<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

SimpleSelectModel

public SimpleSelectModel(List<OptionModel> optionModels)
Single constructor of this class.

Parameters:
optionModels - a List of OptionModels. It cannot be null.
Method Detail

getOptionGroups

public List<OptionGroupModel> getOptionGroups()
See Also:
org.apache.tapestry.SelectModel#getOptionGroups()

getOptions

public List<OptionModel> getOptions()
See Also:
org.apache.tapestry.SelectModel#getOptions()


Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.