|Summary:||Making JSVGScrollPane as a JavaBean|
|Product:||Batik - Now in Jira||Reporter:||Hervé Girod <herve.girod>|
|Component:||GVT||Assignee:||Batik Developer's Mailing list <batik-dev>|
|Attachments:||patch for making JSVGScrollPane as a JavaBean|
Description Hervé Girod 2007-05-28 17:58:24 UTC
As stated in Batik dev mailing list, and also in Netbeans mailing list, it would be nice to have JSVGScrollPane as a JavaBean. step is (relatively) easy, one just need to: - add a new "no-argument' constructor (making sure that all the component, except the enclosed canvas, it initialized) - add a new method allowing to set the enclosing JSVGCanvas. With the above patch, Netbeans recognize it as a bean and it is possible to use it in Matisse, for example. The modification in the initial constructor is very limited (just reused the code of the no-argument" constructor, so I'm pretty sure that it works exactly like before, but I'm have no tried for now to construct a "fully functional" JSVGScrollPane in Matisse.
Comment 1 Hervé Girod 2007-05-28 17:59:11 UTC
Created attachment 20283 [details] patch for making JSVGScrollPane as a JavaBean
Comment 2 Hervé Girod 2007-05-28 18:06:25 UTC
Comment on attachment 20283 [details] patch for making JSVGScrollPane as a JavaBean typo
Comment 3 Hervé Girod 2007-05-29 17:42:31 UTC
Seems that it is not enough, not to use it as a Bean, but it would be great to be able to drag and drop the JSVGCanvas component on the JSVGScrollPane. It does not work for the moment, plus the limits of the component are not visible in Netbeans. Some thinks still seem to be missing...