Examples of addStyleName()


Examples of org.gwt.mosaic.ui.client.ImageButton.addStyleName()

          || widget == south) {
        if (layoutData.collapsedStateWidget == null) {
          ImageButton imgBtn = null;
          if (layoutData.region == Region.NORTH) {
            imgBtn = new ImageButton(Caption.IMAGES.toolCollapseDown());
            imgBtn.addStyleName("NorthCollapsedImageButton");
            imgBtn.setHorizontalAlignment(HasAlignment.ALIGN_RIGHT);
          } else if (layoutData.region == Region.EAST) {
            imgBtn = new ImageButton(Caption.IMAGES.toolCollapseLeft());
            imgBtn.addStyleName("EastCollapsedImageButton");
            imgBtn.setVerticalAlignment(HasAlignment.ALIGN_TOP);
View Full Code Here

Examples of org.gwt.mosaic.ui.client.LayoutPopupPanel.addStyleName()

    {

        this.processDefinitions = processDefinitions;

        final LayoutPopupPanel popup = new LayoutPopupPanel(true);
        popup.addStyleName("soa-PopupPanel");

        final com.google.gwt.user.client.ui.ListBox listBox =
                new com.google.gwt.user.client.ui.ListBox();
        listBox.addItem("");
View Full Code Here

Examples of org.gwt.mosaic.ui.client.layout.MosaicPanel.addStyleName()

        closeBtn.setVisible(false);
        window.setAnimationEnabled(false);


        MosaicPanel panel = new MosaicPanel();
        panel.addStyleName("bpm-login");

        createLayoutContent(panel);
        window.setWidget(panel);
    }
View Full Code Here

Examples of org.gwtlib.client.list.ui.StyleListBox.addStyleName()

    FlowPanel panel = new FlowPanel();
    StyleListBox styles = new StyleListBox();
    styles.setWidth("80px");
    for(int i = 0; i < 10; ++i) {
      styles.addItem("item " + (i + 1));
      styles.addStyleName(i, i % 2 == 0 ? "gwtlib-StyleListBox-even" : "gwtlib-StyleListBox-odd");
    }
    ColorListBox colors = new ColorListBox();
    colors.setWidth("80px");
    String[] cols = { "red", "green", "blue", "red", "green", "blue" };
    colors.setColors(cols);
View Full Code Here

Examples of org.gwtoolbox.widget.client.button.SimpleMenuButton.addStyleName()

            return button;
        }

        public SimpleMenuButton addMenuButton(Tool tool, MenuBuilder menuBuilder) {
            SimpleMenuButton button = new SimpleMenuButton(new ToolButton(tool), true);
            button.addStyleName("TitleBar-tool");
            DOM.setStyleAttribute(button.getElement(), "marginLeft", "3px");
            menuBuilder.build(button.getMenu());
            tools.add(button);
            return button;
        }
View Full Code Here

Examples of org.jboss.as.console.client.widgets.nav.AriaLink.addStyleName()

    {
        /*ImageResource helpIcon = Icons.INSTANCE.help();
        helpPanel = new DisclosurePanel(helpIcon, helpIcon, "");  */

        AriaLink header = new AriaLink (Console.CONSTANTS.help_need_help());
        header.addStyleName("help-panel-header");
        header.addClickHandler(new ClickHandler() {
            @Override
            public void onClick(ClickEvent clickEvent) {
                helpPanel.setOpen(!helpPanel.isOpen());
            }
View Full Code Here

Examples of org.jboss.as.console.client.widgets.tabs.DefaultTabLayoutPanel.addStyleName()

            }
        }

        private TabPanelContract createEditorPanel(final InteractionUnit interactionUnit, final EventBus eventBus) {
            final DefaultTabLayoutPanel tabLayoutpanel = new DefaultTabLayoutPanel(40, Style.Unit.PX);
            tabLayoutpanel.addStyleName("default-tabpanel");

            tabLayoutpanel.addBeforeSelectionHandler(new NavigationHandler(interactionUnit, childUnits));

           /* tabLayoutpanel.addAttachHandler(new AttachEvent.Handler() {
                @Override
View Full Code Here

Examples of org.jboss.ballroom.client.widgets.InlineLink.addStyleName()

        InlineLink html = new InlineLink(text);
        //html.setHTML("<a href='javascript:void(0)' tabindex='0'>"+text+"</a>");

        html.addClickHandler(handler);
        html.addStyleName("link-bar");

        if(numLinks==0)
        {
            html.addStyleName("link-bar-first");
        }
View Full Code Here

Examples of org.jboss.ballroom.client.widgets.common.DefaultButton.addStyleName()

            }
        };

        DefaultButton btn = new DefaultButton("Change Server");
        btn.addClickHandler(clickHandler);
        btn.addStyleName("server-picker-btn");

        header.add(currentDisplayedValue);
        header.add(btn);
        return header;
    }
View Full Code Here

Examples of org.jboss.ballroom.client.widgets.tools.ToolStrip.addStyleName()


        // with the form API changes (self containment), it happens that we have many empty toolstrips
        // these will be suppressed
        if(additionalButtons.isEmpty())
           toolStrip.addStyleName("suppressed");

        return toolStrip;
    }

    public void addToolButtonRight(ToolButton btn) {
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.