Class DefaultFD2ItemProvider
- java.lang.Object
-
- de.xima.fc.web.common.fd2.provider.DefaultFD2ItemProvider
-
- All Implemented Interfaces:
IFD2XItemProvider
,Serializable
public class DefaultFD2ItemProvider extends Object implements IFD2XItemProvider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultFD2ItemProvider(Mandant client, Locale locale)
A new item provider for the given client and locale.DefaultFD2ItemProvider(IFormRenderContext renderCtx)
A new item provider for the given render context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<XItemPropertyDesc>
getAvailableProperties(IXItemBasic item, Locale locale)
LinkedHashMap<String,Class<? extends IXItemBasic>>
getItems()
LinkedHashMap<String,XItemWidgetWrapper>
getWidgets()
-
-
-
Constructor Detail
-
DefaultFD2ItemProvider
public DefaultFD2ItemProvider(IFormRenderContext renderCtx)
A new item provider for the given render context.- Parameters:
renderCtx
- Render context with the client and locale to use when retrieving widget plugins.
-
-
Method Detail
-
getAvailableProperties
public Iterable<XItemPropertyDesc> getAvailableProperties(IXItemBasic item, Locale locale)
- Specified by:
getAvailableProperties
in interfaceIFD2XItemProvider
-
getWidgets
public LinkedHashMap<String,XItemWidgetWrapper> getWidgets()
- Specified by:
getWidgets
in interfaceIFD2XItemProvider
-
getItems
public LinkedHashMap<String,Class<? extends IXItemBasic>> getItems()
- Specified by:
getItems
in interfaceIFD2XItemProvider
-
-