Capture mouse in a bounding box?

Pavel Safrata pavel.safrata at oracle.com
Fri Apr 12 08:26:18 PDT 2013


Hi Werner,
no, there is no such feature. I would recommend to just not follow the 
mouse with the dragged object outside of the bounds. You can file a 
feature request to Jira if you want. Frankly, I don't think it will get 
a high priority unless you provide really compelling reason for it (I 
don't think it's an encouraged pattern, usually it's pretty frustrating 
for the user when the mouse doesn't move).
Regards,
Pavel

On 12.4.2013 17:11, Werner Lehmann wrote:
> Hi,
>
> is there a way to capture the mouse cursor to a bounding box? I am 
> using simple-press-drag-and-release to move a node with the mouse, and 
> I  want to keep the mouse inside the bounds of the node's parent 
> control. Thx...
>
> Rgds
> Werner



More information about the openjfx-dev mailing list