Package org.rhq.coregui.client.components

Examples of org.rhq.coregui.client.components.TitleBar


        EnhancedVLayout vLayout = new EnhancedVLayout();
        vLayout.setWidth100();
        vLayout.setHeight100();
        // default to 24x24 otherwise use 16x16
        String iconPath = (viewName.getIcon().getIcon24x24Path() != null) ? viewName.getIcon().getIcon24x24Path() : viewName.getIcon().getIcon16x16Path();
        vLayout.addMember(new TitleBar(viewName.getTitle(), iconPath));
        vLayout.addMember(pageBody);
        return vLayout;

    }
View Full Code Here


            }
            topExtraWidgets.show();
        }

        // just use the first icon (not sure use case for multiple icons in title)
        titleBar = new TitleBar(titleString);
        if (titleIcon != null) {
            titleBar.setIcon(titleIcon);
        }
        titleLayout.addMember(titleBar);
        titleLayout.addMember(titleCanvas);
View Full Code Here

    protected Canvas defaultView() {
        EnhancedVLayout vLayout = new EnhancedVLayout();
        vLayout.setWidth100();

        // TODO: Help icon.
        TitleBar titleBar = new TitleBar(MSG.view_testTop_title());
        vLayout.addMember(titleBar);

        Label label = new Label(MSG.view_testTop_description());
        label.setPadding(10);
        vLayout.addMember(label);
View Full Code Here

    @Override
    protected EnhancedVLayout defaultView() {
        EnhancedVLayout vLayout = new EnhancedVLayout();
        vLayout.setWidth100();

        TitleBar titleBar = new TitleBar(MSG.common_title_help(), VIEW_ID.getIcon().getIcon24x24Path());
        vLayout.addMember(titleBar);

        Label label = new Label(MSG.view_helpTop_description());
        label.setPadding(10);
        vLayout.addMember(label);
View Full Code Here

    protected Canvas defaultView() {
        EnhancedVLayout vLayout = new EnhancedVLayout();
        vLayout.setWidth100();

        TitleBar titleBar = new TitleBar(MSG.common_title_inventory(), IconEnum.INVENTORY.getIcon24x24Path());
        vLayout.addMember(titleBar);

        Label label = new Label(MSG.view_inventory_sectionHelp());
        label.setPadding(10);
        vLayout.addMember(label);
View Full Code Here

        // Display a "Loading..." label at the top of the view to keep the user informed.
        addMember(LOADING_LABEL);

        // Add title bar. We'll set the actual title later.
        this.titleBar = new TitleBar(null, headerIcon);
        this.titleBar.hide();
        addMember(this.titleBar);
    }
View Full Code Here

    @Override
    protected VLayout defaultView() {
        EnhancedVLayout vLayout = new EnhancedVLayout();
        vLayout.setWidth100();

        TitleBar titleBar = new TitleBar(MSG.view_reportsTop_title(), IconEnum.REPORT.getIcon24x24Path());
        vLayout.addMember(titleBar);

        Label label = new Label(MSG.view_reportsTop_description());
        label.setPadding(10);
        vLayout.addMember(label);
View Full Code Here

    private Canvas getGridCanvas() {
        if (this.gridCanvas == null) {
            EnhancedVLayout layout = new EnhancedVLayout();

            TitleBar titleBar = getTitleBar();
            titleBar.setExtraSpace(10);
            layout.addMember(titleBar);

            SectionStack sectionStack = new SectionStack();
            sectionStack.setVisibilityMode(VisibilityMode.MULTIPLE);
View Full Code Here

        return null; // there is no separate edit canvas, we'll do it inline inside editTemplates
    }

    @Override
    protected TitleBar getTitleBar() {
        return new TitleBar(MSG.view_adminConfig_ignoreResourceTypes(),
            ImageManager.getResourceIcon(ResourceCategory.SERVICE));
    }
View Full Code Here

    }

    @Override
    protected TitleBar getTitleBar() {

        return new TitleBar(MSG.view_adminConfig_metricTemplates(), ImageManager.getMetricEditIcon());
    }
View Full Code Here

TOP

Related Classes of org.rhq.coregui.client.components.TitleBar

Copyright © 2018 www.massapicom. 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.