You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Jamie <ja...@exponent.co.uk> on 2003/10/03 11:23:04 UTC

Interactors

Forgive me for yet again asking this question: Interactors - what and how?

Specifically, I am constructing a UI with JSVGCanvas as my main component. I have a button on the toolbar which I want to use as a 'Zoom In'. When the user fires the event ...

private void zoomInButtonActionPerformed(ActionEvent evt) {
    // telll Interactor to Zoom In ??
}

Am I wrong in assuming that interactors can be called like this. Or do I 'manually' set the viewbox/currentTransform. I vaguely understand that Interactors are there and work just from the fact I can use the mouse and CTRL keys to perform actions.

I noted that the Batik guys were giving a presentation at SVG Open 2003 where they explained the use of Interactors. I can view the abstarct but the presentation does not seem to be available. Is it available? This would be most useful to me ;-). The documentation (website/API) is relatively sketchy for an 'absolute beginner'.