Examples of renderInline()


Examples of nextapp.echo2.webrender.output.CssStyle.renderInline()

            Insets insets = (Insets) contentPane.getRenderProperty(ContentPane.PROPERTY_INSETS, DEFAULT_INSETS);
            style.setAttribute("top", ExtentRender.renderCssAttributePixelValue(insets.getTop(), "0"));
            style.setAttribute("left", ExtentRender.renderCssAttributePixelValue(insets.getLeft(), "0"));
            style.setAttribute("right", ExtentRender.renderCssAttributePixelValue(insets.getRight(), "0"));
            style.setAttribute("bottom", ExtentRender.renderCssAttributePixelValue(insets.getBottom(), "0"));
            containerDivElement.setAttribute("style", style.renderInline());
            VirtualPosition.renderRegister(rc.getServerMessage(), containerId);
        }
       
        parentNode.appendChild(containerDivElement);
        ComponentSynchronizePeer syncPeer = SynchronizePeerFactory.getPeerForComponent(child.getClass());
View Full Code Here

Examples of nextapp.echo2.webrender.output.CssStyle.renderInline()

        ColorRender.renderToStyle(cssStyle, (Color) contentPane.getRenderProperty(ContentPane.PROPERTY_FOREGROUND),
                (Color) contentPane.getRenderProperty(ContentPane.PROPERTY_BACKGROUND));
        FontRender.renderToStyle(cssStyle, (Font) contentPane.getRenderProperty(ContentPane.PROPERTY_FONT));
        FillImageRender.renderToStyle(cssStyle, rc, this, contentPane, IMAGE_ID_BACKGROUND,
                (FillImage) contentPane.getRenderProperty(ContentPane.PROPERTY_BACKGROUND_IMAGE), 0);
        divElement.setAttribute("style", cssStyle.renderInline());
       
        parentNode.appendChild(divElement);

        // Render initialization directive.
        renderInitDirective(rc, contentPane);
View Full Code Here

Examples of nextapp.echo2.webrender.output.CssStyle.renderInline()

            }
        }

        CssStyle cssStyle = createBaseCssStyle(rc, textArea);
        if (cssStyle.hasAttributes()) {
            textAreaElement.setAttribute("style", cssStyle.renderInline());
        }
       
        parentNode.appendChild(textAreaElement);

        renderInitDirective(rc, textArea);
View Full Code Here

Examples of nextapp.echo2.webrender.output.CssStyle.renderInline()

            inputElement.setAttribute("maxlength", maximumLength.toString());
        }

        CssStyle cssStyle = createBaseCssStyle(rc, textField);
        if (cssStyle.hasAttributes()) {
            inputElement.setAttribute("style", cssStyle.renderInline());
        }
       
        parentNode.appendChild(inputElement);

        renderInitDirective(rc, textField);
View Full Code Here

Examples of nextapp.echo2.webrender.output.CssStyle.renderInline()

        Element iconTdElement = tct.getTdElement(cellIndex);
        Alignment alignment = (Alignment) button.getRenderProperty(AbstractButton.PROPERTY_ALIGNMENT);
        if (alignment != null) {
            CssStyle style = new CssStyle();
            AlignmentRender.renderToStyle(style, alignment, button);
            iconTdElement.setAttribute("style", style.renderInline());
        }
        iconTdElement.appendChild(iconElement);
    }
   
    /**
 
View Full Code Here

Examples of nextapp.echo2.webrender.output.CssStyle.renderInline()

    private void renderCellState(TriCellTable tct, Element stateIconElement, int cellIndex, AbstractButton button) {
        Element stateTdElement = tct.getTdElement(cellIndex);
        CssStyle stateTdCssStyle = new CssStyle();
        AlignmentRender.renderToStyle(stateTdCssStyle, 
                (Alignment) button.getRenderProperty(ToggleButton.PROPERTY_STATE_ALIGNMENT), button);
        stateTdElement.setAttribute("style", stateTdCssStyle.renderInline());
        stateTdElement.appendChild(stateIconElement);
    }
   
    /**
     * Renders the content of the <code>TriCellTable</code> cell which
View Full Code Here

Examples of nextapp.echo2.webrender.output.CssStyle.renderInline()

            }
        }
        FontRender.renderToStyle(textTdCssStyle, font);
       
        if (textTdCssStyle.hasAttributes()) {
            textTdElement.setAttribute("style", textTdCssStyle.renderInline());
        }
               
        textTdElement.appendChild(textNode);
    }
   
View Full Code Here

Examples of nextapp.echo2.webrender.output.CssStyle.renderInline()

                    FillImageRender.renderToStyle(rolloverCssStyle, rc, this, button, IMAGE_ID_ROLLOVER_BACKGROUND,
                            (FillImage) button.getRenderProperty(AbstractButton.PROPERTY_ROLLOVER_BACKGROUND_IMAGE),
                            FillImageRender.FLAG_DISABLE_FIXED_MODE);
                }
                if (rolloverCssStyle.hasAttributes()) {
                    rolloverStyle = rolloverCssStyle.renderInline();
                }
                if (hasIcon) {
                    ImageReference rolloverIcon = (ImageReference) button.getRenderProperty(AbstractButton.PROPERTY_ROLLOVER_ICON);
                    if (rolloverIcon != null) {
                        rolloverIconUri = ImageTools.getUri(rc, this, button, IMAGE_ID_ROLLOVER_ICON);
View Full Code Here

Examples of nextapp.echo2.webrender.output.CssStyle.renderInline()

                    FillImageRender.renderToStyle(pressedCssStyle, rc, this, button, IMAGE_ID_PRESSED_BACKGROUND,
                            (FillImage) button.getRenderProperty(AbstractButton.PROPERTY_PRESSED_BACKGROUND_IMAGE),
                            FillImageRender.FLAG_DISABLE_FIXED_MODE);
                }
                if (pressedCssStyle.hasAttributes()) {
                    pressedStyle = pressedCssStyle.renderInline();
                }
                if (hasIcon) {
                    ImageReference pressedIcon = (ImageReference) button.getRenderProperty(AbstractButton.PROPERTY_PRESSED_ICON);
                    if (pressedIcon != null) {
                        pressedIconUri = ImageTools.getUri(rc, this, button, IMAGE_ID_PRESSED_ICON);
View Full Code Here

Examples of nextapp.echo2.webrender.output.CssStyle.renderInline()

                }
            }
        }
       
        CssStyle defaultCssStyle = renderDefaultStyle(rc, button);
        String defaultStyle = defaultCssStyle.renderInline();
       
        Element itemizedUpdateElement = serverMessage.getItemizedDirective(ServerMessage.GROUP_ID_POSTUPDATE,
                "EchoButton.MessageProcessor", "init",  BUTTON_INIT_KEYS, new String[]{defaultStyle, rolloverStyle, pressedStyle});
        Element itemElement = serverMessage.getDocument().createElement("item");
        itemElement.setAttribute("eid", elementId);
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.