Class TaskCellRenderer
java.lang.Object
de.hybris.platform.cockpit.services.config.impl.TaskCellRenderer
- All Implemented Interfaces:
CellRenderer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoDecideAction(WorkflowActionModel action, WorkflowDecisionModel decision, TableModel model, org.zkoss.zk.ui.Component parent) protected TypeServicevoidrender(TableModel model, int colIndex, int rowIndex, org.zkoss.zk.ui.Component parent) Renders the cell content of the cell at position (colIndex,rowIndex).protected voidrenderActionRow(TypedObject task, TableModel model, org.zkoss.zul.Div container, org.zkoss.zk.ui.Component parent, org.zkoss.zul.Div commentsDiv) protected voidrenderComments(TypedObject task, org.zkoss.zul.Div commentsDiv) protected voidrenderDecisionDropDown(org.zkoss.zul.Div actionRowDiv, org.zkoss.zk.ui.Component parent, TableModel model, Collection<WorkflowDecisionModel> decisions, TypedObject task) protected voidrenderGotoItem(org.zkoss.zul.Div actionRowDiv, TableModel model, TypedObject task)
-
Field Details
-
ACTIONROW_SCLASS
- See Also:
-
ADD_COMMENT_SCLASS
- See Also:
-
COMMENT_SCLASS
- See Also:
-
COMMENT_AUTOMATED_SCLASS
- See Also:
-
COMMENT_HEADER_SCLASS
- See Also:
-
-
Constructor Details
-
TaskCellRenderer
-
-
Method Details
-
render
Description copied from interface:CellRendererRenders the cell content of the cell at position (colIndex,rowIndex).- Specified by:
renderin interfaceCellRenderer- Parameters:
model- the underlying table model containing information about the cell that is to be renderedcolIndex- zero based column index of the cell to be renderedrowIndex- zero based row index of the cell to be renderedparent- the parent component that will contain the view components created by the renderer
-
renderActionRow
protected void renderActionRow(TypedObject task, TableModel model, org.zkoss.zul.Div container, org.zkoss.zk.ui.Component parent, org.zkoss.zul.Div commentsDiv) -
renderGotoItem
-
renderDecisionDropDown
protected void renderDecisionDropDown(org.zkoss.zul.Div actionRowDiv, org.zkoss.zk.ui.Component parent, TableModel model, Collection<WorkflowDecisionModel> decisions, TypedObject task) -
doDecideAction
protected void doDecideAction(WorkflowActionModel action, WorkflowDecisionModel decision, TableModel model, org.zkoss.zk.ui.Component parent) -
renderComments
-
getTypeService
-