Package com.volantis.mcs.protocols.layouts

Examples of com.volantis.mcs.protocols.layouts.ColumnIteratorPaneInstance


        }

        // Javadoc inherited from super class.
        public boolean visit(ColumnIteratorPane format, Object object) {

            FormatInstance formatInstance = new ColumnIteratorPaneInstance(index);
            initialiseFormatInstance(formatInstance, format);
            // Only visit the topmost format.
            return true;
        }
View Full Code Here


            FormatRendererContext context,
            AbstractPaneInstance abstractPaneInstance) throws IOException {

        ColumnIteratorPane pane = (ColumnIteratorPane)
                abstractPaneInstance.getFormat();
        ColumnIteratorPaneInstance paneInstance = (ColumnIteratorPaneInstance)
                abstractPaneInstance;

        // Get the attributes.
        ColumnIteratorPaneAttributes attributes = (ColumnIteratorPaneAttributes)
                paneInstance.getAttributes();

        if (logger.isDebugEnabled()) {
            logger.debug("ColumnIteratorFormat.writeOutput() for "
                         + pane.getName());
        }

        // Get the module.
        LayoutModule module = context.getLayoutModule();

        // Write out our pane preamble
        module.writeOpenColumnIteratorPane(attributes);

        Iterator itr =
                paneInstance.getBufferIterator();
        while (itr.hasNext()) {
            Object o = itr.next();
            if (o instanceof OutputBuffer) {
                OutputBuffer contentBuffer = (OutputBuffer) o;
                if (!contentBuffer.isEmpty()) {
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.layouts.ColumnIteratorPaneInstance

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.