Examples of DivAttributes


Examples of com.volantis.mcs.protocols.DivAttributes

        getPageContext(context).pushOutputBuffer(objectCaptionContent);

        // Open the div in that represents the entire caption. We do this
        // because Paul says caption is a block element.
        DivAttributes divAttributes = new DivAttributes();
        divAttributes.copy(protocolAttributes);
        try {
            getProtocol(context).writeOpenDiv(divAttributes);
        } catch (ProtocolException e) {
            throw new XDIMEException(e);
        }
View Full Code Here

Examples of com.volantis.mcs.protocols.DivAttributes

     */
    private void closeObjectCaption(XDIMEContextInternal context, ObjectElement element) {

        // Close the div in that represents the entire caption. We do this
        // because Paul says caption is a block element.
        DivAttributes divAttributes = new DivAttributes();
        divAttributes.copy(protocolAttributes);
        getProtocol(context).writeCloseDiv(divAttributes);

        getPageContext(context).popOutputBuffer(objectCaptionContent);

        element.setCaptionBuffer(objectCaptionContent);
View Full Code Here

Examples of com.volantis.mcs.protocols.DivAttributes

                    DisplayKeywords.BLOCK);

        stepStyles.getPropertyValues().setComputedValue(StylePropertyDetails.VISIBILITY, StyleKeywords.HIDDEN);       

        // Open 'div' element representing the wizard,
        DivAttributes outerDivAttributes = new DivAttributes();
        outerDivAttributes.setStyles(stepStyles);
        // and generate unique ID for it - last parameter to true
        renderer.openDivElement(this.protocol,outerDivAttributes,true);
       
        // generate inner DIV element for support slide effect on steps
        DivAttributes innerDivAttributes = new DivAttributes();
        Styles innerDivStyles = StylingFactory.getDefaultInstance()
        .createInheritedStyles(protocol.getMarinerPageContext().getStylingEngine().getStyles(),
                DisplayKeywords.BLOCK);
        innerDivAttributes.setStyles(innerDivStyles);
        renderer.openDivElement(this.protocol,innerDivAttributes);
    }
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.