Package com.google.gwt.user.client.ui

Examples of com.google.gwt.user.client.ui.FlowPanel.addStyleName()


        else
        {
            if (metaData.getScreenshot() != null && !metaData.getScreenshot().equals(""))
            {
                FlowPanel screenShot = new FlowPanel();
                screenShot.addStyleName(StaticResourceBundle.INSTANCE.coreCss().streamPluginsScreenshot());
                imageContainer.add(screenShot);
                screenShot.add(new Image(metaData.getScreenshot()));
            }
        }
View Full Code Here


                screenShot.add(new Image(metaData.getScreenshot()));
            }
        }

        FlowPanel dataPanel = new FlowPanel();
        dataPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().gadgetData());

        Label title = new Label(metaData.getTitle());
        title.addStyleName(StaticResourceBundle.INSTANCE.coreCss().title());
        dataPanel.add(title);
        dataPanel.add(new HTML(metaData.getDescription()));
View Full Code Here

        Anchor titleUrl = new Anchor(metaData.getTitleUrl(), metaData.getTitleUrl(), "_blank");
        titleUrl.addStyleName(StaticResourceBundle.INSTANCE.coreCss().gadgetTitleUrl());

        dataPanel.add(titleUrl);
        FlowPanel gadgetExtInfo = new FlowPanel();
        gadgetExtInfo.addStyleName(StaticResourceBundle.INSTANCE.coreCss().gadgetExtInfo());
        gadgetExtInfo.add(new HTML("Category: "));
        Anchor category = new Anchor();
        category.setText(metaData.getGadgetDefinition().getCategory().getName());
        category.addClickHandler(new ClickHandler()
        {
View Full Code Here

     * Adds a clearing divider to the form.
     */
    public void addClear()
    {
        FlowPanel clear = new FlowPanel();
        clear.addStyleName(StaticResourceBundle.INSTANCE.coreCss().clear());
        formElementsContainer.add(clear);
    }

    /**
     * Adds a form label to the form.
View Full Code Here

        loginForm.setMethod(FormPanel.METHOD_POST);

        loginContentContainer.addStyleName(StaticResourceBundle.INSTANCE.coreCss().loginContentContainer());

        FlowPanel loginPanel = new FlowPanel();
        loginPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().loginContent());
        loginForm.setWidget(loginPanel);

        FlowPanel navPanel = new FlowPanel();
        navPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().loginNavPanel());
        navPanel.add(errorMessage);
View Full Code Here

        FlowPanel loginPanel = new FlowPanel();
        loginPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().loginContent());
        loginForm.setWidget(loginPanel);

        FlowPanel navPanel = new FlowPanel();
        navPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().loginNavPanel());
        navPanel.add(errorMessage);
        loginContentContainer.add(navPanel);

        submitButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().loginButton());
        cancelButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().cancelButton());
View Full Code Here

        submitButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().loginButton());
        cancelButton.addStyleName(StaticResourceBundle.INSTANCE.coreCss().cancelButton());

        final FlowPanel usernamePanel = new FlowPanel();
        usernamePanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().formElement());
        Label usernameLabel = new Label("Username: ");
        usernameLabel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().formLabel());
        usernamePanel.add(usernameLabel);

        username.setName("j_username");
View Full Code Here

        loginPanel.add(usernamePanel);

        final FlowPanel passwordPanel = new FlowPanel();
        Label passwordLabel = new Label("Password: ");
        passwordPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().formElement());
        passwordLabel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().formLabel());
        passwordPanel.add(passwordLabel);

        password.setName("j_password");
        passwordPanel.add(password);
View Full Code Here

        errorMessage.setVisible(false);

        loginContentContainer.add(loginPanel);

        FlowPanel buttonPanel = new FlowPanel();
        buttonPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().loginButtonPanel());
        buttonPanel.add(submitButton);
        buttonPanel.add(cancelButton);
        loginContentContainer.add(buttonPanel);

        loginForm.add(loginContentContainer);
View Full Code Here

        title = inTutorialVideo.getDialogTitle();

        final HTML textContent = new HTML();
        FlowPanel breakdiv = new FlowPanel();

        breakdiv.addStyleName(StaticResourceBundle.INSTANCE.coreCss().breakClass());
        FlowPanel textDiv = new FlowPanel();
        textDiv.add(textContent);
        dontShowAgain = new BasicCheckBoxFormElement(null, ((Long) tutorialVideo.getEntityId()).toString(),
                "Don't show this again", false, false);
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.