Class TaskCellRenderer
- java.lang.Object
-
- de.hybris.platform.cockpit.services.config.impl.TaskCellRenderer
-
- All Implemented Interfaces:
CellRenderer
public class TaskCellRenderer extends java.lang.Object implements CellRenderer
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
ACTIONROW_SCLASS
protected static java.lang.String
ADD_COMMENT_SCLASS
protected static java.lang.String
COMMENT_AUTOMATED_SCLASS
protected static java.lang.String
COMMENT_HEADER_SCLASS
protected static java.lang.String
COMMENT_SCLASS
-
Constructor Summary
Constructors Constructor Description TaskCellRenderer(ColumnConfiguration colConf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doDecideAction(WorkflowActionModel action, WorkflowDecisionModel decision, TableModel model, org.zkoss.zk.ui.Component parent)
protected TypeService
getTypeService()
void
render(TableModel model, int colIndex, int rowIndex, org.zkoss.zk.ui.Component parent)
Renders the cell content of the cell at position (colIndex
,rowIndex
).protected void
renderActionRow(TypedObject task, TableModel model, org.zkoss.zul.Div container, org.zkoss.zk.ui.Component parent, org.zkoss.zul.Div commentsDiv)
protected void
renderComments(TypedObject task, org.zkoss.zul.Div commentsDiv)
protected void
renderDecisionDropDown(org.zkoss.zul.Div actionRowDiv, org.zkoss.zk.ui.Component parent, TableModel model, java.util.Collection<WorkflowDecisionModel> decisions, TypedObject task)
protected void
renderGotoItem(org.zkoss.zul.Div actionRowDiv, TableModel model, TypedObject task)
-
-
-
Field Detail
-
ACTIONROW_SCLASS
protected static final java.lang.String ACTIONROW_SCLASS
- See Also:
- Constant Field Values
-
ADD_COMMENT_SCLASS
protected static final java.lang.String ADD_COMMENT_SCLASS
- See Also:
- Constant Field Values
-
COMMENT_SCLASS
protected static final java.lang.String COMMENT_SCLASS
- See Also:
- Constant Field Values
-
COMMENT_AUTOMATED_SCLASS
protected static final java.lang.String COMMENT_AUTOMATED_SCLASS
- See Also:
- Constant Field Values
-
COMMENT_HEADER_SCLASS
protected static final java.lang.String COMMENT_HEADER_SCLASS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TaskCellRenderer
public TaskCellRenderer(ColumnConfiguration colConf)
-
-
Method Detail
-
render
public void render(TableModel model, int colIndex, int rowIndex, org.zkoss.zk.ui.Component parent)
Description copied from interface:CellRenderer
Renders the cell content of the cell at position (colIndex
,rowIndex
).- Specified by:
render
in 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
protected void renderGotoItem(org.zkoss.zul.Div actionRowDiv, TableModel model, TypedObject task)
-
renderDecisionDropDown
protected void renderDecisionDropDown(org.zkoss.zul.Div actionRowDiv, org.zkoss.zk.ui.Component parent, TableModel model, java.util.Collection<WorkflowDecisionModel> decisions, TypedObject task)
-
doDecideAction
protected void doDecideAction(WorkflowActionModel action, WorkflowDecisionModel decision, TableModel model, org.zkoss.zk.ui.Component parent)
-
renderComments
protected void renderComments(TypedObject task, org.zkoss.zul.Div commentsDiv)
-
getTypeService
protected TypeService getTypeService()
-
-