Package org.opencms.acacia.client
Interface I_CmsEntityRenderer
- All Known Implementing Classes:
CmsDataViewWidgetRenderer
,CmsNativeComplexWidgetRenderer
,CmsRenderer
public interface I_CmsEntityRenderer
Renders an entity into a widget.
-
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).void
renderAttributeValue
(org.opencms.acacia.shared.CmsEntity parentEntity, CmsAttributeHandler attributeHandler, int attributeIndex, com.google.gwt.user.client.ui.Panel context) Renders a single attribute value.void
renderForm
(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.void
renderInline
(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.void
renderInline
(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.
-
Method Details
-
configure
Returns a copy of this renderer which has been configured with the given configuration string.- Parameters:
configuration
- the configuration string- Returns:
- the configured copy of the renderer
-
getName
Gets the name of the renderer (should be unique for each renderer class).- Returns:
- the renderer name
-