Class DefaultIPAMapCellRenderer
java.lang.Object
ca.phon.ipamap2.DefaultIPAMapCellRenderer
- All Implemented Interfaces:
IPAMapCellRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCellDimension(IPAMapGrid ipaGrid) Determine size of cells based on given mapGrid.voidpaintCell(IPAMapGrid mapGrid, Graphics2D g2, Rectangle cellRect, Cell cell, boolean isHover, boolean isPressed, boolean isSelected) Paint cell
-
Constructor Details
-
DefaultIPAMapCellRenderer
public DefaultIPAMapCellRenderer()
-
-
Method Details
-
paintCell
public void paintCell(IPAMapGrid mapGrid, Graphics2D g2, Rectangle cellRect, Cell cell, boolean isHover, boolean isPressed, boolean isSelected) Description copied from interface:IPAMapCellRendererPaint cell- Specified by:
paintCellin interfaceIPAMapCellRenderer- Parameters:
mapGrid-g2-cellRect-cell-isHover-isPressed-
-
getCellDimension
Description copied from interface:IPAMapCellRendererDetermine size of cells based on given mapGrid.- Specified by:
getCellDimensionin interfaceIPAMapCellRenderer
-