Hi Istavan,

svg-developers@yahoogroups.com wrote on 05/31/2007 11:15:31 AM:

> Is there a way to disable text selection?
> - I want to use events, so 'pointer-events' cannot set to none
> - I need the default mouse cursor over text elements

   When you construct the JSVGCanvas you can use the following
constructor:

    /**
     * Creates a new JSVGCanvas.
     *
     * @param ua a SVGUserAgent instance or null.
     * @param eventsEnabled Whether the GVT tree should be reactive to 
mouse
     *                      and key events.
     * @param selectableText Whether the text should be selectable.
     */
    public JSVGCanvas(SVGUserAgent ua,
                      boolean eventsEnabled,
                      boolean selectableText)

   You can pass 'null' for the 'ua' and Batik will provide one
(although the UserAgent allows for a lot of useful customization).

   BTW the batik-users mail-list will likely get you quicker 
answers on Batik specific questions like this.


> 
> thanx
> István

>  


-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to