org.cruxframework.crux.gwt.rebind
Class MenuBarFactory

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator<org.cruxframework.crux.gwt.rebind.MenuBarContext>
      extended by org.cruxframework.crux.gwt.rebind.MenuBarFactory
All Implemented Interfaces:
HasAnimationFactory<org.cruxframework.crux.gwt.rebind.MenuBarContext>, HasCloseHandlersFactory<org.cruxframework.crux.gwt.rebind.MenuBarContext>

public class MenuBarFactory
extends WidgetCreator<org.cruxframework.crux.gwt.rebind.MenuBarContext>
implements HasAnimationFactory<org.cruxframework.crux.gwt.rebind.MenuBarContext>, HasCloseHandlersFactory<org.cruxframework.crux.gwt.rebind.MenuBarContext>

A Factory for MenuBar widgets

Author:
Thiago da Rosa de Bustamante

Nested Class Summary
static class MenuBarFactory.CaptionProcessor
           
static class MenuBarFactory.CaptionTypeProcessor
           
static class MenuBarFactory.CommandProcessor
           
static class MenuBarFactory.HtmlCaptionProcessor
           
static class MenuBarFactory.MenuChildrenProcessor
           
static class MenuBarFactory.MenuChildrenTypeProcessor
           
static class MenuBarFactory.MenutItemProcessor
           
static class MenuBarFactory.MenutItemSeparatorProcessor
           
static class MenuBarFactory.MenutItemsProcessor
           
static class MenuBarFactory.SubMenuProcessor
           
static class MenuBarFactory.TextCaptionProcessor
           
 
Nested classes/interfaces inherited from class org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator
WidgetCreator.StyleNameProcessor, WidgetCreator.StyleProcessor, WidgetCreator.ViewPermissionAttributeProcessor
 
Constructor Summary
MenuBarFactory()
           
 
Method Summary
protected static String createMenuItem(AbstractProxyCreator.SourcePrinter out, org.cruxframework.crux.gwt.rebind.MenuBarContext context)
           
protected static String getSubMenu(WidgetCreator<?> widgetCreator, AbstractProxyCreator.SourcePrinter out, org.cruxframework.crux.gwt.rebind.MenuBarContext context)
          Creates a subMenu
 org.cruxframework.crux.gwt.rebind.MenuBarContext instantiateContext()
           
 void instantiateWidget(AbstractProxyCreator.SourcePrinter out, org.cruxframework.crux.gwt.rebind.MenuBarContext 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

MenuBarFactory

public MenuBarFactory()
Method Detail

instantiateWidget

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

getSubMenu

protected static String getSubMenu(WidgetCreator<?> widgetCreator,
                                   AbstractProxyCreator.SourcePrinter out,
                                   org.cruxframework.crux.gwt.rebind.MenuBarContext context)
                            throws CruxGeneratorException
Creates a subMenu

Parameters:
widgetCreator -
element -
Returns:
Throws:
CruxGeneratorException

createMenuItem

protected static String createMenuItem(AbstractProxyCreator.SourcePrinter out,
                                       org.cruxframework.crux.gwt.rebind.MenuBarContext context)
Parameters:
context -
Returns:

instantiateContext

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


Copyright © 2014. All rights reserved.