public class DefaultActionCellRenderer extends Object implements ActionCellRenderer
| Constructor and Description |
|---|
DefaultActionCellRenderer() |
| Modifier and Type | Method and Description |
|---|---|
List<ListViewAction> |
getActions() |
protected void |
registerEventListener(Image actionImg,
ListViewAction listViewAction,
ListViewAction.Context context,
Component parent) |
void |
render(TableModel model,
int colIndex,
int rowIndex,
Component parent)
Renders the cell content of the cell at position (
colIndex, rowIndex). |
void |
setActions(List<ListViewAction> listViewActions) |
public List<ListViewAction> getActions()
getActions in interface ActionCellRendererpublic void setActions(List<ListViewAction> listViewActions)
setActions in interface ActionCellRendererpublic void render(TableModel model, int colIndex, int rowIndex, Component parent)
CellRenderercolIndex, rowIndex).render in interface CellRenderermodel - 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 rendererprotected void registerEventListener(Image actionImg,
ListViewAction listViewAction,
ListViewAction.Context context,
Component parent)
Copyright © 2017 SAP SE. All Rights Reserved.