xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thierry Kormann <tkorm...@ilog.fr>
Subject Re: Mouse hit detectors
Date Mon, 22 Oct 2001 12:13:53 GMT
On Monday 22 October 2001 14:06, Micha? Piotrowski wrote:

> How can I write own mouse hit detector for my extension without
> rewriting org.apache.batik.gvt.ShapeNode? Is it possible or the only
> way is to rewrite method 'contains()' in class ShapeNode?

You have a setGraphicsNodeHitDetector method on GraphicsNode. Though this 
part of the API has not been really tested (we don't support the 
pointer-event property yet) - you should be able to do things by setting your 
own GraphicsNodeHitDetector implementation.


To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message