Class EnumRadioFetcher<T>
java.lang.Object
io.micronaut.views.fields.fetchers.EnumRadioFetcher<T>
- Type Parameters:
T
- Field type.
- All Implemented Interfaces:
RadioFetcher<T>
RadioFetcher
implementation for Enums.- Since:
- 4.1.0
- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
EnumRadioFetcher
public EnumRadioFetcher()
-
-
Method Details
-
generate
- Specified by:
generate
in interfaceRadioFetcher<T>
- Parameters:
type
- The Field Type- Returns:
- A list of Radio buttons
-
generate
- Specified by:
generate
in interfaceRadioFetcher<T>
- Parameters:
instance
- The Field instance- Returns:
- A list of Radio buttons
-