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

Examples of org.noos.xing.mydoggy.plaf.ui.drag.DragGestureInitiator


        final ToolWindowTitleBarDragGesture dragGesture = new ToolWindowTitleBarDragGesture(descriptor);
        SwingUtil.registerDragGesture(c, dragGesture);
        panel.addContainerListener(new ContainerAdapter() {
            public void componentAdded(ContainerEvent e) {
                if (e.getChild() instanceof DragGestureInitiator) {
                    DragGestureInitiator dragGestureInitiator = (DragGestureInitiator) e.getChild();
                    dragGestureInitiator.setDragGesture(dragGesture);
                }
            }
        });
    }
View Full Code Here

TOP

Related Classes of org.noos.xing.mydoggy.plaf.ui.drag.DragGestureInitiator

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.