org.cruxframework.crux.gwt.rebind
Class RichTextAreaFactory

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator<C>
      extended by org.cruxframework.crux.gwt.rebind.FocusWidgetFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>
          extended by org.cruxframework.crux.gwt.rebind.RichTextAreaFactory
All Implemented Interfaces:
FocusableFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>, HasAllFocusHandlersFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>, HasAllKeyHandlersFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>, HasAllMouseHandlersFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>, HasAllTouchHandlersFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>, HasBindPathFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>, HasEnabledFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>, HasHTMLFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>, HasInitializeHandlersFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>, HasTextFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>

public class RichTextAreaFactory
extends FocusWidgetFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>
implements HasHTMLFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>, HasInitializeHandlersFactory<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>

Represents a rich text area component

Author:
Thiago Bustamante

Nested Class Summary
static class RichTextAreaFactory.ContentProcessor
           
 
Nested classes/interfaces inherited from class org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator
WidgetCreator.StyleNameProcessor, WidgetCreator.StyleProcessor, WidgetCreator.ViewPermissionAttributeProcessor
 
Nested classes/interfaces inherited from interface org.cruxframework.crux.core.rebind.screen.widget.creator.HasEnabledFactory
HasEnabledFactory.EditPermissionAttributeProcessor
 
Constructor Summary
RichTextAreaFactory()
           
 
Method Summary
 org.cruxframework.crux.gwt.rebind.RichTextAreaContext instantiateContext()
           
 void postProcess(AbstractProxyCreator.SourcePrinter out, org.cruxframework.crux.gwt.rebind.RichTextAreaContext context)
          Process element children
protected  void printFormatterOptions(org.cruxframework.crux.gwt.rebind.RichTextAreaContext context)
          Render basic formatter options
 void processAttributes(AbstractProxyCreator.SourcePrinter out, org.cruxframework.crux.gwt.rebind.RichTextAreaContext context)
          Process widget attributes
protected  FastMap<String> readDeclaredProperties(WidgetCreatorContext context)
          Reads all declared properties in the component span tag.
 
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, instantiateWidget, isCurrentDeviceSupported, isHtmlChild, isResourceReference, isTextChild, isWidget, printlnPostProcessing, processChildren, processEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RichTextAreaFactory

public RichTextAreaFactory()
Method Detail

processAttributes

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

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

postProcess

public void postProcess(AbstractProxyCreator.SourcePrinter out,
                        org.cruxframework.crux.gwt.rebind.RichTextAreaContext context)
                 throws CruxGeneratorException
Description copied from class: WidgetCreator
Process element children

Overrides:
postProcess in class WidgetCreator<org.cruxframework.crux.gwt.rebind.RichTextAreaContext>
Throws:
CruxGeneratorException

readDeclaredProperties

protected FastMap<String> readDeclaredProperties(WidgetCreatorContext context)
Reads all declared properties in the component span tag. These properties will be used to initialise the basic formatter. It will be done by method initBasicFormatterOptions

Parameters:
element -

printFormatterOptions

protected void printFormatterOptions(org.cruxframework.crux.gwt.rebind.RichTextAreaContext context)
Render basic formatter options


instantiateContext

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


Copyright © 2014. All rights reserved.