Examples of OverlayCenterPositioner


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

            // Already showing
            return;
        }
        this.container = container;
        OverlayDecorator decorator = createOverlay();
        decorator.show(container, new OverlayCenterPositioner());
    }
View Full Code Here

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

            if (TextAreaInput.this.overlayPositioner != null) {
                return TextAreaInput.this.overlayPositioner;
            } else if (trigger != null) {
                return new OverlayRelativePositioner(trigger, new Point(8, 8));
            } else {
                return new OverlayCenterPositioner();
            }
        }
View Full Code Here

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

        ui = new DecoratorImpl(content, callback);
        ui.setFocusReceiverWhenClosed(focusReceiverWhenClosed);
    }

    private void display() {
        ui.show(container, new OverlayCenterPositioner());
        updateOkEnabled(view.getSelectedDriver());
        view.requestFocus();
    }
View Full Code Here

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

       
        private PointInputPanel inputPanel;
       
        public void run(Point currentLocation) {
            OverlayDecorator overlay = createOverlay(currentLocation);
            overlay.show(getContainer(), new OverlayCenterPositioner());
            inputPanel.setInitialFocus();
        }
View Full Code Here

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

            return overlay;
        }

        private OverlayPositioner getPositioner() {
            return trigger != null ? new OverlayRelativePositioner(trigger, new Point(8, 8)) :
                new OverlayCenterPositioner();
        }
View Full Code Here

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

                OverlayDecorator decorator = new OverlayDecorator(content,
                        Strings.get("Connection.MatchingFiles.Title"));
                decorator.setAlpha(0.8f);
                decorator.useCloseOnly();
                decorator.setBlocking(true);
                decorator.show(container, new OverlayCenterPositioner());
            }
        });
    }
View Full Code Here

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

        }

        private void showInOverlay(UiProvider ui) {
            appWin.getEditorService().openEditor(page);
            OverlayDecorator overlay = createOverlay(ui);
            overlay.show(page.getOverlayContainer(), new OverlayCenterPositioner());
        }
View Full Code Here

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

        }

        @Override
        public void show(NodeRenamerPanel panel) {
            OverlayDecorator overlay = createOverlay(panel);
            overlay.show(container, new OverlayCenterPositioner());
            panel.requestFocus();
        }
View Full Code Here

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

        public void uploadStatusChanged(UserConsoleModel model, boolean uploading) {
            if (uploading) {
                if (blockingOverlay == null) {
                    blockingOverlay = new JLabel(" ");
                    blockingOverlay.putClientProperty(OverlayContainer.BLOCKING_PROPERTY, Boolean.TRUE);
                    getOverlayContainer().addOverlay(blockingOverlay, new OverlayCenterPositioner());
                }
            } else {
                getOverlayContainer().removeOverlay(blockingOverlay);
                blockingOverlay = null;
            }
View Full Code Here

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

            }
        };
        overlay.setTitleIcon(icon);
        overlay.useOkAndCancel();
        overlay.setOkAsDefault(true);
        overlay.show(container, new OverlayCenterPositioner());
        ui.requestFocus();
        currentOverlay = overlay;
    }
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.