Package diva.canvas.event

Examples of diva.canvas.event.EventAcceptor


        while (i.hasNext()) {
            CanvasLayer layer = (CanvasLayer) i.next();

            // Process on this layer only if it implements EventAccepter
            if (layer instanceof EventAcceptor) {
                EventAcceptor acceptor = (EventAcceptor) layer;

                // Set the layer source to the layer, then
                // pass the event to that layer
                event.setLayerSource(layer);
                acceptor.dispatchEvent(event);

                // stop if the event was consumed
                if (event.isConsumed()) {
                    break;
                }
View Full Code Here

TOP

Related Classes of diva.canvas.event.EventAcceptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.