org.cruxframework.crux.core.rebind.screen.widget
Class ViewWidgetConsumer

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.screen.widget.AbstractDataWidgetConsumer
      extended by org.cruxframework.crux.core.rebind.screen.widget.ViewWidgetConsumer
All Implemented Interfaces:
ViewFactoryCreator.LazyCompatibleWidgetConsumer, ViewFactoryCreator.WidgetConsumer

public class ViewWidgetConsumer
extends AbstractDataWidgetConsumer
implements ViewFactoryCreator.LazyCompatibleWidgetConsumer

Author:
Thiago da Rosa de Bustamante

Field Summary
 
Fields inherited from interface org.cruxframework.crux.core.rebind.screen.widget.ViewFactoryCreator.WidgetConsumer
EMPTY_WIDGET_CONSUMER
 
Constructor Summary
ViewWidgetConsumer(ViewFactoryCreator viewFactoryCreator)
           
 
Method Summary
 void consume(AbstractProxyCreator.SourcePrinter out, String widgetId, String widgetVariableName, String widgetType, JSONObject metaElem)
           
 void handleLazyWholeWidgetCreation(AbstractProxyCreator.SourcePrinter out, String widgetId)
           
 void handleLazyWrapChildrenCreation(AbstractProxyCreator.SourcePrinter out, String widgetId)
           
 
Methods inherited from class org.cruxframework.crux.core.rebind.screen.widget.AbstractDataWidgetConsumer
generateCopyFromCode, generateCopyToCode, getConverterType, getEmptyValueExpression, getNullSafeExpression, validateConverter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewWidgetConsumer

public ViewWidgetConsumer(ViewFactoryCreator viewFactoryCreator)
Method Detail

consume

public void consume(AbstractProxyCreator.SourcePrinter out,
                    String widgetId,
                    String widgetVariableName,
                    String widgetType,
                    JSONObject metaElem)
Specified by:
consume in interface ViewFactoryCreator.WidgetConsumer

handleLazyWholeWidgetCreation

public void handleLazyWholeWidgetCreation(AbstractProxyCreator.SourcePrinter out,
                                          String widgetId)
Specified by:
handleLazyWholeWidgetCreation in interface ViewFactoryCreator.LazyCompatibleWidgetConsumer

handleLazyWrapChildrenCreation

public void handleLazyWrapChildrenCreation(AbstractProxyCreator.SourcePrinter out,
                                           String widgetId)
Specified by:
handleLazyWrapChildrenCreation in interface ViewFactoryCreator.LazyCompatibleWidgetConsumer


Copyright © 2014. All rights reserved.