Package org.jitterbit.ui.widget.overlay

Examples of org.jitterbit.ui.widget.overlay.OverlayAbsolutePositioner


        int h = icon.getIconHeight() + 2;
        int x = converted.x - w / 2;
        int y = converted.y - h / 2;
        autoScrollAnchor = new JLabel(icon);
        autoScrollAnchor.setBorder(Empty.border(2));
        ui.addOverlay(autoScrollAnchor, new OverlayAbsolutePositioner(new Point(x, y)));
        autoScroller = new AutoScroller(scroll);
        autoScroller.start();
        return autoScroller;
    }
View Full Code Here


        overlay.setFadeIn(AnimationPreference.get());
        overlay.useCloseOnly();
        Point p = graph.getLayout().getBounds(selected).getLocation();
        p.x += 10;
        p.y += 10;
        overlay.show(graph.getOverlayContainer(), new OverlayAbsolutePositioner(p));
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.overlay.OverlayAbsolutePositioner

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.