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

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


            }
        });

        // Need to do this to fix an especially nasty IE CSS bug (input margin inheritance)
        final SimplePanel textWrapper = new SimplePanel();
        textWrapper.addStyleName(StaticResourceBundle.INSTANCE.coreCss().inputWrapper());
        textWrapper.add(textBox);

        this.add(label);
        this.add(url);
        this.add(textWrapper);
View Full Code Here


     *            ID of activity to share.
     */
    public ShareActivityWidget(final Long activityId)
    {
        final SimplePanel main = new SimplePanel();
        main.addStyleName(StaticResourceBundle.INSTANCE.coreCss().shareMessageDialog());
        initWidget(main);

        EventBus.getInstance().addObserver(GotActivityResponseEvent.class, new Observer<GotActivityResponseEvent>()
        {
            public void update(final GotActivityResponseEvent ev)
View Full Code Here

        entryPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().postEntryPanel());
        entryPanel.add(avatar);
        entryPanel.add(postInfoContainer);
        entryPanel.add(message);
        SimplePanel breakPanel = new SimplePanel();
        breakPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().breakClass());
        entryPanel.add(breakPanel);
        add(entryPanel);

        // below text area: links and post to on one line, then content warning below
View Full Code Here

        textBox.setText(value);
        textBox.checkBox();

        // Need to do this to fix an especially nasty IE CSS bug (input margin inheritance)
        final SimplePanel textWrapper = new SimplePanel();
        textWrapper.addStyleName(StaticResourceBundle.INSTANCE.coreCss().inputWrapper());
        textWrapper.add(textBox);

        mainPanel.add(textWrapper);

        instructions = new Label(inInstructions);
View Full Code Here

        membershipCriteria = new TextBox();

        // Need to do this to fix an especially nasty IE CSS bug (input margin inheritance)
        final SimplePanel textWrapper = new SimplePanel();
        textWrapper.addStyleName(StaticResourceBundle.INSTANCE.coreCss().inputWrapper());
        textWrapper.add(membershipCriteria);

        Panel textWrapperWrapper = new FlowPanel();
        textWrapperWrapper.addStyleName(StaticResourceBundle.INSTANCE.coreCss().inputWrapperWrapper());
        requiredLabel = new Label("(required)");
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.