org.cruxframework.crux.widgets.rebind.deviceadaptivegrid
Class DeviceAdaptiveGridFactory
java.lang.Object
org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator<WidgetCreatorContext>
org.cruxframework.crux.widgets.rebind.deviceadaptivegrid.DeviceAdaptiveGridFactory
public class DeviceAdaptiveGridFactory
- extends WidgetCreator<WidgetCreatorContext>
| 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 |
DeviceAdaptiveGridFactory
public DeviceAdaptiveGridFactory()
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.