Package diva.canvas

Examples of diva.canvas.Site


        rectangleManipulator.getHandleInteractor().addLayerListener(new LayerAdapter() {

            public void mouseReleased(LayerEvent e) {
                Figure fig = e.getFigureSource();
                if (fig instanceof RectangleGrabHandle) {
                    Site site = ((RectangleGrabHandle) fig).getSite();
                    CanvasFigure f = (CanvasFigure)site.getFigure();
                    if (site.getID() == 0) {
                        f.fireCanvasFigureEvent(CanvasFigure.ROTATED);
                    } else {
                        f.fireCanvasFigureEvent(CanvasFigure.RESIZED);
                    }
                }
View Full Code Here

TOP

Related Classes of diva.canvas.Site

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.