public class DefaultDataQualityGroupRenderer extends AbstractWidgetComponentRenderer<org.zkoss.zk.ui.Component,DataQualityGroup,Object>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LOADING_LABEL |
protected static String |
SCLASS_DATAQUALITY_BAR |
protected static String |
SCLASS_DATAQUALITY_BAR_ERROR |
protected static String |
SCLASS_DATAQUALITY_BAR_VALID |
protected static String |
SCLASS_DATAQUALITY_BAR_WARNING |
protected static String |
SCLASS_DATAQUALITY_CONTAINER |
protected static String |
SCLASS_DATAQUALITY_CONTAINER_CAPTION |
protected static String |
SCLASS_DATAQUALITY_CONTAINER_CONTENT |
| Constructor and Description |
|---|
DefaultDataQualityGroupRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected Optional<DataQuality> |
calculateDataQuality(String domainId,
Object data) |
protected void |
calculateDataQualityAsync(WidgetInstanceManager widgetInstanceManager,
String domainId,
Object data,
org.zkoss.zk.ui.event.EventListener resultHandler) |
protected org.zkoss.zk.ui.Component |
createDataQualityContainer(DataQualityGroup dataQualityGroup,
DataQuality dataQuality) |
protected org.zkoss.zk.ui.Component |
createDataQualityContainerCaption(DataQualityGroup dataQualityGroup,
DataQuality dataQuality) |
protected org.zkoss.zul.Vlayout |
createDataQualityContentContainer() |
protected org.zkoss.zk.ui.Component |
createDataQualityGroupBar(DataQualityGroup dataQualityGroup,
Double qualityIndex) |
protected String |
determineDataQualityThresholdClass(DataQualityGroup dataQualityGroup,
Double currentDataQualityIndex) |
protected Operation |
getCalculateDataQualityOperation(WidgetInstanceManager widgetInstanceManager,
String domainId,
Object data) |
protected org.zkoss.zk.ui.event.EventListener |
getCalculateDataQualityResultHandler(org.zkoss.zk.ui.Component parent,
DataQualityGroup dataQualityGroup,
Object data,
DataType dataType,
WidgetInstanceManager widgetInstanceManager) |
protected DataQualityCalculationService |
getDataQualityCalculationService() |
protected String |
getDataQualityGroupLabel(DataQualityGroup dataQualityGroup) |
protected WidgetComponentRenderer<org.zkoss.zk.ui.Component,DataQualityProperty,Object> |
getDataQualityPropertyRenderer() |
protected void |
invokeDataQualityPropertyRenderer(org.zkoss.zk.ui.Component parent,
DataQualityProperty property,
Object data,
DataType dataType,
WidgetInstanceManager widgetInstanceManager) |
void |
render(org.zkoss.zk.ui.Component parent,
DataQualityGroup dataQualityGroup,
Object data,
DataType dataType,
WidgetInstanceManager widgetInstanceManager)
Renders a component inside parent, representing given data and complying to given ui
configuration.
|
protected void |
renderDataQualityContent(org.zkoss.zk.ui.Component parent,
DataQualityGroup dataQualityGroup,
Object data,
DataType dataType,
DataQuality dataQuality,
WidgetInstanceManager widgetInstanceManager) |
protected void |
renderDataQualityGroup(org.zkoss.zk.ui.Component parent,
DataQualityGroup dataQualityGroup,
Object data,
DataType dataType,
WidgetInstanceManager widgetInstanceManager,
DataQuality dataQuality) |
void |
setDataQualityCalculationService(DataQualityCalculationService dataQualityCalculationService) |
void |
setDataQualityPropertyRenderer(WidgetComponentRenderer<org.zkoss.zk.ui.Component,DataQualityProperty,Object> dataQualityItemRenderer) |
addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrenderprotected static final String SCLASS_DATAQUALITY_CONTAINER
protected static final String SCLASS_DATAQUALITY_CONTAINER_CONTENT
protected static final String SCLASS_DATAQUALITY_CONTAINER_CAPTION
protected static final String SCLASS_DATAQUALITY_BAR
protected static final String SCLASS_DATAQUALITY_BAR_ERROR
protected static final String SCLASS_DATAQUALITY_BAR_WARNING
protected static final String SCLASS_DATAQUALITY_BAR_VALID
protected static final String LOADING_LABEL
public void render(org.zkoss.zk.ui.Component parent,
DataQualityGroup dataQualityGroup,
Object data,
DataType dataType,
WidgetInstanceManager widgetInstanceManager)
WidgetComponentRendererparent - parent component on which to renderdataQualityGroup - configuration of rendererdata - data to be rendereddataType - meta information about type of data providedwidgetInstanceManager - widget manager in scope of which renderer is usedprotected org.zkoss.zk.ui.event.EventListener getCalculateDataQualityResultHandler(org.zkoss.zk.ui.Component parent,
DataQualityGroup dataQualityGroup,
Object data,
DataType dataType,
WidgetInstanceManager widgetInstanceManager)
protected void renderDataQualityGroup(org.zkoss.zk.ui.Component parent,
DataQualityGroup dataQualityGroup,
Object data,
DataType dataType,
WidgetInstanceManager widgetInstanceManager,
DataQuality dataQuality)
protected void calculateDataQualityAsync(WidgetInstanceManager widgetInstanceManager, String domainId, Object data, org.zkoss.zk.ui.event.EventListener resultHandler)
protected Operation getCalculateDataQualityOperation(WidgetInstanceManager widgetInstanceManager, String domainId, Object data)
protected Optional<DataQuality> calculateDataQuality(String domainId, Object data)
protected org.zkoss.zk.ui.Component createDataQualityContainer(DataQualityGroup dataQualityGroup, DataQuality dataQuality)
protected String getDataQualityGroupLabel(DataQualityGroup dataQualityGroup)
protected org.zkoss.zk.ui.Component createDataQualityContainerCaption(DataQualityGroup dataQualityGroup, DataQuality dataQuality)
protected org.zkoss.zk.ui.Component createDataQualityGroupBar(DataQualityGroup dataQualityGroup, Double qualityIndex)
protected String determineDataQualityThresholdClass(DataQualityGroup dataQualityGroup, Double currentDataQualityIndex)
protected void renderDataQualityContent(org.zkoss.zk.ui.Component parent,
DataQualityGroup dataQualityGroup,
Object data,
DataType dataType,
DataQuality dataQuality,
WidgetInstanceManager widgetInstanceManager)
protected org.zkoss.zul.Vlayout createDataQualityContentContainer()
protected void invokeDataQualityPropertyRenderer(org.zkoss.zk.ui.Component parent,
DataQualityProperty property,
Object data,
DataType dataType,
WidgetInstanceManager widgetInstanceManager)
protected DataQualityCalculationService getDataQualityCalculationService()
public void setDataQualityCalculationService(DataQualityCalculationService dataQualityCalculationService)
protected WidgetComponentRenderer<org.zkoss.zk.ui.Component,DataQualityProperty,Object> getDataQualityPropertyRenderer()
public void setDataQualityPropertyRenderer(WidgetComponentRenderer<org.zkoss.zk.ui.Component,DataQualityProperty,Object> dataQualityItemRenderer)
Copyright © 2018. All rights reserved.