public class DefaultSummaryViewAttributeRenderer extends AbstractSummaryViewItemWithIconRenderer<Object>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_EDITOR_WRAPPER_TEMPLATE |
protected static String |
SETTING_DEFAULT_EDITOR_WRAPPER_TEMPLATE
Deprecated.
since 6.6
|
| Constructor and Description |
|---|
DefaultSummaryViewAttributeRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected Editor |
buildEditor(Attribute attributeConfiguration,
Object data,
DataAttribute dataAttribute,
EditorBuilder editorBuilder) |
protected Editor |
createAttributeEditor(Attribute attributeConfiguration,
Object data,
DataAttribute dataAttribute,
String typeCode,
WidgetInstanceManager widgetInstanceManager) |
protected EditorBuilder |
createEditorBuilder(Attribute attributeConfiguration,
Object data,
DataAttribute dataAttribute,
String typeCode,
WidgetInstanceManager widgetInstanceManager) |
protected EditorBuilder |
createEditorBuilder(WidgetInstanceManager widgetInstanceManager)
Deprecated.
since 6.6
|
protected EditorWrappingUtils |
getEditorWrappingUtils() |
protected String |
getIconStatusSClass(org.zkoss.zk.ui.HtmlBasedComponent iconContainer,
Attribute attributeConfiguration,
Object data,
DataAttribute dataAttribute,
DataType dataType,
WidgetInstanceManager widgetInstanceManager)
Use
AbstractSummaryViewItemWithIconRenderer.SCLASS_PATTERN_ICON as a template for building icon's css class name such as
yw-summaryview-online-status-Online. |
protected static boolean |
isEditorWrappingEnabled(TypedSettingsMap widgetSettings)
Deprecated.
since 6.6
|
protected Parameter |
mapParameter(Parameter parameter) |
protected Collection<Parameter> |
mapParameters(Collection<Parameter> parameters) |
protected void |
renderAttributeEditor(org.zkoss.zul.Div attributeContainer,
Attribute attributeConfiguration,
Object data,
DataAttribute dataAttribute,
String typeCode,
WidgetInstanceManager widgetInstanceManager) |
protected void |
renderValue(org.zkoss.zul.Div attributeContainer,
Attribute attributeConfiguration,
Object data,
DataAttribute dataAttribute,
DataType dataType,
WidgetInstanceManager widgetInstanceManager)
Used by
AbstractSummaryViewItemWithIconRenderer.render(Component, Attribute, Object, DataType, WidgetInstanceManager) method for obtaining
attribute representation. |
void |
setEditorWrappingUtils(EditorWrappingUtils editorWrappingUtils) |
protected String |
wrapEditorIfNecessary(String editor,
TypedSettingsMap widgetSettings)
Deprecated.
since 6.6
|
canHandle, createContainer, createIcon, getAttributeLabelResolver, getIconStatusSClass, getLabelService, getPermissionFacade, hasAttributePermission, hasPermission, render, renderIcon, renderInvalidDataLabel, renderLabel, renderNoReadAccess, setAttributeLabelResolver, setLabelService, setPermissionFacadeaddRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrender@Deprecated protected static final String SETTING_DEFAULT_EDITOR_WRAPPER_TEMPLATE
DefaultEditorWrappingUtils,
Constant Field Valuesprotected static final String DEFAULT_EDITOR_WRAPPER_TEMPLATE
protected String getIconStatusSClass(org.zkoss.zk.ui.HtmlBasedComponent iconContainer, Attribute attributeConfiguration, Object data, DataAttribute dataAttribute, DataType dataType, WidgetInstanceManager widgetInstanceManager)
AbstractSummaryViewItemWithIconRendererAbstractSummaryViewItemWithIconRenderer.SCLASS_PATTERN_ICON as a template for building icon's css class name such as
yw-summaryview-online-status-Online.getIconStatusSClass in class AbstractSummaryViewItemWithIconRenderer<Object>iconContainer - component that will be marked with returned classattributeConfiguration - configuration of renderingdata - datadataAttribute - attribute to be rendereddataType - type code of datawidgetInstanceManager - instance manager of widget on which rendering takes placeAbstractSummaryViewItemWithIconRenderer.getIconStatusSClass(String, String)protected void renderValue(org.zkoss.zul.Div attributeContainer,
Attribute attributeConfiguration,
Object data,
DataAttribute dataAttribute,
DataType dataType,
WidgetInstanceManager widgetInstanceManager)
AbstractSummaryViewItemWithIconRendererAbstractSummaryViewItemWithIconRenderer.render(Component, Attribute, Object, DataType, WidgetInstanceManager) method for obtaining
attribute representation.renderValue in class AbstractSummaryViewItemWithIconRenderer<Object>attributeContainer - attribute representation can be appended to this containerattributeConfiguration - configuration of renderingdata - datadataAttribute - attribute to be rendereddataType - type code of datawidgetInstanceManager - widget instance managerprotected void renderAttributeEditor(org.zkoss.zul.Div attributeContainer,
Attribute attributeConfiguration,
Object data,
DataAttribute dataAttribute,
String typeCode,
WidgetInstanceManager widgetInstanceManager)
protected Editor createAttributeEditor(Attribute attributeConfiguration, Object data, DataAttribute dataAttribute, String typeCode, WidgetInstanceManager widgetInstanceManager)
protected Collection<Parameter> mapParameters(Collection<Parameter> parameters)
@Deprecated protected EditorBuilder createEditorBuilder(WidgetInstanceManager widgetInstanceManager)
protected EditorBuilder createEditorBuilder(Attribute attributeConfiguration, Object data, DataAttribute dataAttribute, String typeCode, WidgetInstanceManager widgetInstanceManager)
protected Editor buildEditor(Attribute attributeConfiguration, Object data, DataAttribute dataAttribute, EditorBuilder editorBuilder)
@Deprecated protected String wrapEditorIfNecessary(String editor, TypedSettingsMap widgetSettings)
EditorWrappingUtils@Deprecated protected static boolean isEditorWrappingEnabled(TypedSettingsMap widgetSettings)
EditorWrappingUtilsprotected EditorWrappingUtils getEditorWrappingUtils()
public void setEditorWrappingUtils(EditorWrappingUtils editorWrappingUtils)
Copyright © 2018. All rights reserved.