Examples of HTMLFlow


Examples of com.smartgwt.client.widgets.HTMLFlow

        titleBar = new HLayout(30);
        titleBar.setHeight(50);
        titleBar.setPadding(10);
        titleBar.setBackgroundColor("#F0F0F0");
        titleLabel = new HTMLFlow();
        refreshTitleLabelContents();
        titleLabel.setWidth("*");

        stepLabel = new Label();
        stepLabel.setWidth(60);
        titleBar.addMember(titleLabel);
        titleBar.addMember(stepLabel);

        addMember(titleBar);

        stepTitleLabel = new Label();
        stepTitleLabel.setWidth100();
        stepTitleLabel.setHeight(40);
        stepTitleLabel.setPadding(20);
        stepTitleLabel.setStyleName("HeaderLabel");

        addMember(stepTitleLabel);

        contentLayout = new HLayout();
        contentLayout.setHeight("*");
        contentLayout.setWidth100();
        contentLayout.setPadding(10);

        addMember(contentLayout);

        messageBar = new HLayout();
        messageBar.setHeight(20);
        messageBar.setPadding(2);
        messageBar.setBackgroundColor("#F0F0F0");
        messageLabel = new HTMLFlow();
        messageLabel.setWidth("*");
        messageLabel.setLeft(20);
        messageBar.addMember(messageLabel);
        messageBar.setVisible(false);

View Full Code Here

Examples of com.smartgwt.client.widgets.HTMLFlow

    public MessageBar() {
        super();
        setOverflow(Overflow.VISIBLE);
        setHeight(1);
        setWidth(1);
        content = new HTMLFlow();
        content.setPosition(Positioning.ABSOLUTE);
        injectFunctions(this);
        showDetailsMenu = new Menu();
        MenuItem showDetailsMenuItem = new MenuItem(MSG.view_messageCenter_messageBarShowDetails());
        showDetailsMenuItem.addClickHandler(new ClickHandler() {
View Full Code Here

Examples of com.smartgwt.client.widgets.HTMLFlow

            if (configDef.getPropertyDefinitions().isEmpty()) {
                wizard.setNewDeploymentConfig(new Configuration());
                // This has started behaving badly. Instead of moving ahead let's give them a message
                // and a chance to go back to the previous screen.
                // this.wizard.getView().incrementStep();
                HTMLFlow label = new HTMLFlow(MSG.view_bundle_deployWizard_getConfigSkip());
                label.setWidth100();
                label.setHeight(50);
                label.setStylePrimaryName("HeaderLabel");
                label.setStyleName("HeaderLabel");
                editor = new VLayout();
                editor.addMember(label);
            } else {
                // otherwise, pop up the config editor to get the needed config
                Configuration liveConfig =
View Full Code Here

Examples of com.smartgwt.client.widgets.HTMLFlow

        final EnhancedHLayout hlayout = new EnhancedHLayout();
        hlayout.setStyleName("resourceSummary");

        addMember(hlayout);

        this.title = new HTMLFlow();
        this.title.setWidth("*");

        this.explicitAvailabilityImage = new Img(ImageManager.getAvailabilityLargeIcon(null), 24, 24);
        this.explicitAvailabilityImage.setTooltip(MSG.view_group_detail_explicitAvail());
        this.implicitAvailabilityImage = new Img(ImageManager.getAvailabilityLargeIcon(null), 24, 24);
View Full Code Here

Examples of com.smartgwt.client.widgets.HTMLFlow

            titleHLayout.setAutoHeight();
            titleHLayout.setWidth100();

            addMember(titleHLayout);

            graph = new HTMLFlow("<div id=\"mChart-" + getChartId()
                + "\" ><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" style=\"height:95%;\"></svg></div>");
            graph.setWidth100();
            graph.setHeight100();
            addMember(graph);
View Full Code Here

Examples of com.smartgwt.client.widgets.HTMLFlow

            final Integer resourceGroupId = record.getAttributeAsInt(RESOURCE_GROUP_ID.getValue());
            VLayout vLayout = new VLayout();
            vLayout.setPadding(5);

            final String chartId = "rChart-" + resourceGroupId + "-" + definitionId;
            HTMLFlow htmlFlow = new HTMLFlow(MetricD3Graph.createGraphMarkerTemplate(chartId,
                TREEVIEW_DETAIL_CHART_HEIGHT));
            vLayout.addMember(htmlFlow);

            int[] definitionArrayIds = new int[1];
            definitionArrayIds[0] = definitionId;
View Full Code Here

Examples of com.smartgwt.client.widgets.HTMLFlow

    @Override
    protected EnhancedVLayout buildContentPane() {
        EnhancedVLayout contentPane = super.buildContentPane();

        HTMLFlow hr = new HTMLFlow("<hr/>");
        contentPane.addMember(hr);

        this.executionModeForm = new EnhancedDynamicForm(isReadOnly());
        this.executionModeForm.setNumCols(2);
        this.executionModeForm.setColWidths(FIRST_COLUMN_WIDTH, "*");
 
View Full Code Here

Examples of com.smartgwt.client.widgets.HTMLFlow

        if (isDynaGroup) {
            spacer = new HLayout();
            spacer.setHeight(10);
            addMember(spacer);

            HTMLFlow note = new HTMLFlow();
            note.setContents("<b>*</b> " + MSG.view_group_summary_dynamicNote());
            note.setAlign(Alignment.CENTER);
            addMember(note);
        }

        HLayout spacer2 = new HLayout();
        spacer2.setHeight(10);
View Full Code Here

Examples of com.smartgwt.client.widgets.HTMLFlow

    public AvailabilitySummaryPieGraphType() {
    }

    public HTMLFlow addGraphMarkerMember(){
        HTMLFlow graphFlow = new HTMLFlow(createGraphMarker());
        graphFlow.setWidth(WIDTH);
        graphFlow.setHeight(HEIGHT);
        return graphFlow;

    }
View Full Code Here

Examples of com.smartgwt.client.widgets.HTMLFlow

        //clean up old widgets
        for (Canvas child : getChildren()) {
            child.destroy();
        }

        this.title = new HTMLFlow();
        this.title.setWidth100();

        this.availabilityImage = new Img(ImageManager.getAvailabilityLargeIcon(null), 24, 24);

        this.favoriteButton = new Img(NOT_FAV_ICON, 24, 24);
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.