Package com.volantis.mcs.protocols.widgets.renderers

Examples of com.volantis.mcs.protocols.widgets.renderers.TickerTapeDefaultRenderer


           
        // If the content of the template was not empty, use it.
        // Otherwise don't use empty template but render as if there
        // was no template (icon and title by default).
        if (hasTemplate) {
            TickerTapeDefaultRenderer tickerTapeRenderer = (TickerTapeDefaultRenderer)
                 getWidgetDefaultModule(protocol).getWidgetRenderer(TickerTapeAttributes.class);
           
            tickerTapeRenderer.setItemTemplateId(attributes.getId());
   
            CarouselDefaultRenderer carouselRenderer = (CarouselDefaultRenderer)
                getWidgetDefaultModule(protocol).getWidgetRenderer(CarouselAttributes.class);
      
            carouselRenderer.setItemTemplateId(attributes.getId());
View Full Code Here


            propertyNamesMap.put(id, name);
        }
    }
   
    protected void renderTemplateOutputBuffer(VolantisProtocol protocol, OutputBuffer buffer) throws ProtocolException {
        TickerTapeDefaultRenderer tickerTapeRenderer = (TickerTapeDefaultRenderer)
            getWidgetDefaultModule(protocol).getWidgetRenderer(TickerTapeAttributes.class);
  
        tickerTapeRenderer.setItemTemplateOutputBuffer(buffer);

        CarouselDefaultRenderer carouselRenderer = (CarouselDefaultRenderer)
            getWidgetDefaultModule(protocol).getWidgetRenderer(CarouselAttributes.class);

        carouselRenderer.setItemTemplateOutputBuffer(buffer);
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.widgets.renderers.TickerTapeDefaultRenderer

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.