return getImageMapArea((int) (e.getX() / realZoom), (int) (e.getY() / realZoom));
}
protected JRPrintImageAreaHyperlink getImageMapArea(int x, int y)
{
JRPrintImageAreaHyperlink image = null;
if (imageAreaHyperlinks != null)
{
for (ListIterator it = imageAreaHyperlinks.listIterator(imageAreaHyperlinks.size()); image == null && it.hasPrevious();)
{
JRPrintImageAreaHyperlink area = (JRPrintImageAreaHyperlink) it.previous();
if (area.getArea().containsPoint(x, y))
{
image = area;
}
}
}