Package ca.phon.ipamap2
Class DefaultIPAMapCellRenderer
java.lang.Object
ca.phon.ipamap2.DefaultIPAMapCellRenderer
- All Implemented Interfaces:
IPAMapCellRenderer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCellDimension
(IPAMapGrid ipaGrid) 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
-
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:IPAMapCellRenderer
Paint cell- Specified by:
paintCell
in interfaceIPAMapCellRenderer
-
getCellDimension
Description copied from interface:IPAMapCellRenderer
Determine size of cells based on given mapGrid.- Specified by:
getCellDimension
in interfaceIPAMapCellRenderer
-