org.cruxframework.crux.gwt.rebind
Class DisclosurePanelFactory

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.DisclosurePanelFactory
All Implemented Interfaces:
HasAnimationFactory<WidgetCreatorContext>, HasCloseHandlersFactory<WidgetCreatorContext>, HasOpenHandlersFactory<WidgetCreatorContext>

public class DisclosurePanelFactory
extends CompositeFactory<WidgetCreatorContext>
implements HasAnimationFactory<WidgetCreatorContext>, HasOpenHandlersFactory<WidgetCreatorContext>, HasCloseHandlersFactory<WidgetCreatorContext>

Factory for DisclosurePanel widgets

Author:
Gesse S. F. Dafe

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

Constructor Detail

DisclosurePanelFactory

public DisclosurePanelFactory()
Method Detail

instantiateWidget

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

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

processChildren

public void processChildren(AbstractProxyCreator.SourcePrinter out,
                            WidgetCreatorContext context)
                     throws CruxGeneratorException
Description copied from class: WidgetCreator
Process element children

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

instantiateContext

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


Copyright © 2014. All rights reserved.