Jon Marsh,
isn't this a pure Java-question?
Get the cursor coordinates and compare them to the known point coordinates.
HTH
Herbie
:::::::::::::::::::::::::::::::::::::::
Am 21.12.16 um 19:15 schrieb JonNathan:
> I'm writing a Java plugin in which I'd like to be able to dynamically detect
> when the cursor is directly over an Roi label in an overlay. I know ImageJ
> is already doing this behind the scenes, because if I have an image with an
> overlay consisting of several point Roi's, the cursor changes from a cross
> to a "hand" if I'm over any of the point selections (indicating the
> underlying point Roi can be moved). I can't seem to find the right
> EventListener to detect this kind of change.
>
> Any hints on how to track this kind of event?
>
> Thanks in advance,
>
> Jon Marsh
>
>
>
> --
> View this message in context:
http://imagej.1557.x6.nabble.com/how-do-I-determine-when-cursor-is-over-a-point-Roi-in-an-overlay-tp5017801.html> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html