Examples of addStyleName()


Examples of com.ponysdk.ui.server.basic.PElement.addStyleName()

            newCell = (PElement) newRow.getWidget(column);
            newCell.clear();
        }

        newCell.add(widget);
        newCell.addStyleName("pony-PFlextable-Cell");

        if (colspan > 1) newCell.setAttribute("colspan", colspan + "");
    }

    public void addHeadWidget(final IsPWidget widget, final int column, final int row, final int colspan) {
View Full Code Here

Examples of com.ponysdk.ui.server.basic.PFlexTable.addStyleName()

        captionContainer.setStyleName(PonySDKTheme.CLOSABLE_DIALOGBOX_CAPTION);
        closeContainer.setStyleName(PonySDKTheme.CLOSABLE_DIALOGBOX_CLOSE);
        contentContainer.setStyleName(PonySDKTheme.CLOSABLE_DIALOGBOX_CONTENT);

        final PFlexTable layout = new PFlexTable();
        layout.addStyleName(PonySDKTheme.CLOSABLE_DIALOGBOX_LAYOUT);

        layout.setWidget(0, 0, captionContainer);
        layout.setWidget(0, 1, closeContainer);
        layout.setWidget(1, 0, contentContainer);
View Full Code Here

Examples of com.ponysdk.ui.server.basic.PFlowPanel.addStyleName()

        box.addDomHandler(new PDragEnterHandler() {

            @Override
            public void onDragEnter(final PDragEnterEvent event) {
                box.addStyleName("dragenter");
            }
        }, PDragEnterEvent.TYPE);

        box.addDomHandler(new PDragLeaveHandler() {
View Full Code Here

Examples of com.ponysdk.ui.server.basic.PHTML.addStyleName()

        final PLabel header = new PLabel(currency);
        header.addStyleName("header");
        final PAnchor close = new PAnchor();
        close.addStyleName("close");
        final PHTML buy = new PHTML("<div></div>");
        buy.addStyleName("buy");
        buy.addClickHandler(new PClickHandler() {

            @Override
            public void onClick(final PClickEvent clickEvent) {
                PNotificationManager.showHumanizedNotification("Buy clicked!");
View Full Code Here

Examples of com.ponysdk.ui.server.basic.PLabel.addStyleName()

        examplePanel.setWidget(verticalPanel);
    }

    private PWidget buildBox(final String label) {
        final PLabel lbl = new PLabel(label);
        lbl.addStyleName("label");

        final PFlowPanel box = new PFlowPanel();
        box.addStyleName("ddbox");
        box.add(lbl);
View Full Code Here

Examples of com.ponysdk.ui.server.basic.PSimpleLayoutPanel.addStyleName()

    @Override
    public void setPageTitle(final String caption) {}

    protected PSimplePanel buildBody() {
        final PSimplePanel panel = new PSimpleLayoutPanel();
        panel.addStyleName(PonySDKTheme.PAGE_BODY);
        return panel;
    }

    @Override
    public PSimplePanel getBody() {
View Full Code Here

Examples of com.ponysdk.ui.server.basic.PSimplePanel.addStyleName()

    @Override
    public void setPageTitle(final String caption) {}

    protected PSimplePanel buildBody() {
        final PSimplePanel panel = new PSimpleLayoutPanel();
        panel.addStyleName(PonySDKTheme.PAGE_BODY);
        return panel;
    }

    @Override
    public PSimplePanel getBody() {
View Full Code Here

Examples of com.smartgwt.client.widgets.HTMLFlow.addStyleName()

            loadLayout = new EnhancedVLayout();
            loadLayout.setWidth100();
            LayoutSpacer spacer = new LayoutSpacer();
            spacer.setHeight(10);
            HTMLFlow loadLabel = new HTMLFlow(MSG.view_adminTopology_storageNodes_detail_status());
            loadLabel.addStyleName("formTitle");
            loadLabel.setHoverWidth(300);
            loadLayout.setMembers(spacer, loadLabel, info);

            if (detailsAndLoadLayout == null) {
                detailsAndLoadLayout = new EnhancedHLayout();
View Full Code Here

Examples of com.smartgwt.client.widgets.Label.addStyleName()

        }
        errorLabel.setWidth100();
        errorLabel.setPadding(5);
        errorLabel.setHeight(5);
        errorLabel.setOverflow(VISIBLE);
        errorLabel.addStyleName("InlineError");
        errorLabel.setIcon("[SKIN]/actions/exclamation.png");
        return errorLabel;
    }

    private ListGridField createListGridField(PropertyDefinition summaryPropDef) {
View Full Code Here

Examples of com.smartgwt.client.widgets.layout.HLayout.addStyleName()

            HLayout tableHeader = new HLayout();
            tableHeader.setAutoHeight();
            tableHeader.setWidth100();
            tableHeader.setMinMemberSize(27);
            tableHeader.addStyleName("tableFilter");

            if (filterForm.hasContent()) {
                filterForm.setWidth("60%");
                tableHeader.addMember(filterForm);
            }
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.