Bug 42533 - Making JSVGScrollPane as a JavaBean
Summary: Making JSVGScrollPane as a JavaBean
Status: NEW
Alias: None
Product: Batik - Now in Jira
Classification: Unclassified
Component: GVT (show other bugs)
Version: 1.7
Hardware: All All
: P3 enhancement
Target Milestone: ---
Assignee: Batik Developer's Mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-28 17:58 UTC by Hervé Girod
Modified: 2007-05-29 17:42 UTC (History)
0 users



Attachments
patch for making JSVGScrollPane as a JavaBean (3.58 KB, patch)
2007-05-28 17:59 UTC, Hervé Girod
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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...