org.cruxframework.crux.gwt.rebind
Class DateLabelFactory

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator<WidgetCreatorContext>
      extended by org.cruxframework.crux.gwt.rebind.DateLabelFactory
All Implemented Interfaces:
HasAutoHorizontalAlignmentFactory<WidgetCreatorContext>, HasDirectionEstimatorFactory<WidgetCreatorContext>, HasHorizontalAlignmentFactory<WidgetCreatorContext>, HasWordWrapFactory<WidgetCreatorContext>

public class DateLabelFactory
extends WidgetCreator<WidgetCreatorContext>
implements HasWordWrapFactory<WidgetCreatorContext>, HasAutoHorizontalAlignmentFactory<WidgetCreatorContext>, HasDirectionEstimatorFactory<WidgetCreatorContext>

A Factory for DateLabel 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
 
Constructor Summary
DateLabelFactory()
           
 
Method Summary
 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

DateLabelFactory

public DateLabelFactory()
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

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


Copyright © 2014. All rights reserved.