com.guigarage.jgrid.renderer
Interface GridCellRenderer
- All Known Implementing Classes:
- DefaultGridCellRenderer
public interface GridCellRenderer
Works like the ListCellRenderer
Identifies components that can be used to paint
the cells in a JGrid
- Since:
- 0.1
- Version:
- 0.1
- Author:
- hendrikebbers
- See Also:
ListCellRenderer,
JGrid
getGridCellRendererComponent
Component getGridCellRendererComponent(JGrid grid,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
- Returns a component for rendering / painting the cell with the given index & properties
- Parameters:
grid - The JGrid where the renderer is paintingvalue - The value that will be rendered by thy returning Componentindex - The cell index in the JGridisSelected - true if the cell is selectedcellHasFocus - true if the cell has focus
- Returns:
- A Component for paint the cell in the JGrid
Copyright © 2012. All Rights Reserved.