|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.widgets.A_CmsWidget
org.opencms.widgets.A_CmsSelectWidget
org.opencms.widgets.CmsComboWidget
org.opencms.widgets.CmsTypeComboWidget
public class CmsTypeComboWidget
A widget for selecting resource types which are direct editable.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.opencms.widgets.A_CmsWidget |
|---|
A_CmsWidget.CmsDummyWidgetDialog |
| Field Summary |
|---|
| Fields inherited from class org.opencms.widgets.A_CmsSelectWidget |
|---|
CONFIGURATION_HEIGHT |
| Fields inherited from class org.opencms.widgets.A_CmsWidget |
|---|
HELP_POSTFIX, LABEL_PREFIX |
| Constructor Summary | |
|---|---|
CmsTypeComboWidget()
Default constructor. |
|
CmsTypeComboWidget(java.lang.String config)
Constructor with a configuration parameter. |
|
| Method Summary | |
|---|---|
java.lang.String |
getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale)
Returns the configuration string for the ADE content editor widget. |
java.util.List<java.lang.String> |
getCssResourceLinks(CmsObject cms)
Returns a list of CSS resources required by the widget. |
java.lang.String |
getInitCall()
Returns the java script initialization call. |
java.util.List<java.lang.String> |
getJavaScriptResourceLinks(CmsObject cms)
Returns a list of java script resources required by the widget. |
boolean |
isInternal()
Returns if this is an internal widget. |
I_CmsWidget |
newInstance()
Creates a duplicate of this widget instance. |
void |
setConfiguration(java.lang.String config)
Sets the configuration of this widget. |
| Methods inherited from class org.opencms.widgets.CmsComboWidget |
|---|
getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogWidget, getWidgetName |
| Methods inherited from class org.opencms.widgets.A_CmsSelectWidget |
|---|
addSelectOption, getConfiguration, getHeight, getSelectedValue, getSelectedValues, getSelectOptions, parseSelectOptions, setSelectOptions |
| Methods inherited from class org.opencms.widgets.A_CmsWidget |
|---|
equals, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, setEditorValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opencms.widgets.I_CmsWidget |
|---|
getDialogInitMethod, getHelpBubble, getHelpText, getWidgetStringValue, setEditorValue |
| Constructor Detail |
|---|
public CmsTypeComboWidget()
public CmsTypeComboWidget(java.lang.String config)
config - the configuration string| Method Detail |
|---|
public java.lang.String getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale)
I_CmsADEWidget
getConfiguration in interface I_CmsADEWidgetgetConfiguration in class A_CmsSelectWidgetcms - the OpenCms contextschemaType - the schema typemessages - the messagesresource - the edited resourcecontentLocale - the content locale
I_CmsADEWidget.getConfiguration(org.opencms.file.CmsObject, org.opencms.xml.types.A_CmsXmlContentValue, org.opencms.i18n.CmsMessages, org.opencms.file.CmsResource, java.util.Locale)public java.util.List<java.lang.String> getCssResourceLinks(CmsObject cms)
A_CmsSelectWidget
getCssResourceLinks in interface I_CmsADEWidgetgetCssResourceLinks in class A_CmsSelectWidgetcms - the current OpenCms context
I_CmsADEWidget.getCssResourceLinks(org.opencms.file.CmsObject)public java.lang.String getInitCall()
A_CmsSelectWidget
getInitCall in interface I_CmsADEWidgetgetInitCall in class A_CmsSelectWidgetI_CmsADEWidget.getInitCall()public java.util.List<java.lang.String> getJavaScriptResourceLinks(CmsObject cms)
A_CmsSelectWidget
getJavaScriptResourceLinks in interface I_CmsADEWidgetgetJavaScriptResourceLinks in class A_CmsSelectWidgetcms - the current OpenCms context
I_CmsADEWidget.getJavaScriptResourceLinks(org.opencms.file.CmsObject)public boolean isInternal()
A_CmsSelectWidgetOnly widgets belonging to the OpenCms core should be marked as internal.
isInternal in interface I_CmsADEWidgetisInternal in class A_CmsSelectWidgettrue if this is an internal widgetI_CmsADEWidget.isInternal()public I_CmsWidget newInstance()
I_CmsWidget
newInstance in interface I_CmsWidgetnewInstance in class CmsComboWidgetI_CmsWidget.newInstance()public void setConfiguration(java.lang.String config)
I_CmsWidgetThis can be used to enable / disable certain widget features that should not always be available, or to pass specific initialization information to the widget. It depends on the widget implementation on how this information is used.
setConfiguration in interface I_CmsWidgetsetConfiguration in class A_CmsSelectWidgetconfig - the configuration to setA_CmsWidget.setConfiguration(java.lang.String)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||