org.apache.tapestry5.internal
Class SelectModelImpl

java.lang.Object
  extended by org.apache.tapestry5.util.AbstractSelectModel
      extended by org.apache.tapestry5.internal.SelectModelImpl
All Implemented Interfaces:
SelectModel

public final class SelectModelImpl
extends AbstractSelectModel


Constructor Summary
SelectModelImpl(List<OptionGroupModel> optionGroups, List<OptionModel> optionModels)
           
SelectModelImpl(OptionGroupModel... groupModels)
           
SelectModelImpl(OptionModel... optionModels)
           
 
Method Summary
 List<OptionGroupModel> getOptionGroups()
          The list of groups, each containing some number of individual options.
 List<OptionModel> getOptions()
          The list of ungrouped options, which appear after any grouped options.
 
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

SelectModelImpl

public SelectModelImpl(List<OptionGroupModel> optionGroups,
                       List<OptionModel> optionModels)

SelectModelImpl

public SelectModelImpl(OptionModel... optionModels)

SelectModelImpl

public SelectModelImpl(OptionGroupModel... groupModels)
Method Detail

getOptionGroups

public List<OptionGroupModel> getOptionGroups()
Description copied from interface: SelectModel
The list of groups, each containing some number of individual options.

Returns:
the groups, or null

getOptions

public List<OptionModel> getOptions()
Description copied from interface: SelectModel
The list of ungrouped options, which appear after any grouped options. Generally, a model will either provide option groups or ungrouped options, but not both.

Returns:
the ungrouped options, or null


Copyright © 2003-2012 The Apache Software Foundation.