org.cruxframework.crux.widgets.rebind.deviceadaptivegrid
Class DeviceAdaptiveGridFactory

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator<WidgetCreatorContext>
      extended by org.cruxframework.crux.widgets.rebind.deviceadaptivegrid.DeviceAdaptiveGridFactory

public class DeviceAdaptiveGridFactory
extends WidgetCreator<WidgetCreatorContext>


Nested Class Summary
static class DeviceAdaptiveGridFactory.ActionColumnProcessor
           
static class DeviceAdaptiveGridFactory.DataColumnEditorProcessor
           
static class DeviceAdaptiveGridFactory.DataColumnProcessor
           
static class DeviceAdaptiveGridFactory.DataSourceAttributeParser
           
static class DeviceAdaptiveGridFactory.DeviceAdaptiveColumnProcessor
           
static class DeviceAdaptiveGridFactory.LargeColumnProcessor
           
static class DeviceAdaptiveGridFactory.LargeColumnProcessorChildren
           
static class DeviceAdaptiveGridFactory.SmallColumnProcessor
           
static class DeviceAdaptiveGridFactory.SmallColumnProcessorChildren
           
static class DeviceAdaptiveGridFactory.WidgetColumnProcessor
           
static class DeviceAdaptiveGridFactory.WidgetProcessor
           
 
Nested classes/interfaces inherited from class org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator
WidgetCreator.StyleNameProcessor, WidgetCreator.StyleProcessor, WidgetCreator.ViewPermissionAttributeProcessor
 
Constructor Summary
DeviceAdaptiveGridFactory()
           
 
Method Summary
protected  boolean getAutoLoad(org.json.JSONObject gridElem)
           
protected  int getCellSpacing(org.json.JSONObject gridElem)
           
protected  String getColumnDefinitions(AbstractProxyCreator.SourcePrinter out, WidgetCreatorContext context)
           
protected  String getDataSource(org.json.JSONObject gridElem)
           
protected  String getDetailDialogTitle(org.json.JSONObject gridElem)
           
protected  String getEmptyDataFilling(org.json.JSONObject gridElem)
           
protected  boolean getFreezeHeaders(org.json.JSONObject gridElem)
           
protected  boolean getHighlightRowOnMouseOver(org.json.JSONObject gridElem)
           
protected  int getPageSize(org.json.JSONObject gridElem)
           
protected  String getRowSelectionModel(org.json.JSONObject gridElem)
           
protected  boolean getShowRowDetailsIcon(org.json.JSONObject gridElem)
           
protected  String getSortingColumn(org.json.JSONObject gridElem)
           
protected  String getSortingType(org.json.JSONObject gridElem)
           
protected  boolean getStretchColumns(org.json.JSONObject gridElem)
           
 WidgetCreatorContext instantiateContext()
           
 void instantiateWidget(AbstractProxyCreator.SourcePrinter out, WidgetCreatorContext context)
           
protected  boolean isFixedCellSize(org.json.JSONObject gridElem)
           
 
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

DeviceAdaptiveGridFactory

public DeviceAdaptiveGridFactory()
Method Detail

instantiateWidget

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

getShowRowDetailsIcon

protected boolean getShowRowDetailsIcon(org.json.JSONObject gridElem)

getFreezeHeaders

protected boolean getFreezeHeaders(org.json.JSONObject gridElem)

getSortingType

protected String getSortingType(org.json.JSONObject gridElem)
Parameters:
gridElem -
Returns:

getSortingColumn

protected String getSortingColumn(org.json.JSONObject gridElem)
Parameters:
gridElem -
Returns:

isFixedCellSize

protected boolean isFixedCellSize(org.json.JSONObject gridElem)
Parameters:
gridElem -
Returns:

getEmptyDataFilling

protected String getEmptyDataFilling(org.json.JSONObject gridElem)
Parameters:
gridElem -
Returns:

getDetailDialogTitle

protected String getDetailDialogTitle(org.json.JSONObject gridElem)

getDataSource

protected String getDataSource(org.json.JSONObject gridElem)
Parameters:
gridElem -
Returns:

getHighlightRowOnMouseOver

protected boolean getHighlightRowOnMouseOver(org.json.JSONObject gridElem)
Parameters:
gridElem -
Returns:

getAutoLoad

protected boolean getAutoLoad(org.json.JSONObject gridElem)
Parameters:
gridElem -
Returns:

getStretchColumns

protected boolean getStretchColumns(org.json.JSONObject gridElem)
Parameters:
gridElem -
Returns:

getCellSpacing

protected int getCellSpacing(org.json.JSONObject gridElem)
Parameters:
gridElem -
Returns:

getRowSelectionModel

protected String getRowSelectionModel(org.json.JSONObject gridElem)
Parameters:
gridElem -
Returns:

getPageSize

protected int getPageSize(org.json.JSONObject gridElem)
Parameters:
gridElem -
Returns:

getColumnDefinitions

protected String getColumnDefinitions(AbstractProxyCreator.SourcePrinter out,
                                      WidgetCreatorContext context)
                               throws CruxGeneratorException
Parameters:
out -
gridElem -
Returns:
Throws:
CruxGeneratorException

instantiateContext

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


Copyright © 2014. All rights reserved.