org.cruxframework.crux.gwt.rebind
Class TreeFactory

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator<org.cruxframework.crux.gwt.rebind.TreeContext>
      extended by org.cruxframework.crux.gwt.rebind.TreeFactory
All Implemented Interfaces:
HasAllFocusHandlersFactory<org.cruxframework.crux.gwt.rebind.TreeContext>, HasAllKeyHandlersFactory<org.cruxframework.crux.gwt.rebind.TreeContext>, HasAllMouseHandlersFactory<org.cruxframework.crux.gwt.rebind.TreeContext>, HasAnimationFactory<org.cruxframework.crux.gwt.rebind.TreeContext>, HasCloseHandlersFactory<org.cruxframework.crux.gwt.rebind.TreeContext>, HasOpenHandlersFactory<org.cruxframework.crux.gwt.rebind.TreeContext>, HasSelectionHandlersFactory<org.cruxframework.crux.gwt.rebind.TreeContext>

public class TreeFactory
extends WidgetCreator<org.cruxframework.crux.gwt.rebind.TreeContext>
implements HasAnimationFactory<org.cruxframework.crux.gwt.rebind.TreeContext>, HasAllFocusHandlersFactory<org.cruxframework.crux.gwt.rebind.TreeContext>, HasOpenHandlersFactory<org.cruxframework.crux.gwt.rebind.TreeContext>, HasCloseHandlersFactory<org.cruxframework.crux.gwt.rebind.TreeContext>, HasAllMouseHandlersFactory<org.cruxframework.crux.gwt.rebind.TreeContext>, HasAllKeyHandlersFactory<org.cruxframework.crux.gwt.rebind.TreeContext>, HasSelectionHandlersFactory<org.cruxframework.crux.gwt.rebind.TreeContext>

A factory for Tree widgets

Author:
Thiago da Rosa de Bustamante

Nested Class Summary
static class TreeFactory.OpenSelectedItemAttributeParser
           
static class TreeFactory.TextCaptionProcessor
           
static class TreeFactory.TreeCaptionProcessor
           
static class TreeFactory.TreeItemProcessor
           
static class TreeFactory.WidgetCaptionProcessor
           
static class TreeFactory.WidgetCaptionWidgetProcessor
           
 
Nested classes/interfaces inherited from class org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator
WidgetCreator.StyleNameProcessor, WidgetCreator.StyleProcessor, WidgetCreator.ViewPermissionAttributeProcessor
 
Constructor Summary
TreeFactory()
           
 
Method Summary
 org.cruxframework.crux.gwt.rebind.TreeContext instantiateContext()
           
 void instantiateWidget(AbstractProxyCreator.SourcePrinter out, org.cruxframework.crux.gwt.rebind.TreeContext context)
           
 void processAttributes(AbstractProxyCreator.SourcePrinter out, org.cruxframework.crux.gwt.rebind.TreeContext 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

TreeFactory

public TreeFactory()
Method Detail

instantiateWidget

public void instantiateWidget(AbstractProxyCreator.SourcePrinter out,
                              org.cruxframework.crux.gwt.rebind.TreeContext context)
                       throws CruxGeneratorException
Overrides:
instantiateWidget in class WidgetCreator<org.cruxframework.crux.gwt.rebind.TreeContext>
Throws:
CruxGeneratorException

processAttributes

public void processAttributes(AbstractProxyCreator.SourcePrinter out,
                              org.cruxframework.crux.gwt.rebind.TreeContext context)
                       throws CruxGeneratorException
Description copied from class: WidgetCreator
Process widget attributes

Overrides:
processAttributes in class WidgetCreator<org.cruxframework.crux.gwt.rebind.TreeContext>
Throws:
CruxGeneratorException

instantiateContext

public org.cruxframework.crux.gwt.rebind.TreeContext instantiateContext()
Specified by:
instantiateContext in class WidgetCreator<org.cruxframework.crux.gwt.rebind.TreeContext>
Returns:


Copyright © 2014. All rights reserved.