org.cruxframework.crux.gwt.rebind
Class CanvasFactory

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator<C>
      extended by org.cruxframework.crux.gwt.rebind.FocusWidgetFactory<WidgetCreatorContext>
          extended by org.cruxframework.crux.gwt.rebind.CanvasFactory
All Implemented Interfaces:
FocusableFactory<WidgetCreatorContext>, HasAllFocusHandlersFactory<WidgetCreatorContext>, HasAllKeyHandlersFactory<WidgetCreatorContext>, HasAllMouseHandlersFactory<WidgetCreatorContext>, HasAllTouchHandlersFactory<WidgetCreatorContext>, HasEnabledFactory<WidgetCreatorContext>

public class CanvasFactory
extends FocusWidgetFactory<WidgetCreatorContext>

Factory for Canvas Widgets

Author:
Thiago da Rosa de Bustamante

Nested Class Summary
 
Nested classes/interfaces inherited from class org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator
WidgetCreator.StyleNameProcessor, WidgetCreator.StyleProcessor, WidgetCreator.ViewPermissionAttributeProcessor
 
Nested classes/interfaces inherited from interface org.cruxframework.crux.core.rebind.screen.widget.creator.HasEnabledFactory
HasEnabledFactory.EditPermissionAttributeProcessor
 
Constructor Summary
CanvasFactory()
           
 
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

CanvasFactory

public CanvasFactory()
Method Detail

instantiateContext

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

instantiateWidget

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


Copyright © 2014. All rights reserved.