Package org.noos.xing.mydoggy.plaf.ui.cmp

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.DockableDropPanel


        }

//        System.out.println("deepestCmp = " + deepestCmp);

        if (deepestCmp != null) {
            DockableDropPanel dockableDropPanel = SwingUtil.getParent(deepestCmp, DockableDropPanel.class);

            if (dockableDropPanel != null) {
                // the point is on a dockable drop panel...


                if (lastDropPanel != dockableDropPanel) {
                    if (lastDropPanel != null)
                        lastDropPanel.dragExit();

                    if (dockableDropPanel.dragStart(event.getDragSourceContext().getTransferable(),
                                                    event.getDragSourceContext().getSourceActions())) {
                        lastDropPanel = dockableDropPanel;
                    } else
                        lastDropPanel = null;
                } else {
                    location = event.getLocation();
                    SwingUtilities.convertPointFromScreen(location, dockableDropPanel);

                    dockableDropPanel.dragOver(location);
                }
                lastBarAnchor = null;
            } else {
                dockableDropDragExit();
View Full Code Here

TOP

Related Classes of org.noos.xing.mydoggy.plaf.ui.cmp.DockableDropPanel

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.