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

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


        header.clear();

        final List<Property> path = address.asPropertyList();
        HorizontalPanel nav = new HorizontalPanel();
        nav.addStyleName("node-header");

        if(path.isEmpty())
        {
            SafeHtmlBuilder builder = new SafeHtmlBuilder();
            builder.appendHtmlConstant("<h1 class='node-header'>Management Model</h1>");
View Full Code Here


        // ----

        VerticalPanel configUptodate = new VerticalPanel();
        HorizontalPanel uptodateContent = new HorizontalPanel();
        uptodateContent.setStyleName("status-panel");
        uptodateContent.addStyleName("serverUptoDate");

        Image img = new Image(Icons.INSTANCE.status_good());
        HTML desc = new HTML(Console.CONSTANTS.server_config_uptodate());
        uptodateContent.add(desc);
        uptodateContent.add(img);
View Full Code Here

        VerticalPanel configNeedsUpdate = new VerticalPanel();
        configNeedsUpdate.add(tools.asWidget());

        HorizontalPanel staleContent = new HorizontalPanel();
        staleContent.setStyleName("status-panel");
        staleContent.addStyleName("serverNeedsUpdate");

        Image img2 = new Image(Icons.INSTANCE.status_warn());
        HTML desc2 = new HTML(Console.CONSTANTS.server_reload_desc());
        staleContent.add(desc2);
        staleContent.add(img2);
View Full Code Here

        millerHeader.getElement().addClassName("server-picker-table-header");
        millerHeader.getElement().getParentElement().setAttribute("style", "vertical-align:bottom");

        HorizontalPanel millerPanel = new HorizontalPanel();
        millerPanel.setStyleName("fill-layout");
        millerPanel.addStyleName("server-picker-table");


        hostPager = new DefaultPager();
        hostPager.setDisplay(hostList);
        FlowPanel lhs = new FlowPanel();
View Full Code Here

        } else {
            this.readOnly = readOnly;
        }

        if ( this.readOnly ) {
            layout.addStyleName( "editor-disabled-widget" );
        }

        String desc = modeller.getModel().getLHSBindingType( model.getVariableName() ) + " [" + model.getVariableName() + "]";
        layout.add( new SmallLabel( HumanReadable.getActionDisplayName( "delete" ) + "&nbsp;<b>" + desc + "</b>" ) );
View Full Code Here

    public ThreeColumnLeftWideHeaderLayoutStrategy()
    {
        DropZonePanel leftColumn = DropZonePanel.getTwoThirdColumnDropZone(0);
        leftColumn.addStyleName(StaticResourceBundle.INSTANCE.coreCss().multiZone());
        HorizontalPanel horzPanel = new HorizontalPanel();
        horzPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().twoThirdsColumn());

        DropZonePanel headerPanel = DropZonePanel.getFullRowDropZone(0);
        headerPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().headerZone());
        DropZonePanel leftPanel = DropZonePanel.getFullRowDropZone(1);
        DropZonePanel centerPanel = DropZonePanel.getFullRowDropZone(2);
View Full Code Here

    public ThreeColumnRightWideHeaderLayoutStrategy()
    {
        DropZonePanel rightColumn = DropZonePanel.getTwoThirdColumnDropZone(0);
        rightColumn.addStyleName(StaticResourceBundle.INSTANCE.coreCss().multiZone());
        HorizontalPanel horzPanel = new HorizontalPanel();
        horzPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().twoThirdsColumn());

        DropZonePanel headerPanel = DropZonePanel.getFullRowDropZone(0);
        headerPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().headerZone());
        DropZonePanel leftPanel = DropZonePanel.getThirdColumnDropZone(1);
        DropZonePanel centerPanel = DropZonePanel.getFullRowDropZone(2);
View Full Code Here

        } else {
            this.readOnly = readOnly;
        }

        if ( this.readOnly ) {
            layout.addStyleName( "editor-disabled-widget" );
        }

        String desc = modeller.getModel().getLHSBindingType( model.getVariableName() ) + " [" + model.getVariableName() + "]";
        layout.add( new SmallLabel( HumanReadable.getActionDisplayName( "delete" ) + "&nbsp;<b>" + desc + "</b>" ) );
View Full Code Here

        controls.add(prevMonth);
        controls.add(dateDisplay);
        controls.add(nextMonth);
        controls.add(nextYear);

        controls.addStyleName("gwl-calControls");
        nextMonth.addStyleName("gwl-calNavControl");
        nextYear.addStyleName("gwl-calNavControl");
        prevMonth.addStyleName("gwl-calNavControl");
        prevYear.addStyleName("gwl-calNavControl");
        dateDisplay.addStyleName("gwl-calDateDisplay");
View Full Code Here

        DateUtil.laterDate(updates.get(0).getTimestamp(), story.getLastChangeTimestamp()));
    updateCount.setWordWrap(false);
   
    HorizontalPanel header = new HorizontalPanel();
    header.setWidth("100%");
    header.addStyleName("sectionHeader");
    DOM.setStyleAttribute(header.getElement(), "marginBottom", "10px");
    header.setHorizontalAlignment(HorizontalPanel.ALIGN_LEFT);
   
    header.add(storyName);
    header.add(updateCount);
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.