Uses of Interface
org.apache.tapestry5.OptionModel
Packages that use OptionModel
Package
Description
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
[INTERNAL USE ONLY] internal support classes; API subject to change.
[INTERNAL USE ONLY] various utility classes; API subject to change.
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 OptionModelMethods in org.apache.tapestry5 that return types with arguments of type OptionModelModifier and TypeMethodDescriptionOptionGroupModel.getOptions()
The list of options within the group.SelectModel.getOptions()
The list of ungrouped options, which appear after any grouped options.Methods in org.apache.tapestry5 with parameters of type OptionModelModifier and TypeMethodDescriptionvoid
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 OptionModelMethods in org.apache.tapestry5.internal that return OptionModelModifier and TypeMethodDescriptionstatic 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 OptionModelModifier and TypeMethodDescriptionOptionGroupModelImpl.getOptions()
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 OptionModelConstructor parameters in org.apache.tapestry5.internal with type arguments of type OptionModelModifierConstructorDescriptionOptionGroupModelImpl
(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 OptionModelModifier and TypeMethodDescriptionprotected 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 OptionModelModifier and TypeMethodDescriptionEnumSelectModel.getOptions()
Returns the option groups created in the constructor.