Re: Avoid text cursor over text elements

Robert Marcano <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
On 07/18/2012 07:30 AM, [email protected] wrote:
> Hi,
>
> I use the following constructor of JSVGCanvas to disable text selection:
>
>   public JSVGCanvas(SVGUserAgent ua,
>                        boolean eventsEnabled,
>                        boolean selectableText)
>
> with the values (null, true, false)
>
> However, when hovering the mouse over a text element the cursor still
> changes into a text selection cursor. Is there a way to tell batik to not
> use this cursor but use the usual pointer cursor?


What about overriding SVGUserAgent.getUserStyleSheetURI() and return an 
stylesheet that change the default cursor for text elements?
>
>
> Regards
> Marco
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.