pt.digitalis.dif.presentation.views.jsp.taglibs.objects.javascriptgenerators.ext
Class GridJavaScriptExtGenerator

java.lang.Object
  extended by pt.digitalis.dif.presentation.views.jsp.taglibs.objects.javascriptgenerators.ext.GridJavaScriptExtGenerator

public class GridJavaScriptExtGenerator
extends java.lang.Object

Author:
Pedro Viegas pviegas@digitalis.pt
Created on:
28 de Jul de 2011

Field Summary
protected static WebUIJavascriptExtImpl jsGenerador
          the JS generator
 
Constructor Summary
GridJavaScriptExtGenerator()
           
 
Method Summary
protected static void buildRowGroups(java.util.Map<java.lang.String,java.lang.String> rowGroups, GridDefinition grid)
          Parses the column definitions to build the grid row groups.
static java.util.List<IDocumentContribution> getGrid(GridPanelDefinition<GridDefinition> gridPanel)
          Return the implementation of a grid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jsGenerador

protected static final WebUIJavascriptExtImpl jsGenerador
the JS generator

Constructor Detail

GridJavaScriptExtGenerator

public GridJavaScriptExtGenerator()
Method Detail

buildRowGroups

protected static void buildRowGroups(java.util.Map<java.lang.String,java.lang.String> rowGroups,
                                     GridDefinition grid)
Parses the column definitions to build the grid row groups. Will save the result in the given rowGroups map

Parameters:
rowGroups -
grid -

getGrid

public static java.util.List<IDocumentContribution> getGrid(GridPanelDefinition<GridDefinition> gridPanel)
Return the implementation of a grid

Parameters:
gridPanel - the grid definition object
Returns:
the list of contributions


Copyright © 2011 Digitalis Informática Lda. All Rights Reserved.