Package | Description |
---|---|
net.sf.mmm.client.ui.api.widget |
Contains the API for widgets.
|
net.sf.mmm.client.ui.base.widget.factory |
Contains the API and default implementations of factories for widgets.
|
net.sf.mmm.util.lang.api |
Provides the API for utilities of general purpose.
|
net.sf.mmm.util.lang.base |
Contains the basic implementation of the Util Lang API.
|
Modifier and Type | Method and Description |
---|---|
<VALUE> UiWidgetComboboxField<VALUE> |
UiWidgetFactory.createComboBox(String label,
EnumDefinition<VALUE,?> enumDefinition)
This method creates a new
UiWidgetComboboxField . |
Modifier and Type | Method and Description |
---|---|
<VALUE> UiWidgetComboboxField<VALUE> |
UiWidgetFactoryImpl.createComboBox(String label,
EnumDefinition<VALUE,?> enumDefinition)
This method creates a new
UiWidgetComboboxField . |
Modifier and Type | Method and Description |
---|---|
EnumDefinition<CATEGORY,?> |
EnumDefinition.getCategory() |
<TYPE> EnumDefinition<TYPE,?> |
EnumProvider.getEnumDefinition(Class<TYPE> enumType)
This method gets the
EnumDefinition with the given enumType . |
EnumDefinition<?,?> |
EnumProvider.getEnumDefinition(String key)
This method gets the
EnumDefinition with the given key . |
<CATEGORY,ENUM extends EnumTypeWithCategory<?,CATEGORY>> |
EnumProvider.getEnumDefinitionWithCategory(Class<? extends ENUM> enumType)
This method gets the
EnumDefinition with the given enumType . |
Modifier and Type | Method and Description |
---|---|
Iterator<EnumDefinition<?,?>> |
EnumProvider.getEnumDefinitions()
This method gets an (unmodifiable)
Iterator with all existing EnumDefinition s. |
Iterator<EnumDefinition<?,?>> |
EnumProvider.iterator()
The same as
EnumProvider.getEnumDefinitions() . |
Modifier and Type | Method and Description |
---|---|
void |
EnumProvider.clear(EnumDefinition<?,?> enumDefinition)
This method clears the (potentially) cached
enum values of the given
EnumDefinition . |
<ENUM> ENUM |
EnumProvider.getEnumValue(EnumDefinition<ENUM,?> enumDefinition,
String value,
boolean required)
|
<ENUM> List<ENUM> |
EnumProvider.getEnumValues(EnumDefinition<ENUM,?> enumDefinition)
This method gets the
List of EnumType -instances that represent the values of the given
EnumDefinition . |
<CATEGORY,ENUM extends EnumTypeWithCategory<?,CATEGORY>> |
EnumProvider.getEnumValues(EnumDefinition<ENUM,CATEGORY> enumDefinition,
CATEGORY... categories)
|
boolean |
EnumProvider.isAvailable(EnumDefinition<?,?> enumDefinition)
This method determines if the given
EnumDefinition is available, so it is ensured that the
enum values can be retrieved. |
void |
EnumProvider.require(EnumDefinition<?,?>... enumDefinitions)
This method triggers that the given
EnumDefinition s are available . |
void |
EnumProvider.require(Runnable callback,
EnumDefinition<?,?>... enumDefinitions)
This method triggers that the given
EnumDefinition s are available . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEnumDefinition<TYPE,CATEGORY>
This class implements
EnumDefinition for a java Enum . |
class |
AbstractSimpleEnumDefinition<TYPE>
This is the abstract base implementation of
EnumDefinition with no category and a
static set of enum values . |
class |
BooleanEnumDefinition
This is the default
EnumDefinition for the type Boolean . |
class |
EnumEnumDefinition<TYPE extends Enum<TYPE>,CATEGORY>
This class implements
EnumDefinition for a java Enum . |
Modifier and Type | Field and Description |
---|---|
private EnumDefinition<CATEGORY,?> |
EnumEnumDefinition.category |
private EnumDefinition<?,?> |
AbstractEnumProvider.EnumContainer.enumDefinition |
Modifier and Type | Method and Description |
---|---|
protected EnumDefinition<?,?> |
AbstractEnumProvider.EnumDefinitionIterator.findNext() |
EnumDefinition<CATEGORY,?> |
EnumEnumDefinition.getCategory() |
EnumDefinition<Void,?> |
AbstractSimpleEnumDefinition.getCategory() |
EnumDefinition<?,?> |
AbstractEnumProvider.EnumContainer.getEnumDefinition() |
<TYPE> EnumDefinition<TYPE,?> |
AbstractEnumProvider.getEnumDefinition(Class<TYPE> enumType) |
EnumDefinition<?,?> |
AbstractEnumProvider.getEnumDefinition(String key) |
<CATEGORY,ENUM extends EnumTypeWithCategory<?,CATEGORY>> |
AbstractEnumProvider.getEnumDefinitionWithCategory(Class<? extends ENUM> enumType) |
Modifier and Type | Method and Description |
---|---|
Iterator<EnumDefinition<?,?>> |
AbstractEnumProvider.getEnumDefinitions() |
Iterator<EnumDefinition<?,?>> |
AbstractEnumProvider.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractEnumProvider.clear(EnumDefinition<?,?> enumDefinition) |
<ENUM> ENUM |
AbstractEnumProvider.getEnumValue(EnumDefinition<ENUM,?> enumDefinition,
String value,
boolean required) |
<ENUM> List<ENUM> |
AbstractEnumProvider.getEnumValues(EnumDefinition<ENUM,?> enumDefinition) |
<CATEGORY,ENUM extends EnumTypeWithCategory<?,CATEGORY>> |
AbstractEnumProvider.getEnumValues(EnumDefinition<ENUM,CATEGORY> enumDefinition,
CATEGORY... categories) |
boolean |
AbstractEnumProvider.isAvailable(EnumDefinition<?,?> enumDefinition) |
void |
AbstractEnumProvider.require(EnumDefinition<?,?>... enumDefinitions) |
void |
SimpleEnumProvider.require(Runnable callback,
EnumDefinition<?,?>... enumDefinitions) |
void |
AbstractEnumProviderSynchronous.require(Runnable callback,
EnumDefinition<?,?>... enumDefinitions) |
Constructor and Description |
---|
EnumContainer(EnumDefinition<?,?> enumDefinition)
The constructor.
|
EnumEnumDefinition(Class<TYPE> enumType,
EnumDefinition<CATEGORY,?> category,
StringUtil stringUtil)
The constructor.
|
EnumEnumDefinition(Class<TYPE> enumType,
NodeCycle<Class<?>> cycle,
EnumDefinition<CATEGORY,?> category,
StringUtil stringUtil)
The constructor.
|
Copyright © 2001–2016 mmm-Team. All rights reserved.