程序包 | 说明 |
---|---|
org.opencms.widgets |
Contains the widget implementations, these are GUI elements used in editors and dialogs of the OpenCms workplace.
|
org.opencms.workplace.tools.accounts |
This package contains the tool classes for the account management related administration views.
|
org.opencms.workplace.tools.scheduler |
This package contains the tool classes for the job management related administration views.
|
限定符和类型 | 方法和说明 |
---|---|
static CmsSelectWidgetOption |
CmsSelectWidgetOption.getDefaultOption(java.util.List<CmsSelectWidgetOption> options)
Returns the default option from the given list of select options,
or
null in case there is no default option in the given list. |
static CmsSelectWidgetOption |
A_CmsFormatterWidget.getWidgetOptionForFormatter(CmsObject cms,
I_CmsFormatterBean formatter)
Creates a widget option corresponding to a formatter bean for an external formatter.
|
static CmsSelectWidgetOption |
A_CmsFormatterWidget.getWidgetOptionForType(CmsObject cms,
java.lang.String typeName)
Creates a widget option for a resource type.
|
限定符和类型 | 方法和说明 |
---|---|
static java.util.List<CmsSelectWidgetOption> |
CmsSelectWidgetOption.getDefaultOptions(java.util.List<CmsSelectWidgetOption> options)
Returns a list of default options from the given list of select options.
|
protected java.util.List<CmsSelectWidgetOption> |
CmsRemoveFormatterWidget.getFormatterOptions(CmsObject cms,
CmsADEConfigData config) |
protected java.util.List<CmsSelectWidgetOption> |
CmsAddFormatterWidget.getFormatterOptions(CmsObject cms,
CmsADEConfigData config) |
protected abstract java.util.List<CmsSelectWidgetOption> |
A_CmsFormatterWidget.getFormatterOptions(CmsObject cms,
CmsADEConfigData config)
Gets the options corresponding to external (non-schema) formatters.
|
java.util.List<CmsSelectWidgetOption> |
CmsVfsImageWidgetConfiguration.getSelectFormat()
Returns the list of select options for the format select box, must contain
CmsSelectWidgetOption objects. |
protected java.util.List<CmsSelectWidgetOption> |
A_CmsSelectWidget.getSelectOptions()
Returns the list of configured select options.
|
protected java.util.List<CmsSelectWidgetOption> |
CmsRemoveFormatterWidget.getTypeOptions(CmsObject cms,
CmsADEConfigData adeConfig) |
protected java.util.List<CmsSelectWidgetOption> |
CmsAddFormatterWidget.getTypeOptions(CmsObject cms,
CmsADEConfigData adeConfig) |
protected abstract java.util.List<CmsSelectWidgetOption> |
A_CmsFormatterWidget.getTypeOptions(CmsObject cms,
CmsADEConfigData config)
Gets the options corresponding to the schemas which define formatters.
|
static java.util.List<CmsSelectWidgetOption> |
CmsSelectWidgetOption.parseOptions(java.lang.String input)
Parses a widget configuration String for select option values.
|
protected java.util.List<CmsSelectWidgetOption> |
CmsMultiSelectGroupWidget.parseSelectOptions(CmsObject cms,
CmsMessages messages,
I_CmsWidgetParameter param) |
protected java.util.List<CmsSelectWidgetOption> |
CmsSelectGroupWidget.parseSelectOptions(CmsObject cms,
CmsMessages messages,
I_CmsWidgetParameter param)
Returns the list of configured select options, parsing the configuration String if required.
|
protected java.util.List<CmsSelectWidgetOption> |
CmsMultiSelectGroupWidget.parseSelectOptions(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
protected java.util.List<CmsSelectWidgetOption> |
A_CmsFormatterWidget.parseSelectOptions(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
protected java.util.List<CmsSelectWidgetOption> |
A_CmsSelectWidget.parseSelectOptions(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Returns the list of configured select options, parsing the configuration String if required.
|
protected java.util.List<CmsSelectWidgetOption> |
CmsSelectGroupWidget.parseSelectOptions(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
限定符和类型 | 方法和说明 |
---|---|
void |
A_CmsSelectWidget.addSelectOption(CmsSelectWidgetOption option)
Adds a new select option to this widget.
|
限定符和类型 | 方法和说明 |
---|---|
protected java.lang.String |
CmsCategoryWidget.buildSelectBox(java.lang.String baseId,
int level,
java.util.List<CmsSelectWidgetOption> options,
java.lang.String selected,
boolean hasError,
boolean last)
Generates html code for the category selection.
|
static java.lang.String |
CmsSelectWidgetOption.createConfigurationString(java.util.List<CmsSelectWidgetOption> options)
Returns a select widget configuration String created from the given list of select options.
|
static CmsSelectWidgetOption |
CmsSelectWidgetOption.getDefaultOption(java.util.List<CmsSelectWidgetOption> options)
Returns the default option from the given list of select options,
or
null in case there is no default option in the given list. |
static java.util.List<CmsSelectWidgetOption> |
CmsSelectWidgetOption.getDefaultOptions(java.util.List<CmsSelectWidgetOption> options)
Returns a list of default options from the given list of select options.
|
java.util.List<java.lang.String> |
I_CmsImageWidgetDynamicConfiguration.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.
|
protected java.lang.String |
CmsVfsImageWidget.getSelectedValue(CmsObject cms,
java.util.List<CmsSelectWidgetOption> selectOptions,
java.lang.String currentValue)
Returns the currently selected value of the select widget.
|
protected void |
A_CmsSelectWidget.setSelectOptions(java.util.List<CmsSelectWidgetOption> selectOptions)
Sets the list of configured select options.
|
构造器和说明 |
---|
A_CmsSelectWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a select widget with the select options specified in the given configuration List.
|
CmsComboWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a combo widget with the select options specified in the given configuration List.
|
CmsMultiSelectWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a select widget with the select options specified in the given configuration List.
|
CmsMultiSelectWidget(java.util.List<CmsSelectWidgetOption> configuration,
boolean asCheckboxes)
Creates a select widget with the select options specified in the given configuration List.
|
CmsRadioSelectWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a select widget with the select options specified in the given configuration List.
|
CmsSelectOnChangeReloadWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a select widget with the select options specified in the given configuration List.
|
CmsSelectWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a select widget with the select options specified in the given configuration List.
|
限定符和类型 | 方法和说明 |
---|---|
protected java.util.List<CmsSelectWidgetOption> |
A_CmsUserDataImexportDialog.getSelectRoles()
Returns the role names to show in the select box.
|
限定符和类型 | 方法和说明 |
---|---|
protected java.util.List<CmsSelectWidgetOption> |
CmsEditScheduledJobInfoDialog.getComboClasses()
Returns the example cron class names to show in the combo box.
|
protected java.util.List<CmsSelectWidgetOption> |
CmsEditScheduledJobInfoDialog.getComboCronExpressions()
Returns the example cron expressions to show in the combo box.
|