org.cruxframework.crux.gwt.rebind
Class DateBoxFactory

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator<C>
      extended by org.cruxframework.crux.gwt.rebind.CompositeFactory<WidgetCreatorContext>
          extended by org.cruxframework.crux.gwt.rebind.DateBoxFactory
All Implemented Interfaces:
HasBindPathFactory<WidgetCreatorContext>, HasValueChangeHandlersFactory<WidgetCreatorContext>, HasValueFactory<WidgetCreatorContext>

public class DateBoxFactory
extends CompositeFactory<WidgetCreatorContext>
implements HasValueChangeHandlersFactory<WidgetCreatorContext>

Factory for TabPanel widgets

Author:
Thiago da Rosa de Bustamante

Nested Class Summary
static class DateBoxFactory.DateBoxProcessor
           
 
Nested classes/interfaces inherited from class org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator
WidgetCreator.StyleNameProcessor, WidgetCreator.StyleProcessor, WidgetCreator.ViewPermissionAttributeProcessor
 
Constructor Summary
DateBoxFactory()
           
 
Method Summary
 String getFormat(AbstractProxyCreator.SourcePrinter out, JSONObject element, String widgetId)
           
 WidgetCreatorContext instantiateContext()
           
 void instantiateWidget(AbstractProxyCreator.SourcePrinter out, WidgetCreatorContext context)
           
 void processAttributes(AbstractProxyCreator.SourcePrinter out, WidgetCreatorContext context)
          Process widget attributes
 
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, processChildren, processEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateBoxFactory

public DateBoxFactory()
Method Detail

processAttributes

public void processAttributes(AbstractProxyCreator.SourcePrinter out,
                              WidgetCreatorContext context)
                       throws CruxGeneratorException
Description copied from class: WidgetCreator
Process widget attributes

Overrides:
processAttributes in class WidgetCreator<WidgetCreatorContext>
Throws:
CruxGeneratorException

instantiateWidget

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

getFormat

public String getFormat(AbstractProxyCreator.SourcePrinter out,
                        JSONObject element,
                        String widgetId)
Parameters:
element -
widgetId -
Returns:

instantiateContext

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


Copyright © 2014. All rights reserved.