Examples of NestedComponents


Examples of org.flexdock.util.NestedComponents

        return NestedComponents.find(deep, Dockable.class, DockingPort.class);
    }

    public void processDragEvent(DragOperation token) {
        currentDragToken = token;
        NestedComponents dropTargets = getDropTargets(token);

        // if there is no cover, and we're not transitioning away from one,
        // then invoke postPaint() and return
        if(currentDropTargets==null && dropTargets==null) {
            deferPostPaint();
View Full Code Here

Examples of org.flexdock.util.NestedComponents

        Point dropPoint = getDropPoint(dockable, contentPane, dockingState);
        if(dropPoint==null)
            return false;

        Component deep = SwingUtilities.getDeepestComponentAt(contentPane, dropPoint.x, dropPoint.y);
        NestedComponents dropTargets = NestedComponents.find(deep, Dockable.class, DockingPort.class);

        DockingPort port = dropTargets==null? null: (DockingPort)dropTargets.parent;
        Point mousePoint = port==null? null: SwingUtilities.convertPoint(contentPane, dropPoint, (Component)port);
        String region = port==null? UNKNOWN_REGION: port.getRegion(mousePoint);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.