Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addSVGLoadEventDispatcherListener(new SVGLoadEventDispatcherAdapter() {
- public void svgLoadEventDispatchStarted(
- SVGLoadEventDispatcherEvent e) {
- // At this time the document is available...
- document = getSVGDocument();
- // ...and the window object too.
- window = getUpdateManager().
- getScriptingEnvironment().createWindow();
- window.setTimeout(new Runnable() {
- public void run() {
- document = getSVGDocument();
- Element elt = document.getElementById("idAguja1");
- elt.setAttributeNS(null, "transform", "rotate(45,10,260)");
- }
- }, 10);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement