org.cruxframework.crux.gwt.rebind
Class LazyPanelFactory

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator<C>
      extended by org.cruxframework.crux.gwt.rebind.PanelFactory<WidgetCreatorContext>
          extended by org.cruxframework.crux.gwt.rebind.LazyPanelFactory
All Implemented Interfaces:
WidgetContainer

public class LazyPanelFactory
extends PanelFactory<WidgetCreatorContext>

A Panel which content is only rendered when it becomes visible for the first time.

Author:
Thiago da Rosa de Bustamante

Nested Class Summary
static class LazyPanelFactory.WidgetContentProcessor
           
 
Nested classes/interfaces inherited from class org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator
WidgetCreator.StyleNameProcessor, WidgetCreator.StyleProcessor, WidgetCreator.ViewPermissionAttributeProcessor
 
Constructor Summary
LazyPanelFactory()
           
 
Method Summary
 WidgetCreatorContext instantiateContext()
           
 void instantiateWidget(AbstractProxyCreator.SourcePrinter out, WidgetCreatorContext context)
           
 
Methods inherited from class org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator
commitPostProcessing, createChildWidget, createChildWidget, createChildWidget, createContext, createPostProcessingScope, createVariableName, createWidget, ensureChildren, ensureFirstChild, ensureHtmlChild, ensureTextChild, ensureWidget, getChildName, getChildWidgetClass, getChildWidgetClassName, getContext, getControllerAccessorHandler, getDeclaredMessage, getDeclaredMessages, getDevice, getLogger, getLoggerVariable, getResourceAccessExpression, getSubTypeWriter, getSubTypeWriter, getSubTypeWriter, getView, getViewVariable, getWidgetClass, getWidgetClass, getWidgetClassName, getWidgetFactoryDeclaration, hasChildPartialSupport, hasHeight, hasPartialSupport, hasWidth, isCurrentDeviceSupported, isHtmlChild, isResourceReference, isTextChild, isWidget, postProcess, printlnPostProcessing, processAttributes, processChildren, processEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyPanelFactory

public LazyPanelFactory()
Method Detail

instantiateWidget

public void instantiateWidget(AbstractProxyCreator.SourcePrinter out,
                              WidgetCreatorContext context)
                       throws CruxGeneratorException
Overrides:
instantiateWidget in class WidgetCreator<WidgetCreatorContext>
Throws:
CruxGeneratorException

instantiateContext

public WidgetCreatorContext instantiateContext()
Specified by:
instantiateContext in class WidgetCreator<WidgetCreatorContext>
Returns:


Copyright © 2014. All rights reserved.