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
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractOptionModel
Base class for implementing
OptionModel . |
Modifier and Type | Method and Description |
---|---|
List<OptionModel> |
SelectModel.getOptions()
The list of ungrouped options, which appear after any grouped options.
|
List<OptionModel> |
OptionGroupModel.getOptions()
The list of options within the group.
|
Modifier and Type | Method and Description |
---|---|
void |
SelectModelVisitor.option(OptionModel optionModel)
Invoked for each option within a group, and at the end, for each ungrouped option.
|
Modifier and Type | Class and Description |
---|---|
class |
OptionModelImpl |
Modifier and Type | Method and Description |
---|---|
static OptionModel |
TapestryInternalUtils.toOptionModel(Map.Entry input)
Converts a map entry to an
OptionModel . |
static OptionModel |
TapestryInternalUtils.toOptionModel(Object input)
Converts an object to an
OptionModel . |
static OptionModel |
TapestryInternalUtils.toOptionModel(String input)
Converts a string to an
OptionModel . |
Modifier and Type | Method and Description |
---|---|
List<OptionModel> |
OptionGroupModelImpl.getOptions() |
List<OptionModel> |
SelectModelImpl.getOptions() |
static <E> List<OptionModel> |
TapestryInternalUtils.toOptionModels(List<E> input)
Processes a list input into a series of objects compatible with
TapestryInternalUtils.toOptionModel(Object) . |
static <K,V> List<OptionModel> |
TapestryInternalUtils.toOptionModels(Map<K,V> input)
Processes a map input into a series of map entries compatible with
TapestryInternalUtils.toOptionModel(Map.Entry) . |
static List<OptionModel> |
TapestryInternalUtils.toOptionModels(String input)
Parses a string input into a series of value=label pairs compatible with
TapestryInternalUtils.toOptionModel(String) . |
Constructor and Description |
---|
SelectModelImpl(OptionModel... optionModels) |
Constructor and Description |
---|
OptionGroupModelImpl(String label,
boolean disabled,
List<OptionModel> options,
Map<String,String> attributes) |
OptionGroupModelImpl(String label,
boolean disabled,
List<OptionModel> options,
String... attributeKeysAndValues) |
SelectModelImpl(List<OptionGroupModel> optionGroups,
List<OptionModel> optionModels) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SelectModelRenderer.isOptionSelected(OptionModel optionModel,
String clientValue)
If true, then the selected attribute will be written.
|
void |
SelectModelRenderer.option(OptionModel optionModel) |
Modifier and Type | Method and Description |
---|---|
List<OptionModel> |
EnumSelectModel.getOptions()
Returns the option groups created in the constructor.
|
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.