Uses of Interface
org.apache.tapestry5.OptionModel
-
Packages that use OptionModel Package Description org.apache.tapestry5 Root package for Tapestry, containing common interfaces and data types used throughout the framework.org.apache.tapestry5.internal [INTERNAL USE ONLY] internal support classes; API subject to change.org.apache.tapestry5.internal.util [INTERNAL USE ONLY] various utility classes; API subject to change.org.apache.tapestry5.util A set of enums, abstract classs and wrappers of various purposes -
-
Uses of OptionModel in org.apache.tapestry5
Classes in org.apache.tapestry5 that implement OptionModel Modifier and Type Class Description class
AbstractOptionModel
Base class for implementingOptionModel
.Methods in org.apache.tapestry5 that return types with arguments of type OptionModel Modifier and Type Method Description List<OptionModel>
OptionGroupModel. getOptions()
The list of options within the group.List<OptionModel>
SelectModel. getOptions()
The list of ungrouped options, which appear after any grouped options.Methods in org.apache.tapestry5 with parameters of type OptionModel Modifier and Type Method Description void
SelectModelVisitor. option(OptionModel optionModel)
Invoked for each option within a group, and at the end, for each ungrouped option. -
Uses of OptionModel in org.apache.tapestry5.internal
Classes in org.apache.tapestry5.internal that implement OptionModel Modifier and Type Class Description class
OptionModelImpl
Methods in org.apache.tapestry5.internal that return OptionModel Modifier and Type Method Description static OptionModel
TapestryInternalUtils. toOptionModel(Object input)
Converts an object to anOptionModel
.static OptionModel
TapestryInternalUtils. toOptionModel(String input)
Converts a string to anOptionModel
.static OptionModel
TapestryInternalUtils. toOptionModel(Map.Entry input)
Converts a map entry to anOptionModel
.Methods in org.apache.tapestry5.internal that return types with arguments of type OptionModel Modifier and Type Method Description List<OptionModel>
OptionGroupModelImpl. getOptions()
List<OptionModel>
SelectModelImpl. getOptions()
static List<OptionModel>
TapestryInternalUtils. toOptionModels(String input)
Parses a string input into a series of value=label pairs compatible withTapestryInternalUtils.toOptionModel(String)
.static <E> List<OptionModel>
TapestryInternalUtils. toOptionModels(List<E> input)
Processes a list input into a series of objects compatible withTapestryInternalUtils.toOptionModel(Object)
.static <K,V>
List<OptionModel>TapestryInternalUtils. toOptionModels(Map<K,V> input)
Processes a map input into a series of map entries compatible withTapestryInternalUtils.toOptionModel(Map.Entry)
.Constructors in org.apache.tapestry5.internal with parameters of type OptionModel Constructor Description SelectModelImpl(OptionModel... optionModels)
Constructor parameters in org.apache.tapestry5.internal with type arguments of type OptionModel Constructor Description OptionGroupModelImpl(String label, boolean disabled, List<OptionModel> options, String... attributeKeysAndValues)
OptionGroupModelImpl(String label, boolean disabled, List<OptionModel> options, Map<String,String> attributes)
-
Uses of OptionModel in org.apache.tapestry5.internal.util
Methods in org.apache.tapestry5.internal.util with parameters of type OptionModel Modifier and Type Method Description protected boolean
SelectModelRenderer. isOptionSelected(OptionModel optionModel, String clientValue)
If true, then the selected attribute will be written.void
SelectModelRenderer. option(OptionModel optionModel)
-
Uses of OptionModel in org.apache.tapestry5.util
Methods in org.apache.tapestry5.util that return types with arguments of type OptionModel Modifier and Type Method Description List<OptionModel>
EnumSelectModel. getOptions()
Returns the option groups created in the constructor.
-