Examples of showRelativeTo()


Examples of com.google.gwt.user.client.ui.PopupPanel.showRelativeTo()

        final PopupPanel popupPanel = new PopupPanel(true);
        popupPanel.setWidget(new Label(path.getName()
                + " @ " + SimulationTestUtils.formatMillis(step.getDistanceMillis())));
        image.addMouseOverHandler(new MouseOverHandler() {
            public void onMouseOver(MouseOverEvent event) {
                popupPanel.showRelativeTo(image);
            }
        });
        image.addMouseOutHandler(new MouseOutHandler() {
            public void onMouseOut(MouseOutEvent event) {
                popupPanel.hide();
View Full Code Here

Examples of com.vaadin.client.ui.VOverlay.showRelativeTo()

        passwordWidget.addDomHandler(new KeyPressHandler() {
            @Override
            public void onKeyPress(KeyPressEvent event) {
                if (isEnabled() && isCapsLockOn(event)) {
                    warning.showRelativeTo(passwordWidget);
                    rpc.isCapsLockEnabled(true); // Added to send message to the
                                                 // server
                } else {
                    warning.hide();
                    rpc.isCapsLockEnabled(false); // Added to send message to
View Full Code Here

Examples of com.vaadin.client.ui.VOverlay.showRelativeTo()

        passwordWidget.addDomHandler(new KeyPressHandler() {
            @Override
            public void onKeyPress(KeyPressEvent event) {
                if (isEnabled() && isCapsLockOn(event)) {
                    warning.showRelativeTo(passwordWidget);
                } else {
                    warning.hide();
                }
            }
        }, KeyPressEvent.getType());
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.ui.library.popupmenu.PopupMenu.showRelativeTo()

            @Override
            public void onClick(ClickEvent event) {
                changeEmailAddressHandler.handleChangeEmailAddress();
            }
        });
        popupMenu.showRelativeTo(userNameItem);
    }

    @Override
    public void setSignedInUser(UserId userId) {
        if (userId.isGuest()) {
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.ui.library.popupmenu.PopupMenu.showRelativeTo()

            @Override
            public void onClick(ClickEvent event) {
                showFreshEntitySettingsHandler.handleShowFreshEntitySettings();
            }
        });
        popupMenu.showRelativeTo(projectSettingsItem);
    }

    @Override
    public void setProjectId(Optional<ProjectId> projectId) {
        setVisible(projectId.isPresent() && Application.get().isLoggedInUserOwnerOfActiveProject());
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.ui.library.popupmenu.PopupMenu.showRelativeTo()

            @Override
            public void onClick(ClickEvent event) {
                showAboutBoxHandler.handleShowAboutBox();
            }
        });
        popupMenu.showRelativeTo(helpItem);
    }

    private void showSignedInPopup() {
        PopupMenu popupMenu = new PopupMenu();
        popupMenu.addItem("Sign out", new ClickHandler() {
View Full Code Here

Examples of org.jbpm.formapi.common.panels.ConfirmDialog.showRelativeTo()

                }
                Window.Location.replace(href);
                dialog.hide();
            }
        });
        dialog.showRelativeTo(target);
    }
   
    protected String removeParameterFromHref(String paramName, String href) {
        String retval = href;
        int fromIndex = href.indexOf(paramName) - 1;
View Full Code Here

Examples of org.spiffyui.client.widgets.Tooltip.showRelativeTo()

        final Timer showTooltip = new Timer() {
           
            @Override
            public void run()
            {
                tooltip.showRelativeTo(anchor);
            }
        };
        anchor.addMouseOverHandler(new MouseOverHandler() {
           
            @Override
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.