public class CmsDefaultComplexWidget extends java.lang.Object implements I_CmsComplexWidget
This could be used to override a default widget defined for a nested content in its XSD on a per-attribute basis.
| 构造器和说明 |
|---|
CmsDefaultComplexWidget() |
| 限定符和类型 | 方法和说明 |
|---|---|
I_CmsComplexWidget |
configure(java.lang.String configuration)
Returns a copy of this widget which has been configured with the given configuration string.
|
java.lang.String |
getName()
Gets the name of the complex widget.
|
CmsComplexWidgetData |
getWidgetData(CmsObject cms)
Gets the data needed for the editor to render the complex widget.
|
public I_CmsComplexWidget configure(java.lang.String configuration)
I_CmsComplexWidgetconfigure 在接口中 I_CmsComplexWidgetconfiguration - the configuration stringI_CmsComplexWidget.configure(java.lang.String)public java.lang.String getName()
I_CmsComplexWidgetThe string returned by this function should be a valid Javascript identifier.
getName 在接口中 I_CmsComplexWidgetI_CmsComplexWidget.getName()public CmsComplexWidgetData getWidgetData(CmsObject cms)
I_CmsComplexWidgetgetWidgetData 在接口中 I_CmsComplexWidgetcms - The CMS object to use for VFS operationsI_CmsComplexWidget.getWidgetData(org.opencms.file.CmsObject)