|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WorkListDecorator
You need to implement this interface to customize the appearance of the rows and/or cells in the Work List panel table. The class implementing this interface should contain the logic to decide how to render a row or a cell in the Work List panel. This logic is based on the instance information.The methods getCellStyle() and getCellValue() define how to render the cells of the Work List panel table. The method getRowStyle() defines the style used to render a complete row.
| Method Summary | |
|---|---|
java.lang.String |
getCellStyle(java.lang.String viewId,
InstanceInfo instanceInfo,
Presentation.Column column,
int rowIndex)
Returns a String containing the CSS inline style to render the cell of the given column and row. |
java.lang.String |
getRowStyle(java.lang.String viewId,
InstanceInfo instanceInfo,
int rowIndex)
Returns the CSS inline style for the given row. |
java.lang.String |
getValue(java.lang.String viewId,
InstanceInfo instanceInfo,
Presentation.Column column,
java.util.Locale locale,
java.lang.String originalValue,
int rowIndex)
Returns the HTML for the given cell value. |
| Method Detail |
|---|
java.lang.String getRowStyle(java.lang.String viewId,
InstanceInfo instanceInfo,
int rowIndex)
viewId - The ID of the view assigned to the Work List Panel.instanceInfo - The InstanceInfo object that represents the rendered instance.rowIndex - The index of the rendered row.
java.lang.String getCellStyle(java.lang.String viewId,
InstanceInfo instanceInfo,
Presentation.Column column,
int rowIndex)
viewId - The ID of the view assigned to the Work List Panel.instanceInfo - The InstanceInfo object that represents the rendered instance.column - The Presentation.Column object that represents the rendered column.rowIndex - The index of the rendered row.
java.lang.String getValue(java.lang.String viewId,
InstanceInfo instanceInfo,
Presentation.Column column,
java.util.Locale locale,
java.lang.String originalValue,
int rowIndex)
viewId - The ID of the view assigned to the Work List Panel.instanceInfo - The InstanceInfo object that represents the rendered instance.column - The Presentation.Column object that represents the rendered column.locale - The user locale.originalValue - The original HTML value.rowIndex - The index of the rendered row.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||