|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_CmsImageWidgetDynamicConfiguration
Enables a dynamic configuration of values for the CmsVfsImageWidget
.
The following values can be configured dynamically:
Method Summary | |
---|---|
List<String> |
getFormatValues(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param,
List<CmsSelectWidgetOption> selectFormat,
List<String> formatValues)
Returns the matching format values for the given format select options. |
String |
getStartup(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Returns the required information for the initial image list to load. |
String |
getType(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Returns the type of the initial image list to load, either gallery or category. |
Method Detail |
---|
List<String> getFormatValues(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param, List<CmsSelectWidgetOption> selectFormat, List<String> formatValues)
A format value should look like this:
cms
- an initialized instance of a CmsObjectwidgetDialog
- the dialog where the widget is used onparam
- the widget parameter to generate the widget forselectFormat
- the list of format select options (CmsSelectWidgetOption
) for the widgetformatValues
- the list of predefined format values for the widget
String getStartup(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
If a gallery should be shown, the path to the gallery must be specified, for a category the category path.
cms
- an initialized instance of a CmsObjectwidgetDialog
- the dialog where the widget is used onparam
- the widget parameter to generate the widget for
String getType(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
cms
- an initialized instance of a CmsObjectwidgetDialog
- the dialog where the widget is used onparam
- the widget parameter to generate the widget for
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |