|
||||||
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 | |
---|---|
java.util.List |
getFormatValues(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param,
java.util.List selectFormat,
java.util.List formatValues)
Returns the matching format values for the given format select options. |
java.lang.String |
getStartup(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Returns the required information for the initial image list to load. |
java.lang.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 |
---|
java.util.List getFormatValues(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param, java.util.List selectFormat, java.util.List 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
java.lang.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
java.lang.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 |