Class RendererVisitor


  • public class RendererVisitor
    extends TypeVisitor
    Generates type data for renderer connectors.
    • Stores the return type of the overridden getRenderer method to enable automatic creation of an instance of the proper renderer type.
    • Stores the presentation type of the connector to enable the decode method to work without having to implement a "getPresentationType" method.
    Since:
    7.4
    Author:
    Vaadin Ltd
    See Also:
    WidgetInitVisitor
    • Constructor Detail

      • RendererVisitor

        public RendererVisitor()
    • Method Detail

      • visitConnector

        public void visitConnector​(com.google.gwt.core.ext.TreeLogger logger,
                                   com.google.gwt.core.ext.typeinfo.JClassType type,
                                   ConnectorBundle bundle)
                            throws com.google.gwt.core.ext.UnableToCompleteException
        Overrides:
        visitConnector in class TypeVisitor
        Throws:
        com.google.gwt.core.ext.UnableToCompleteException