Class TaskCellRenderer

  • All Implemented Interfaces:
    CellRenderer

    public class TaskCellRenderer
    extends java.lang.Object
    implements CellRenderer
    • 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_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
    • 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 interface CellRenderer
        Parameters:
        model - the underlying table model containing information about the cell that is to be rendered
        colIndex - zero based column index of the cell to be rendered
        rowIndex - zero based row index of the cell to be rendered
        parent - 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)
      • renderComments

        protected void renderComments​(TypedObject task,
                                      org.zkoss.zul.Div commentsDiv)
      • getTypeService

        protected TypeService getTypeService()