public interface I_CmsImageWidgetDynamicConfiguration
CmsVfsImageWidget
.The following values can be configured dynamically:
限定符和类型 | 方法和说明 |
---|---|
java.util.List<java.lang.String> |
getFormatValues(CmsObject cms,
CmsMessages widgetDialog,
I_CmsWidgetParameter param,
java.util.List<CmsSelectWidgetOption> selectFormat,
java.util.List<java.lang.String> formatValues)
Returns the matching format values for the given format select options.
|
java.lang.String |
getStartup(CmsObject cms,
CmsMessages widgetDialog,
I_CmsWidgetParameter param)
Returns the required information for the initial image list to load.
|
java.lang.String |
getType(CmsObject cms,
CmsMessages widgetDialog,
I_CmsWidgetParameter param)
Returns the type of the initial image list to load, either gallery or category.
|
java.util.List<java.lang.String> getFormatValues(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, java.util.List<CmsSelectWidgetOption> selectFormat, java.util.List<java.lang.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 widgetjava.lang.String getStartup(CmsObject cms, CmsMessages 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 forjava.lang.String getType(CmsObject cms, CmsMessages 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