Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-748

Making JSVGScrollPane as a JavaBean

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: GVT
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      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.

        Attachments

        1. jsvgscrollpane.patch
          4 kB
          Hervé Girod

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              herve.girod@club-internet.fr Hervé Girod
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: