Package ca.phon.ipamap2
Interface IPAMapCellRenderer
- All Known Implementing Classes:
DefaultIPAMapCellRenderer
public interface IPAMapCellRenderer
-
Method Summary
Modifier and TypeMethodDescriptiongetCellDimension
(IPAMapGrid mapGrid) Determine size of cells based on given mapGrid.void
paintCell
(IPAMapGrid mapGrid, Graphics2D g2, Rectangle cellRect, Cell cell, boolean isHover, boolean isPressed, boolean isSelected) Paint cell
-
Method Details
-
getCellDimension
Determine size of cells based on given mapGrid. -
paintCell
void paintCell(IPAMapGrid mapGrid, Graphics2D g2, Rectangle cellRect, Cell cell, boolean isHover, boolean isPressed, boolean isSelected) Paint cell- Parameters:
mapGrid
-g2
-cellRect
-cell
-isHover
-isPressed
-
-