Class CmsDataViewWidgetRenderer
java.lang.Object
org.opencms.acacia.client.widgets.complex.CmsDataViewWidgetRenderer
- All Implemented Interfaces:
I_CmsEntityRenderer
Special renderer for DataView widgets.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.CmsDataViewWidgetRenderer(String configuration) Creates a new configured instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of this renderer which has been configured with the given configuration string.getName()Gets the name of the renderer (should be unique for each renderer class).voidrenderAttributeValue(org.opencms.acacia.shared.CmsEntity parentEntity, CmsAttributeHandler attributeHandler, int attributeIndex, com.google.gwt.user.client.ui.Panel context) Renders a single attribute value.voidrenderForm(org.opencms.acacia.shared.CmsEntity entity, com.google.gwt.user.client.ui.Panel context, I_CmsAttributeHandler parentHandler, int attributeIndex) Renders the given entity into a form.CmsTabbedPanel<com.google.gwt.user.client.ui.FlowPanel> renderForm(org.opencms.acacia.shared.CmsEntity entity, List<org.opencms.acacia.shared.CmsTabInfo> tabInfos, com.google.gwt.user.client.ui.Panel context, I_CmsAttributeHandler parentHandler, int attributeIndex) Renders the given entity into a form with tabs.voidrenderInline(org.opencms.acacia.shared.CmsEntity parentEntity, String attributeName, I_CmsInlineFormParent formParent, I_CmsInlineHtmlUpdateHandler updateHandler, I_CmsAttributeHandler parentHandler, int attributeIndex, int minOccurrence, int maxOccurrence) Injects editing widgets into the given DOM context to enable editing of the given entity attribute.voidrenderInline(org.opencms.acacia.shared.CmsEntity entity, I_CmsInlineFormParent formParent, I_CmsInlineHtmlUpdateHandler updateHandler, I_CmsAttributeHandler parentHandler, int attributeIndex) Injects editing widgets into the given DOM context to enable editing of the given entity.
-
Field Details
-
ENTITY_CLASS
The entity CSS class. -
LABEL_CLASS
The attribute label CSS class. -
WIDGET_HOLDER_CLASS
The widget holder CSS class.
-
-
Constructor Details
-
CmsDataViewWidgetRenderer
public CmsDataViewWidgetRenderer()Default constructor. -
CmsDataViewWidgetRenderer
Creates a new configured instance.- Parameters:
configuration- the configuration string
-
-
Method Details
-
configure
Description copied from interface:I_CmsEntityRendererReturns a copy of this renderer which has been configured with the given configuration string.- Specified by:
configurein interfaceI_CmsEntityRenderer- Parameters:
configuration- the configuration string- Returns:
- the configured copy of the renderer
- See Also:
-
getName
Description copied from interface:I_CmsEntityRendererGets the name of the renderer (should be unique for each renderer class).- Specified by:
getNamein interfaceI_CmsEntityRenderer- Returns:
- the renderer name
- See Also:
-