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.
Constructor and Description |
---|
CmsDefaultComplexWidget() |
Modifier and Type | Method and Description |
---|---|
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 CmsDefaultComplexWidget()
public I_CmsComplexWidget configure(java.lang.String configuration)
I_CmsComplexWidget
configure
in interface I_CmsComplexWidget
configuration
- the configuration stringI_CmsComplexWidget.configure(java.lang.String)
public java.lang.String getName()
I_CmsComplexWidget
The string returned by this function should be a valid Javascript identifier.
getName
in interface I_CmsComplexWidget
I_CmsComplexWidget.getName()
public CmsComplexWidgetData getWidgetData(CmsObject cms)
I_CmsComplexWidget
getWidgetData
in interface I_CmsComplexWidget
cms
- The CMS object to use for VFS operationsI_CmsComplexWidget.getWidgetData(org.opencms.file.CmsObject)